mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Update modules/globebrowsing/shaders/rings_geom_fs.glsl
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
This commit is contained in:
committed by
GitHub
parent
c8243d75c1
commit
300e1089a4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user