Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
15
zoom_in_shader.tres
Normal file
15
zoom_in_shader.tres
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_resource type="Shader" format=2]
|
||||
|
||||
[resource]
|
||||
code = "shader_type canvas_item;
|
||||
|
||||
uniform vec2 tiling = vec2(1,1);
|
||||
uniform vec2 offset = vec2(0,0);
|
||||
|
||||
void fragment()
|
||||
{
|
||||
|
||||
vec4 color = texture(SCREEN_TEXTURE, SCREEN_UV * tiling + offset);
|
||||
color.a = texture(TEXTURE, UV).a;
|
||||
COLOR = color;
|
||||
}"
|
Loading…
Add table
Add a link
Reference in a new issue