mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 21:18:32 -05:00
Parameter tuning for RenderableStars
This commit is contained in:
@@ -73,7 +73,7 @@ void main() {
|
||||
|
||||
// These can be removed once we get a better star psf texture ---abock
|
||||
vec4 textureColor = texture(psfTexture, texCoord);
|
||||
textureColor.a = (textureColor.a - 0.25) / (0.75);
|
||||
textureColor.a = (textureColor.a - 0.25) / (0.85);
|
||||
|
||||
vec4 fullColor = textureColor * color;
|
||||
if (fullColor.a <= 0.125)
|
||||
|
||||
@@ -68,7 +68,7 @@ void main() {
|
||||
float M = vs_brightness[0].z;
|
||||
|
||||
M = clamp(M, 1.0, 5.0);
|
||||
float modifiedSpriteSize = exp((-18 - M) * 0.871) * 200000 ;
|
||||
float modifiedSpriteSize = exp((-5 - M) * 0.871);
|
||||
|
||||
for(int i = 0; i < 4; i++){
|
||||
vec4 p1 = gl_in[0].gl_Position;
|
||||
|
||||
Reference in New Issue
Block a user