Loads and loads of small improvements I added while developing on my game
This commit is contained in:
parent
41421b1df9
commit
a7c71e7ea1
107 changed files with 2278 additions and 1023 deletions
|
|
@ -0,0 +1,8 @@
|
|||
#version 330
|
||||
|
||||
uniform float Gamma;
|
||||
|
||||
vec4 texture2DGamma(sampler2D s, vec2 P) {
|
||||
vec4 tex = texture2D(s, P);
|
||||
return vec4(pow(tex.rgb, vec3(Gamma)), tex.a);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue