Search Unity

Complete SpeedTree v6 HDRP port via ASE

Discussion in 'High Definition Render Pipeline' started by xVergilx, Mar 4, 2020.

  1. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Complete HDRP SpeedTree v6 port

    While we're all waiting for the official shaders here...

    Here's github repo with packages, since some may find this useful as a base for their port.

    (Implementation tech details in the repo description)


    Any issues or bugs you may leave here or in the repo issues section.


    Also, feel free to fork / modify. License MIT for mine parts of the code.
     
    Last edited: Mar 9, 2020
    nbac, warthos3399 and Rowlan like this.
  2. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Managed to fix wind issues (finally!)

    It turns out main reason for everything not working is that normalize() and alike HLSL functions no longer check for the zero values. Which resulted in the zero division.

    Also, camera related rendering is a thing. Many thanks to the ASE discord community for helping me figure things out.

    Also added shader time control example. Decided to go that path instead of supporting two shaders (per time).

    So it should be complete. Enjoy :)
     
    Last edited: Mar 9, 2020
  3. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    707
    Great work - making some tests now