omg yes. tell us how to do et
putCode: [Select]worldPos.z -= pow(viewDelta.w*0.02, 2.5);just beforeCode: [Select]gl_Position = gl_ProjectionMatrix * world2Cam * vec4(worldPos, 1.0f);in minimum_vert.glsl and/or renderCsm_vert.glslchange the '-' into a '+' to invert the effect. change the exponent (in this case 2.5) to increase or decrease the curvature. 1.5 to 2.5 is good. I did say it was simple :p
worldPos.z -= pow(viewDelta.w*0.02, 2.5);
gl_Position = gl_ProjectionMatrix * world2Cam * vec4(worldPos, 1.0f);