Skip to content

Commit 969caf8

Browse files
committed
Make color of the Moon closer to reality
1 parent 91fbe9d commit 969caf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/shaders/planet.frag

+1
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ void main()
425425
// maximum at 1.0 instead of 0.4.
426426
texColor.rgb = vec3(0.4) + 0.6 * texColor.rgb;
427427
texColor.rgb = pow(texColor.rgb, vec3(2.8));
428+
texColor.rgb *= vec3(1., 0.79, 0.57);
428429
#else
429430
texColor.rgb = srgbToLinear(texColor.rgb);
430431
#endif

0 commit comments

Comments
 (0)