mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-02 01:30:34 -06:00
Use the w component of the position as the depth value in the datasphere
This commit is contained in:
@@ -39,7 +39,7 @@ in vec4 vs_position;
|
||||
|
||||
Fragment getFragment() {
|
||||
vec4 position = vs_position;
|
||||
float depth = pscDepth(position);
|
||||
float depth = vs_position.w;
|
||||
vec4 transparent = vec4(0.0f);
|
||||
vec4 diffuse = transparent;
|
||||
float v = 0;
|
||||
|
||||
Reference in New Issue
Block a user