@jsbarretto So basically mipmaps 
thomastc@mastodon.gamedev.place
Posts
-
Interaction between incoming waves and the coast. -
Interaction between incoming waves and the coast.@jonbro Thanks! Tbh, I am considering using smooth shading (not so flat looking triangles) for the terrain. Will have to see how that looks.
-
Interaction between incoming waves and the coast.@jsbarretto Yeah, that's the idea. The gradient needs to be smoothed, otherwise small underwater bumps will do weird things. The definition of "small" depends on wavelength though. Maybe something something mipmaps.
-
Interaction between incoming waves and the coast.@aeva Thanks
Just some subpixel stuff to be sorted out... quantizing a varying is hard. -
Interaction between incoming waves and the coast.@toerror It's also because waves grow under the prolonged influence of wind (called "fetch"), so waves coming off the shore haven't had a chance to grow yet.
-
Interaction between incoming waves and the coast.Interaction between incoming waves and the coast. The effect is based purely on local depth. As the waves approach the shallows, they get shorter and taller, until a point where they suddenly lose a lot of amplitude.
If the wind blows away from the shore, though, this becomes a mess. I'll need to check the gradient of the distance to the coast and inhibit the effect.
#GameDev #IndieDev #IndieGame #GodotEngine #Godot #ProceduralGeneration #ProcGen
-
Nope, no bugs here.It's cool that my custom screen-space reflections still seem to work, kind of.
-
Nope, no bugs here.Nope, no bugs here. What are you talking about?
#GameDev #IndieDev #IndieGame #GodotEngine #Godot