Dash dash baby
This commit is contained in:
1 parent
a73609b86b
commit
11e291e867
12 files changed
+222
-30
No files matched your search
@@ -0,0 +1,16 @@
|
||||
extends MeshInstance2D
|
||||
|
||||
var crt_shader = preload("res://shaders/warp_shader.gdshader")
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
# Adjust some uniforms
|
||||
#material.set_shader_param("brightness", 1.2)
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
print(DisplayServer.window_get_size().x)
|
||||
print(DisplayServer.window_get_size().y)
|
||||
mesh.size.x = DisplayServer.window_get_size().x * 4
|
||||
mesh.size.y = DisplayServer.window_get_size().y * 4
|
||||
Reference in new issue
Block a user