Hi,
I can't get multiple UV layers work with glsl shaders. I can only get access to first layer and it works fine. But if I want to multiple lightmap with diffuse layer it don't work.
I thought that instead of using gl_TexCoord[0].xy I should call gl_TexCoord[1].xy but then I have white object.
When I don't use glsl shader, GE renders diffusemap + lightmap correctly with different UV layers. But I need normalmapping and everything works fine but lightmap with second UV layer.
How to use multiple UV layers with glsl shaders in GE?
Moderators: jesterKing, stiv
Hello
have you read the "light map" tutorial?
http://www.continuousphysics.com/lightm ... orial.html
Bye
have you read the "light map" tutorial?
http://www.continuousphysics.com/lightm ... orial.html
Bye