Reflection And Refraction
Reflection And Refraction
This is another very impressive example of what the vertex shader is able to do, created with a vertex program that is 27 instructions long. We know the cube environment mapping technique that is required for realistic reflections since DirectX6 and GeForce256. The vertex shader is able to combine this effect with a refraction effect, as you can see in the example.

You can see that the glass sphere is reflective as well as having a refraction effect on the area behind hind.
Layered Fog
We have learned that each vertex is able to carry 'fog data' and thus it is not hard to imagine that the vertex shader can influence this data, meaning it can add fog of different intensity to different vertices. The layered fog in our example uses the distance that a vertex has to the floor to determine the intensity of the fog. The vertex program checks the distance to the ground and applies the according fog value to the vertex. Sounds pretty simple, doesn't it?

The only question is why there is fog in this room. The windows seem to be open. Maybe the NVIDIA engineer that created this demo was inspired by a colleague that suffers from heavy flatulence.
- Previous page Setup For Dot Product Bump Mapping...
- Next page More Effects
- Socket 5: Tuning Old PC Systems
- DDR For Pentium III - VIA's Apollo Pro 266 Chipset
- Late Vintage: High Degree of Maturity of the KT133
- Do-It-Yourself PC System: CPU & Motherboard
- SiS Back On Stage: The SiS730 Chipset for Duron and Athlon
- The Three Musketeers: Athlon Platforms For 133 MHz FSB
- Tom's Blurb: Pre-Christmas Blurb
- Head Two Head: Matrox Millennium G450
- Tom's Blurb: Pentium 4 - Another Recount?
- Tom's Favorite Gadget - The Nomad Jukebox from Creative
- cell phone radiation
- Sharing Cellphone Internet Access with 2 Laptops
- The iPhone, Many Hits, Few Misses
- Comparison of Nokia N-series phones: N95, N93, N73
- The Year in Review: The Good, The Bad and the Ugly
- Guild Wars 2: In-House FAQ
- Movie Review - The X-Files: I Want to Believe
- Encode M4V to DivX video, Encode WMV to iPod video
- Wanted Movie Review
- Movie Review: Indiana Jones 4