Update modules/globebrowsing/shaders/rings_geom_fs.glsl

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
This commit is contained in:
Benjamin Mastripolito
2025-05-19 22:31:29 -06:00
committed by GitHub
parent c8243d75c1
commit 300e1089a4

View File

@@ -41,7 +41,7 @@ Fragment getFragment() {
float radius = length(st);
// Discard if normal is perpendicular to the camera direction
if (abs(dot(normalize(vs_normal), vec3(0.0, 0.0, 1.0))) <= 1.0e-3) {
if (abs(dot(normalize(vs_normal), vec3(0.0, 0.0, 1.0))) <= 0.01) {
discard;
}