mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-24 05:49:17 -06:00
Issue/871 (#874)
* Fixed wrong merging. * Add flat qualifiers to both geometry and fragment shaders
This commit is contained in:
committed by
Emil Axelsson
parent
1c0b892771
commit
916cc1d76d
@@ -36,12 +36,13 @@ in vec4 vs_gPosition[];
|
||||
in float vs_speed[];
|
||||
|
||||
out vec4 vs_position;
|
||||
out vec4 ge_bvLumAbsMagAppMag;
|
||||
out vec3 ge_velocity;
|
||||
out float ge_speed;
|
||||
out vec2 psfCoords;
|
||||
out float ge_observationDistance;
|
||||
out float gs_screenSpaceDepth;
|
||||
|
||||
flat out vec4 ge_bvLumAbsMagAppMag;
|
||||
flat out vec3 ge_velocity;
|
||||
flat out float ge_speed;
|
||||
flat out float ge_observationDistance;
|
||||
flat out float gs_screenSpaceDepth;
|
||||
|
||||
uniform float magnitudeExponent;
|
||||
uniform dvec3 eyePosition;
|
||||
|
||||
@@ -34,19 +34,6 @@ in float in_speed;
|
||||
out vec4 vs_bvLumAbsMagAppMag;
|
||||
out vec3 vs_velocity;
|
||||
out float vs_speed;
|
||||
out vec4 vs_correctedPositionViewSpace;
|
||||
|
||||
out vec4 psc_position;
|
||||
out vec3 vs_brightness;
|
||||
out vec4 vs_gPosition;
|
||||
|
||||
/*
|
||||
uniform mat4 view;
|
||||
uniform mat4 projection;
|
||||
|
||||
uniform float FWHM;
|
||||
uniform float betaConstant;
|
||||
*/
|
||||
|
||||
void main() {
|
||||
vs_bvLumAbsMagAppMag = in_bvLumAbsMagAppMag;
|
||||
|
||||
Reference in New Issue
Block a user