stk-code_catmod/data/shaders/white.frag
Vincent Lejeune 934d1f10b8 Shadow: Use Geometry Shader for better perfs.
The 3 cascades are now rendered in a single pass, using 2D array texture and
a GS to do the dispatch ("layered rendering").
It's possible to use instancing instead but it requires the AMD_vertex_shader_layer
extension which is oddly part of opengl 4.2.
2014-02-11 21:07:44 +01:00

7 lines
73 B
GLSL

#version 330
out vec4 FragColor;
void main()
{
FragColor = vec4(1.0);
}