Tutorial Using Lightmap Global Illumination in Godot 4.3
HTML-код
- Опубликовано: 22 авг 2024
- #tutorial #godotengine #gi #globalillumination #lighting #gamedev #solutions #nodes #illumination #godot4 #experiment #learning #gamedevelopmenttutorial #mesh #modelling
I wake up just now. This video is the best thing that could happen ❤
I tried to make a scene the other day and instanced light2D node during run time. Somehow, the fps dropped significantly.
Do you think I did something wrong?
It's just one instance of light2D node or many ?
Without further details,it hard to tell which is which that result in fps loss.
@@tutortomato You see,
I'm making an enemy scene, the finite state machine to be exact. One of the state is called "magic_casting", during this state the enemy scene will instance a magic circle with a light2D node in it (with fade-in-out animation).
Then I realized that everytime the enemy scene entered this state, the FPS dropped from 60 to under 20.
After long debugging, I found out thst the fps drop happened after I added light2D in the magic circle scene. After removing it, things went back to normal.
So I thought, is light2D node that performance-heavy?
PS: yes, it's only one in each magic circle, and the drop happened even there was only one enemy in magic_casting state
@@agriasoaks6721 one 1 light2D drop that many fps...try using addictive sprite blending for light or the glow effect.