Convert many 2D projects to GLES 2

This commit is contained in:
Aaron Franke
2020-02-17 21:29:39 -05:00
parent dda0bd7e20
commit c215c62df1
17 changed files with 30 additions and 4 deletions

View File

@@ -26,4 +26,5 @@ window/stretch/aspect="expand"
[rendering]
quality/driver/driver_name="GLES2"
environment/default_environment="res://default_env.tres"

View File

@@ -1,8 +1,8 @@
shader_type canvas_item;
render_mode blend_premul_alpha;
uniform float radius = 2.0;
uniform float amount = 0.6;
uniform float radius = 5.0;
uniform float amount = 0.25;
void fragment() {
float r = radius;

View File

@@ -52,8 +52,8 @@ shader_param/modulate = Color( 1, 0.0234375, 0.481201, 0.596706 )
[sub_resource type="ShaderMaterial" id=10]
shader = ExtResource( 9 )
shader_param/radius = 12.0
shader_param/amount = 0.5
shader_param/radius = 5.0
shader_param/amount = 0.25
[sub_resource type="ShaderMaterial" id=11]
shader = ExtResource( 10 )