Parallax Occlusion Shader (GLSL)
May 28th, 2008

I wrote a parallax occlusion Shader in Rendermonkey. Unfortunately due to the fact that the devartives in flow control elements are undefined, the ARB_texture_lod extension would be neccesarry forĀ this shader in glsl with shadermodel 3.0. Until this extension is released EXT_gpu_shader4 has to be used as replacement. So this shader only runs on gForce 8+ cards. Ati doesn't support that extension yet.
Needed Extensions:
- EXT_gpu_shader4
Download:




Hi man!
I’ve a question about your shader. Where did you find the way to calculate the mipmap level? Can you link me some site where can I find the theory behind this calculations?
Thank you!
Comment by Soth — December 29, 2009 @ 6:31 pm
[…] Tool, open … Here is a really cool presentation on using OpenGL to create 3d on the iPhone. …Ingrater’s 3D Blog Parallax Occlusion Shader (GLSL)Ingrater’s 3D Blog. Parallax Occlusion Shader (GLSL) May 28th, 2008. Filed under: RenderMonkey […]
Pingback by 3d opengl — March 6, 2010 @ 4:54 pm