Search Unity

True Volumetric Lights (Now Open Source)

Discussion in 'Shaders' started by Michal_, Mar 10, 2016.

  1. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    955
    But, only in HDRP, not in default renderer.
     
  2. SamRock

    SamRock

    Joined:
    Sep 5, 2017
    Posts:
    165
    Hey no problem. You should be proud that your work became widely used and accepted. Just shows how great the contribution is :)

    I managed to get it to work, thanks to a comment few pages above.
    Thanks again for the amazing asset. You should try to monetize it though.. even if its for a very less price :)
     
    Dreamaster likes this.
  3. belamessex

    belamessex

    Joined:
    May 12, 2015
    Posts:
    11
    hi michal! I love your asset a lot and used it heavily in my upcoming game Little Bug https://store.steampowered.com/app/822190/Little_Bug/
    I saw that you have a copyright line that needs to be reproduced, and I'm happy to include that in the credits. Would that work for you?

    Thanks!
     
    pcg and Whippets like this.
  4. SamRock

    SamRock

    Joined:
    Sep 5, 2017
    Posts:
    165
    Hey your game looks beautiful! :eek:
    Love the artstyle.
    I am working on a 2.5D game too.. and I must say this is a great looking game I have seem in long time. :)
     
  5. belamessex

    belamessex

    Joined:
    May 12, 2015
    Posts:
    11
    <333 thanks so much, I'm really proud of it.
     
  6. SamRock

    SamRock

    Joined:
    Sep 5, 2017
    Posts:
    165
    You are welcome! Do you have a team or you worked Solo!
    Would love to have a team member like you :D
     
  7. Michal_

    Michal_

    Joined:
    Jan 14, 2015
    Posts:
    360
    Hi, your game looks really nice. Thanks for sharing.
    You're only required to keep the copyright in the source code. There's no need to put it in credits or anywhere else.
    But feel free to mention it in credits if you think it deserves a mention. That is up to you ;)

    Best of luck with your game
     
  8. o-san

    o-san

    Joined:
    Jun 23, 2018
    Posts:
    11
    First I'd like to say that this is an awesome asset, great job!

    However, I am struggling to get spotlights to work. I am using the default settings on my volumetric light but for some reason the fog flickers back and forth.

    A clip showing the problem:


    I can get the spotlight fog to always show if I lower the Shadow Distance in the quality settings panel but that also removes the volumetric properties of the fog - it passes through everything. I am using no cascades atm but I have tried both two cascades and up to four cascades with the same results.



    Any help appreciated.
     
  9. o-san

    o-san

    Joined:
    Jun 23, 2018
    Posts:
    11
    I've managed to fix some of the problems I have with the flickering fog. I found a few posts up mentioning that shadows won't render if there is no shadow caster visible (unity limitation)... So I made a large bounding box with its sides pointing inwards surrounding my scene. I set the color mask to zero and z-writing to off to prevent it from rendering the cube. I also set the mesh renderer component to cast shadows (important). Now the fog effect is visible all of the time :)

    However there is still a problem with the shadow volume flickering, not the whole spotlight fog.



    You can see the dark/shadowy areas sometimes flickers brightly. I tried maxing the Volumetric Light Sample Count and Volumetric Light Renderer Resolution to Full but the problem prevails. Is this expected behavior, can I work around it somehow?
     
    konsic likes this.
  10. Zuntatos

    Zuntatos

    Joined:
    Nov 18, 2012
    Posts:
    523
    I'm not really familiar with how this asset works, but I ran into a thing similar to this in my own game - unity wouldn't execute an AfterLighting commandbuffer if there is no unity default lighting. But that's where my custom lights were being rendered :/
     
  11. belamessex

    belamessex

    Joined:
    May 12, 2015
    Posts:
    11
    Thanks! and thanks for the great Asset, it really brought together the look of the game.
     
  12. belamessex

    belamessex

    Joined:
    May 12, 2015
    Posts:
    11
    I directed the game, did programming, lighting, level design, some 3D and 2D art and some sound. I had a team of friends and contractors that helped out with lots of parts here and there (mostly with writing and music) and I put it all together in Unity. I really need to get my "roll" on the team better defined lol.
     
    SamRock likes this.
  13. 747423517

    747423517

    Joined:
    Jan 29, 2015
    Posts:
    2
    Ohhh, I got it, because I didn't build the quoted Shader into EXE
     
  14. l21zxib8tr0f33v3

    l21zxib8tr0f33v3

    Joined:
    Sep 25, 2014
    Posts:
    28
    Just wanted to thank you for making such a good asset.
    I made the mistake of purchasing multiple lighting solutions (which I doubt I'll get a refund for.)
    Some didn't work with Linux: Aura & Aura 2
    Some didn't do everything I wanted: "Volumetric Light Beams"
    Some were too simple, causing them to be unusable: Funly's SunRays (Has a "Color Threshhold" which causes it to be unusable with scene that have lots of color/light variations.)
    Should've looked up an open-source alternative first, because this works perfectly and is exactly what I want.
    Thank you very much for making such an amazing asset and thank you for keeping it opensource so people can update it if you ever can't do it anymore.

    Seriously Thank You.