Skip to content

Commit

Permalink
Supports Godot 3.3 now
Browse files Browse the repository at this point in the history
  • Loading branch information
cybereality committed Dec 20, 2021
1 parent 0386804 commit 6107cc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SuperScaling/SuperScaling.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export (int, "3D", "2D") var usage = 0
export (int, "Disabled", "2X", "4X", "8X", "16X") var msaa = 0 setget change_msaa
export (bool) var fxaa = false setget change_fxaa
export (int, 1, 4096) var shadow_atlas = 4096 setget change_shadow_atlas
onready var sampler_shader = load(get_script().resource_path.get_base_dir() + "/SuperScaling.gdshader")
onready var sampler_shader = load(get_script().resource_path.get_base_dir() + "/SuperScaling.tres")
var sampler_material
var game_node
var overlay
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// [Godot Super Scaling]
[gd_resource type="Shader" format=2]

[resource]
code = "// [Godot Super Scaling]
// created by Andres Hernandez
shader_type canvas_item;
render_mode unshaded;
Expand Down Expand Up @@ -177,3 +180,4 @@ void fragment() {
result.a = 1.0;
COLOR = result;
}
"

0 comments on commit 6107cc7

Please sign in to comment.