| Author: |
|
| Dated: |
Monday, August 15 2005 @ 05:50 PM NZST |
| Viewed: |
208 times |
|
Well, I considered explaining a. what I've been doing this whole time, b. why I'm not working on my 4e4 entry, and c. what I am going to be doing. But I can't afford to be sued when people die of boredom, so I figured I'd talk about something else.
I downloaded the opengl shader designer and made my first glsl shader. It just happens to be a parallax mapping shader.
image
As you can see, it works quite well. Gets artifacts on extreme angles, but hey, don't they all? My particular implementation traces through the height map, currently in 10 steps. Then, to avoid obvious stepping, it guesses the intersection point based on the height differences between the ray and the map before and after intersection. Lets just not talk about performance. Although some cards are probably an order of magnitude or more faster than mine (fx 5200) by now, they might be able to run it ok.
|
Trackback URL for this entry: http://razorcode.net/trackback.php/2005081423504030
No trackback comments for this entry.
|