Solara-Shaders/shaders/lib/vertex/worldCurvature.glsl
2024-06-22 15:15:55 -04:00

3 lines
83 B
GLSL

float WorldCurvature(vec2 pos) {
return dot(pos, pos) / WORLD_CURVATURE_SIZE;
}