Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating it for each fragment. Remove if (fogDistance != 0.0). |
||
|---|---|---|
| .. | ||
| opengl_fragment.glsl | ||
| opengl_vertex.glsl | ||
Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating it for each fragment. Remove if (fogDistance != 0.0). |
||
|---|---|---|
| .. | ||
| opengl_fragment.glsl | ||
| opengl_vertex.glsl | ||