Skip to content

BalaDeSilver/Godot-REDACTED-shader-example

Repository files navigation

Godot [ REDACTED ] shader example

An example of a shader I made in Godot 3.x.

Reminder that you need the following code somewhere on the node you attach it to for 3.x to work with this shader:

func _process(_delta):
	get_surface_material(0).set_shader_param("camera_distance", ($"%Camera".transform.origin - transform.origin).length())

About

An example of a shader I made in Godot 3.x.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published