更真实的3D方块
This commit is contained in:
9
parts/shaders/lighter.glsl
Normal file
9
parts/shaders/lighter.glsl
Normal file
@@ -0,0 +1,9 @@
|
||||
vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
|
||||
vec4 texcolor=Texel(tex,tex_coords);
|
||||
return vec4(
|
||||
pow(texcolor.r+.26,.7023),
|
||||
pow(texcolor.g+.26,.7023),
|
||||
pow(texcolor.b+.26,.7023),
|
||||
texcolor.a
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user