ematchefts / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Parallax mapping not working on macs #438

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Parallax mapping isn't working on a mac since the required GLSL function 
texture2DLod is not available there.

In the material viewer/creator you get a warning message and the preview window 
is not working after one has tried to add a parallax map.

The required extension on mac would be:
GL_ARB_shader_texture_lod

Original issue reported on code.google.com by hannes.n...@me.com on 22 Nov 2011 at 2:38

GoogleCodeExporter commented 9 years ago
This is a known issue and in fact texture2DLod call is imported wrongly from 
the parallax.glsllib into the frag file, where it cannot be used by the GLSL 
spec, even though some OpenGL implementations will allow it. Assigned to the 
shader gurus ;)

Original comment by normen667 on 23 Nov 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Issue 473 has been merged into this issue.

Original comment by ShadowIs...@gmail.com on 29 May 2012 at 2:47