mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
Convert many 2D projects to GLES 2
This commit is contained in:
@@ -26,4 +26,5 @@ window/stretch/aspect="expand"
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
environment/default_environment="res://default_env.tres"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user