I started learning Godot about 2 weeks ago. I feel an urge to save all these vids for when I need them haha
Godot
Welcome to the programming.dev Godot community!
This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.
Make sure to follow the Godot CoC while chatting
We have a matrix room that can be used for chatting with other members of the community here
Links
Other Communities
- !inat@programming.dev
- !play_my_game@programming.dev
- !destroy_my_game@programming.dev
- !voxel_dev@programming.dev
- !roguelikedev@programming.dev
- !game_design@programming.dev
- !gamedev@programming.dev
Rules
- Posts need to be in english
- Posts with explicit content must be tagged with nsfw
- We do not condone harassment inside the community as well as trolling or equivalent behaviour
- Do not post illegal materials or post things encouraging actions such as pirating games
We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent
Wormhole
Credits
- The icon is a modified version of the official godot engine logo (changing the colors to a gradient and black background)
- The banner is from Godot Design
Good luck. 😎
Youtube encoding doesn't help, but I'm not sure about the "fire" effect here.
It reminds me of when I turned Minecraft's end skybox into a purple-ish Moiré pattern (no shader needed, just a checkerboard texture viewed at a distance+angle).
Back to Godot, I made a toon-like light shader with the step function being the important bit*. It is probably good enough to use, though it's a bit frustrating how I can't seem to keep input colors accurate. Ambient color works acceptably, though I somewhat wish I could control it more, also seeing issues with light range/multiple lights.
I also haven't found a good way to handle light color. I can ignore it or mix color (can look ugly). It's probably possible with dot() but I can't seem to do it right.
Using HSV is probably needed here, although to me it seems like an absolute mess without it being built-in.
* unshaded+1 shadow w/ambient with DIFFUSE_LIGHT = , 5(?) shades with DIFFUSE_LIGHT += but it's also too bright
Yeah, I don't say it's the best possible simulation. It could be a lot better. The point was to demonstrate the usage of the light() function, mostly.