Try to set glScissor more sensibly

Not sure what this should be yet though
This commit is contained in:
2025-11-29 15:28:51 +00:00
parent 974f3e96c9
commit 6ebf3f4ef7
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -10,6 +10,7 @@ void main() {
vec3 pos = texture(screenTexture, vTexPos).xyz;
vec3 distVec = pos - lightPos.xyz;
float dist = dot(distVec, distVec);
// float dist = dot(distVec.xy, distVec.xy);
// if (dist > rad) {
// discard;
// }