#version 430 core //in vec4 sunSpacePos; //void calculateShadow() { // vec3 sunSpacePosNormalized = 0.5 * vec3(sunSpacePos) + 0.5; //} void main() { //hell // calculateShadow(); }