Skip to content

Commit

Permalink
Make color of the Moon closer to reality
Browse files Browse the repository at this point in the history
  • Loading branch information
10110111 committed Feb 2, 2023
1 parent 91fbe9d commit 969caf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/shaders/planet.frag
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ void main()
// maximum at 1.0 instead of 0.4.
texColor.rgb = vec3(0.4) + 0.6 * texColor.rgb;
texColor.rgb = pow(texColor.rgb, vec3(2.8));
texColor.rgb *= vec3(1., 0.79, 0.57);
#else
texColor.rgb = srgbToLinear(texColor.rgb);
#endif
Expand Down

0 comments on commit 969caf8

Please sign in to comment.