Custom lighting system in Godot 4
Ғылым және технология
In this tutorial I show how to implement a custom lighting system in Godot 4.
Wishlist Dreamed Away on Steam: store.steampowered.com/app/19...
Join the Discord: / discord
Follow us on Twitter: / dreamedawayrpg
Пікірлер: 26
Very inspirational. These tutorials give me something to focus on and I end up learning so much from implementing them.
@dreamedawayrpg
8 күн бұрын
Glad you like them!
This looks very nice! Worth giving a try tonight.
Wow.
this was really helpful, thanks!
just want to say thank you! Very useful and pleasant to watch
@dreamedawayrpg
8 күн бұрын
Glad it was helpful!
thanks!! exactly what I was looking for :)
thanks
Thanks for the video. Why not use the light nodes from the Godot instead of the shader?
@dreamedawayrpg
6 күн бұрын
It's just a very different effect.
Wow! Subscribing because I love what you're doing with Godot! And maybe with the hope that someday I'll understand even a single sentence of what you said! lol
@dreamedawayrpg
6 күн бұрын
Hopefully it's not because of my thick French accent :D
@DeadIndGames
6 күн бұрын
@@dreamedawayrpg lol no I just don't understand any of the technical jargon!
Nice! Is there a way to make the lights in different sizes?
@dreamedawayrpg
6 күн бұрын
Yes! By attaching a script to each light source (Marker2D), you could export a radius and use that in the shader instead of a fixed one for all lights. This is actually what I do in Dreamed Away.
Nice! Is there a way to make the lights work if the camera is static and doesn't follow player?
@dreamedawayrpg
6 күн бұрын
Yes, because it will work with or without camera.
@Hungg-ry6ih
5 күн бұрын
@@dreamedawayrpg are there any changes needed to make because when i try with static camera the light move slower than the player
@dreamedawayrpg
4 күн бұрын
@@Hungg-ry6ih No I don't think so. Did you check my previous tutorial where I explain how the project is set up?
How to cast shadow?
What is the advantage of doing it this way as opposed to using the Godot lighting system?
@dreamedawayrpg
3 күн бұрын
It's a very different look, much more stylized and retro than using Godot's lighting system.
french accent ?
@dreamedawayrpg
7 күн бұрын
Haha, yes!