How I implemented easy Caustics in OpenGL!

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 17

  • @akidevcat
    @akidevcat 2 месяца назад +1

    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

  • @rmt3589
    @rmt3589 Год назад +2

    That's amazing!!!

  • @Finding_Fortune
    @Finding_Fortune Год назад

    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

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      hm I haven't sren peoole apply sea foam on water that would actually be interesting 💪

  • @trickbaggames6579
    @trickbaggames6579 Год назад

    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.

  • @MahdiyDev
    @MahdiyDev Год назад +1

    Nice!

  • @RuedigaTheSecond
    @RuedigaTheSecond Год назад +2

    Noice

  • @jdudeofficial4263
    @jdudeofficial4263 Год назад +2

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

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +1

      thanks bro 💪, yess it is on the making, I am taking long because I am also wptking at my game. But I will finish the tutorial 💪

  • @jayachandrank2875
    @jayachandrank2875 Год назад +1

    I think u r modern chris swayer