mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-10 23:38:38 -05:00
Added initial position (far away) in the g-Buffer position. (#1360)
* Added initial position (far away) in the g-Buffer position. * Fixed bug with Sun's star and atmosphere.
This commit is contained in:
@@ -101,7 +101,7 @@ Fragment getFragment() {
|
||||
vec4 fullColor = vec4(color.rgb, textureColor.a);
|
||||
fullColor.a *= alphaValue;
|
||||
|
||||
if (fullColor.a == 0) {
|
||||
if (fullColor.a < 0.001) {
|
||||
discard;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user