Skip navigation
look at me being a real dev, here's a custom render pass that renders a shader ontop of the existing…
0:00 / 0:26

look at me being a real dev, here's a custom render pass that renders a shader ontop of the existing…

tsitski (WISHLIST PARTIZAN)

@tsitskidev6.3K followers

Visit on X
824 likesDownloadOriginal post

51,869 views

look at me being a real dev, here's a custom render pass that renders a shader ontop of the existing render at a lower resolution, allowing me to render the fog shader over the entire screen, at 1/8th res with blurring! no more gpu bottleneck at high res!

15 Comments

Comments from the original post on X (Twitter)

  • Gius Caminiti | Tower Factory OUT NOW! ⚔'s profile picture

    @GiusCaminiti

    Looks nice! What's your approach to create that "god rays" effect?

    4 likes

  • tsitski (WISHLIST PARTIZAN)'s profile picture

    @tsitskidev

    comes with the fog! raymarching and adding less fo density in shadows creates godrays

    1 like

  • Gius Caminiti | Tower Factory OUT NOW! ⚔'s profile picture

    @GiusCaminiti

    Oh ok raymarching so! For a moment I thought it was some kind of math trick based on light and screen vectors. It looks dope!

  • INDIEGAMES/WTF's profile picture

    @IndieGamesWTF

    Amazing! please talk about it on your YT channel :)

    2 likes

  • Mad Programmer's profile picture

    @MadSEToday

    real devs don't use unity.

    1 like

  • Miggy Ferrero Rocher's profile picture

    @miggyfr

    So cool

    1 like

  • BAK-1's profile picture

    @b_ak_1

    De-coupled rendering is the most basic thing…

    1 like

  • Rob's profile picture

    @NiakanTwitch

    The shadow through the fog is neat

    1 like

  • Vladislav Kruteniuk's profile picture

    @vladkrutenyuk

    you are real pro very cool

    1 like

  • SNARE JORDON THE SNARECROW's profile picture

    @lilknockstar

    absolutely fire

    1 like

  • Yago's profile picture

    @yagoandradev

    looks insane, how did you manage to do this?

    1 like

  • tsitski (WISHLIST PARTIZAN)'s profile picture

    @tsitskidev

    custom render pass based off of unity's built in full screen render pass + the option to render at lower resolutions, then a full screen version of my existing fog shader, idk if this is helpful but im running out of words 😱

    7 likes

  • nickdev's profile picture

    @NickDev22

    @yagoandradev how does this fog shader work?

  • tsitski (WISHLIST PARTIZAN)'s profile picture

    @tsitskidev

    @yagoandradev raymarching, sampling shadowmap so that there's less density in shadows, creating godrays

  • Ryan Ratman's profile picture

    @ratmantweets

    Canted pistol aim set to 10