14 years, 6 months ago
Highlights
14 years, 6 months ago
14 years, 6 months ago
Hello everybody, I have a huge problem that I can't fix alone. I've tested a normal mapping shader with shader designer and here is everything working. But I have proble…
14 years, 6 months ago
I've used: gl_FragColor=vec4(vec3(col.xyz)*0.5+0.7,1.0); where col is gl_Vertex form the vertex shader and the cube is colored. But if I use the normal from the normal map,…
14 years, 6 months ago
the problem is that if I try to apply the normal mapping shader to a cube I see a black cube... but the light has a totaly different color. The problem dipends on everything tha…
14 years, 6 months ago
Latest Activity
See all in DiscussionsI've used: gl_FragColor=vec4(vec3(col.xyz)*0.5+0.7,1.0); where col is gl_Vertex form the vertex shader and the cube is colored. But if I use …
14 years, 6 months ago
the problem is that if I try to apply the normal mapping shader to a cube I see a black …
14 years, 6 months ago
I forgot the shader source code... normal mapping vertex shader #version 110 attribute vec3 tangent; attribute vec3 binormal; varying vec3 …
14 years, 6 months ago