14.12.2012 Views

Direct3D HLSL Programming using RenderMonkey IDE

Direct3D HLSL Programming using RenderMonkey IDE

Direct3D HLSL Programming using RenderMonkey IDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Translucent Iridescent<br />

Shader Algorithm: Basic Steps<br />

1. Compute light, view and halfway vectors in tangent<br />

space<br />

2. Load base texture map, gloss map, opacity map and<br />

normal map<br />

3. Compute diffusely reflected light<br />

4. Compute scattered illumination contribution<br />

5. Adjust for transparency of wings<br />

6. Compute iridescence contribution<br />

7. Add gloss highlights<br />

8. Assemble final color<br />

Game Developer Conference, San Jose, CA, March 7 th 2003

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!