Fluid shader in Godot - Nvidia Flex #6

Опубликовано: 02 Май 2019
на канале: Andrea Catania
1,400
43

#GodotEngine #Fluid #flex #physics #simulation #nvidia
In the initial part of the video I'm showing the rain simulation using Flex, it was just a test that I was happy to show but doesn't have much sense implement it in a real scenario expecially if you don't need to interact with it.

Then I talk about the fluid shader, and how I've managed to add the water reflection. Worth mention the light distortion effect that make the fluid to look like the real water.

The two "FLUID_NORMAL_DEPTH_TEXTURE" "FLUID_THICKNESS_TEXTURE" are available only when you use the FluidGeometry node and are two screen texture that are calculated in backside and is where all the information are stored.

Here the shader that I'm using in the video:
https://gist.github.com/AndreaCatania...

Feel free to ask me a question by leaving a comment, I'll be happy to answer it.



Andrea Catania's links:
Web: http://www.andreacatania.com
Github: https://github.com/AndreaCatania
Twitter:   / _andreacatania  
Twitch:   / andreacatania  


Смотрите видео Fluid shader in Godot - Nvidia Flex #6 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Andrea Catania 02 Май 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,400 раз и оно понравилось 43 людям.