We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To prevent an exception/error if the parent light is a spotlight:
Godot-God-Rays-Plugin/addons/SIsilicon.vfx.godrays/GodRays.gd
Line 62 in 7a04b00
material.set_shader_param("size", light_size * (light as OmniLight).omni_range)
to
if light is OmniLight: material.set_shader_param("size", light_size * (light as OmniLight).omni_range)
or similar similar (warning, ...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To prevent an exception/error if the parent light is a spotlight:
Godot-God-Rays-Plugin/addons/SIsilicon.vfx.godrays/GodRays.gd
Line 62 in 7a04b00
Switch:
to
or similar similar (warning, ...)
The text was updated successfully, but these errors were encountered: