How I implemented easy Caustics in OpenGL!

preview_player
Показать описание
In this video, I will show you an overview of implementing caustics in OpenGL!

#cpp #opengl #programming #computergraphics #gameprogramming

Join my Discord:

Wishlist Midnight Arrow:

Join this channel if you want to support me 😻:

Textures:

ACES Tonemapping function:

Music:
Minecraft soundtrack: C418 - Moog City
Minecraft soundtrack: C418 - Minecraft
Рекомендации по теме
Комментарии
Автор

Actually you can sample the texture twice with two somewhat opposite scrolling directions and do max() with both results. It would give you a nice animation effect that looks much nicer than a static scrolling texture. You can do the same thing with water waves texture and similar stuff

akidevcat
Автор

One way to do it if you just have one water height would be to determine a fragments position in world space and if it's under the water height add the caustic effect.

trickbaggames
Автор

Awesome! I was planning to do water caustics soon and thought you only applied it on the surface of the water lol. I guess that would be a separate sea foam texture or something

Finding_Fortune
Автор

Hey man! :))
first of all: your videos are so awsome & informative!
I´ve been watching these type of videos now for a long long time & really wan´t to understand how shaders works but eventually i´m not that good at math & only can change some functions when they already exist..
I´m the creator of "edi´s shaders" (aaaa long time ago) & wan´t a comeback & i´m using the "Makeup ultra fast" (GNU Lesser General Public License v3.0) shader for my base right now & always wanted some underwater caustics (Water lights) that you can see under and also above the water & meanwhile i tried to add this for suuuuch a long time that i´ve already ganed a big headache because of it :((( ....

Long story short: my question is if you can help me to implement this awsome feature?
That would make me the happiest guy on earth! - like for real haha

Ofc you will be mentioned & credited if i publish this shaderpack!

Thanks a lot! & sorry if my english is a little bad - im german ;D

Keep up the great videos!:))🙏

edi
Автор

Can you continue the Win32 api Please 😢because I want to learn it... Because your a good teacher

jdudeofficial
join shbcf.ru