Vertex pull fullscreen lighting texture shader

This commit is contained in:
2025-11-13 10:28:34 +00:00
parent b012d3c41e
commit 8dee93991a
6 changed files with 28 additions and 21 deletions
-2
View File
@@ -4,8 +4,6 @@ layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
layout (std140, binding = 1) uniform TheLight { vec4 lightPos; vec4 lumRad; };
layout (std430, binding = 3) readonly buffer Data { PosColNorm data[]; };
layout (std430, binding = 4) readonly buffer Indices { uint indices[]; };
//layout(location=0)uniform vec3 lightPos;
//layout(location=1)uniform vec4 lumRad;
vec4 projNear (vec4 pos)
{
// note we project to a specific height