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

wheel blur, colored shader gamma

This commit is contained in:
milek7
2018-07-24 21:15:50 +02:00
parent 17ad436976
commit dfe48d72a4
5 changed files with 72 additions and 46 deletions

View File

@@ -22,7 +22,7 @@ uniform samplerCube envmap;
void main()
{
vec4 tex_color = vec4(param[0].rgb, 1.0f);
vec4 tex_color = vec4(pow(param[0].rgb, vec3(2.2)), 1.0f);
vec3 normal = normalize(f_normal);
vec3 refvec = reflect(f_pos.xyz, normal);