Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

@SAED2906
Copy link
Contributor

This is an example of how code can dynamically change the shaders applied to objects without the user code needing to manually set reload to true.

I'm trying to find a way to fade out the need for a reload bool to make it completely dynamic.

Added functionality:
- Smooth transitions between previous and future effect states (ex: 0 blur slowly rising to 100)
Always errors because get_children() gets unintended child nodes.
Added demo code on smooth transitions.
+ TLC
if _name.begins_with("CRT"):
return true if configuration.CRT else false

# get_children() returning all _names leading Always to:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error is being triggered every reload due to the get_children() method returning more than expected.

@KorinDev
Copy link
Owner

Thanks!

@KorinDev KorinDev merged commit 0a315a6 into KorinDev:main Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants