16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 20:59:19 +02:00

Changed reflection value to normalmaps alfa.

Fixed order in color conversion in stars shader.
This commit is contained in:
stele
2018-12-22 16:44:22 +01:00
parent 45ffc56802
commit 89231426e3
3 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ void main()
discard;
// color data space is shared with normals, ugh
vec4 color = vec4(pow(f_normal_raw.bgr, vec3(2.2)), 1.0f);
vec4 color = vec4(pow(f_normal_raw.rgb, vec3(2.2)), 1.0f);
#if POSTFX_ENABLED
out_color = color;
#else