mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
Update
This commit is contained in:
10
druid/materials/gui_world/gui_world.fp
Normal file
10
druid/materials/gui_world/gui_world.fp
Normal file
@@ -0,0 +1,10 @@
|
||||
varying mediump vec2 var_texcoord0;
|
||||
varying lowp vec4 var_color;
|
||||
|
||||
uniform lowp sampler2D texture_sampler;
|
||||
|
||||
void main()
|
||||
{
|
||||
lowp vec4 tex = texture2D(texture_sampler, var_texcoord0.xy);
|
||||
gl_FragColor = tex * var_color;
|
||||
}
|
Reference in New Issue
Block a user