new player art
This commit is contained in:
parent
562a33bd8e
commit
f774f8e8a4
65 changed files with 2953 additions and 276 deletions
19
src/level/tiles.gdshader
Normal file
19
src/level/tiles.gdshader
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
uniform sampler2D emissive :
|
||||
hint_default_transparent, source_color, filter_nearest;
|
||||
|
||||
void vertex() {}
|
||||
|
||||
void fragment() {
|
||||
COLOR.rgb = vec3(texture_sdf(screen_uv_to_sdf(SCREEN_UV))/10.0);
|
||||
}
|
||||
|
||||
void light() {
|
||||
// Called for every pixel for every light affecting the CanvasItem.
|
||||
// Uncomment to replace the default light processing function with this one.
|
||||
LIGHT = vec4(LIGHT_COLOR.rgb * COLOR.rgb * LIGHT_ENERGY, LIGHT_COLOR.a);
|
||||
LIGHT = vec4(0.1);
|
||||
//LIGHT = vec4(1, 1, 1, 1);
|
||||
//SHADOW_MODULATE = vec4(1, 1, 1, 1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue