Open Mooses2k opened 2 years ago
So have implemented the torches and added some few logics to the candle to make it somewhat realistic, but we would be needing some few particles for the fires/flames and smoke for the torch and we will would be needing shaders implemented for the candle , which entails candle wax dropping from the side and other candle related behaviors .
Here's a video of a fire particle in Godot , that is similar to what we want , you can pretty well interact with me @Ayo so we can talk more on this
Anyways here's the video: https://www.youtube.com/watch?v=8ngg6ueC_ks&t=79s
PR exists for this, I'll check
basics done and tweaked. Someone other than Ayo needs to do the particles and flicker effects
torch and lantern flicker added, but it's quite slow and not random yet. Just a basic one using AnimationPlayer.
All that's left is:
"Stewie: I think some shader approach combine static masks and scrolling noise would give a nice result Since the candle flame is pretty small on screen, we can get pretty fancy with what the shader is doing, without much of a performance impact even raymarching it might be an option but just deforming a static version with some noise might be enough, honestly Alek — Yesterday at 5:27 PM shader with emissive properties"
https://timengelke.medium.com/create-a-candle-flame-in-ue4-material-niagara-9f0df29574c6
https://www.youtube.com/watch?v=uBb1F02peto
https://www.shadertoy.com/view/Xss3DH
reverted candle to original stylized Stewie mesh and made not a demo blocker =/
Have two people working on better candles, one mesh shader, one particle UV
One person uncontactable. Other has completed the shader code. Here it is: !candle flame shader (Alek).zip
Done, but still issues and todos:
Related: #374
Stewie did some work on a basic wax and candle shader and a flame that always points up
Brightness of torch and how often sputters shows how burnt down it is. Can always drop if too dark and keep new one.