Commit before attempting to use volume shadows for walls

This commit is contained in:
2021-03-18 18:41:16 +01:00
parent 5ea831203a
commit 7324ed5eee
3 changed files with 89 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#version 430 core
in vec2 vDistField;
in float vLum;
out vec4 fColor;
void main()
{
float l = dot(vDistField,vDistField);
fColor = vec4 (pow(1 - l,2),0,0,1);
}