Try to improve instancing shadows
This commit is contained in:
@@ -10,7 +10,7 @@ layout (std140, binding = 1) uniform LightsBlock
|
||||
} ;
|
||||
vec3 lightPos = posBool[gl_InvocationID].xyz ;
|
||||
float theBool = posBool[gl_InvocationID].w;
|
||||
// this code is duplicated in lineShadow.geom, should not be changed on its own
|
||||
// this code is duplicated in shadow/edge.geom, should not be changed on its own
|
||||
vec4 projNear (vec4 pos)
|
||||
{
|
||||
// note we project to a specific height
|
||||
|
||||
Reference in New Issue
Block a user