Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

[Released] Lux URP Essentials

Discussion in 'Assets and Asset Store' started by larsbertram1, Jul 18, 2019.

?

Does Lux URP Essentials need a Discord Server?

Poll closed Apr 29, 2021.
  1. yes - even if there was no moderator

    4 vote(s)
    57.1%
  2. no, the forum is all we need

    3 vote(s)
    42.9%
  1. lilacsky824

    lilacsky824

    Joined:
    May 19, 2018
    Posts:
    85
    Yes .It said "### Current Version is 1.71".
    By the way, documentation link in changelog.txt seems broken.
     
  2. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    the error: "output parameter not completely initialized" most like is caused by the fact that you are using urp 10 or above – and did not install the corresponding lux urp essentials package. you will find it in the lux urp essentials folder.
     
  3. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    i got the latest from the asset store myself and it turned out that something went wrong with the last update as it does not contain latest but the previous version... pm sent.
     
  4. dFlynnSo

    dFlynnSo

    Joined:
    Aug 20, 2014
    Posts:
    14
    same here, clean project, fresh asset store import latest version - same error with Unity 2021.1.4f1 :-((

    Tested some examples, error on Custom Shader Graphs Demo, see the screenshots: Screenshot 2021-04-25 184424.jpg Screenshot 2021-04-25 184448.jpg
    Screenshot 2021-04-25 184506.jpg


    Edit:
    If you import LuxURPEssentials_URP_11.unitypackage Errors are gone
     
    Last edited: Apr 25, 2021
    chelnok likes this.
  5. Gamingbir

    Gamingbir

    Joined:
    Apr 1, 2014
    Posts:
    151
    I am using URP 10.4. After I import the 10.3 most errors gone but a few still remain.

    Also, what are the shaders you recommend to get as close to Ghibli Style for the looks of the backgrounds?
     
    Last edited: Apr 25, 2021
  6. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    which errors?
    what is ghibli style?
     
  7. Gamingbir

    Gamingbir

    Joined:
    Apr 1, 2014
    Posts:
    151
  8. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    just select the shader in the project tab -> right mouse click -> reimport. that should fix it.
     
  9. Gamingbir

    Gamingbir

    Joined:
    Apr 1, 2014
    Posts:
    151
  10. dschu

    dschu

    Joined:
    Dec 10, 2019
    Posts:
    4


    Hey there.
    Just bought the asset, but after importing its just throwing out a bunch of error messages.
    I tried to reimport, as mentioned above, but it didn't help.

    I'm using Unity 2020.3.5f1 with URP 10.4.0.
     
  11. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    you have to install the lux upr package for urp 10.3.2.
     
    dschu likes this.
  12. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    the file is in the package. try to look it up manually.
    you also may hve to open the shader graph and then the subgraph responsible for the lighting.
     
  13. PieterAlbers

    PieterAlbers

    Joined:
    Dec 2, 2014
    Posts:
    175
    Love the asset! Especially happy with the decals.

    Do you think it would be possible to implement a proper projectionLimit. I kinda tested (read 'hacked') something more or less working in the lit decal shader, but I am sure that's not how it is supposed to work ;)

    I am looking for a solution to avoid stretching on the ground for large decals (scorch marks). We can't always move the decal closer to its projected surface - especially in situations of sloped surfaces.

    What are your thoughts on this - is this something you are looking into?

    Thanks in advance!
    -Pieter
     
  14. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    sorry, currently not. and i guess that is just the way "deferred" decals work: they have a major projection direction. if this changes drastically over the area the decal covers due to the size the decal just can't catch up.
    so try to use more and smaller decals.
     
  15. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    Does this support URP version 12.0.0? If so, I'll buy it instantly. If not, please make it compatible so I can buy it!
    Perhaps anyone who owns this can test if the URP version 11.0.0 package is compatible with version 12.0.0?
     
  16. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    which alpha, beta, anything comes with urp 12?
     
  17. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    URP version 12.0.0 in latest Unity release.
     
  18. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    a super tricky one. stick to urp 11.
     
    Gamingbir likes this.
  19. Gamingbir

    Gamingbir

    Joined:
    Apr 1, 2014
    Posts:
    151
    what is the thing ur trying to do that needs urp 12? Stick to the one that works. Make a game not experiment too much. Use LTS and stable builds. I guess you are just playing around. Too much time in hand?
     
  20. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    I thought the newest version of something would be the best for the future. Why use an old version when everything is constantly updating? Seems kinda lazy.
     
  21. Gamingbir

    Gamingbir

    Joined:
    Apr 1, 2014
    Posts:
    151
    The latest is not always the best. I am sure you are just playing around not targeting a product which you are trying to ship or make a game with.




    This plugin working great.
     
  22. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    Yeah I'm just playing around. I'm pretty new to Unity, but not to programming. In programming, updating is always good. Look at Rust (the game). They're using an old version of unity and missing out on a lot of new great features. I don't want my future projects to be like that. I want to update when I can, but it seems kinda impossible. Am I really stuck with the Unity (& URP) version that I choose when I start a project?
     
  23. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    you are not. you just have to check anything carefully if it still works the way you expect it to work.
    and sometime you have to spend some time on updating your stuff to make it play nicely with the new version. some time here may go from 2 hours up to 2 days - depending on how many custom rendering stuff you have.
     
  24. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    Okay sounds good! Yeah I expect to spend time upgrading. Happy to hear it's possible. Should I just go for the latest LTS version using URP 11.0.0 and be done with it? Then upgrade when the next LTS comes out?
     
  25. Jesper-Nielsen

    Jesper-Nielsen

    Joined:
    Nov 14, 2013
    Posts:
    73
    upload_2021-5-4_14-43-37.png

    I just tested it out and it gave me a shader compilation error but still works? I'm importing the URP package for URP version 11 just in case that might be the problem?
    Anyway I really love the procedural texturing - it will definitely allow me to use the first texture a bit more and make level building quite a bit simpler.
    This feature was the selling point for me so I'm quite pleased :) Who knows what other goodness I'll find in this pack.

    Edit: I guess it works because that's not the shader I'm using - Shader error in 'Lux URP/Transmission': 'InitializeStandardLitSurfaceData': output parameter 'outSurfaceData' not completely initialized at line 517 (on d3d11)

    My Unity version is 2021.1.1f1

    Edit again - error disappears and transmission shader works on reimport.
     
    Last edited: May 4, 2021
  26. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    must be an error then from the original package and not the update to 11.
     
    Jesper-Nielsen likes this.
  27. Jesper-Nielsen

    Jesper-Nielsen

    Joined:
    Nov 14, 2013
    Posts:
    73
    Yeah - I had no idea shaders didn't automatically reimport when you changed the source files, like other assets do. I wonder if I should reimport all of them or just leave the ones that aren't giving errors? It did take quite some time.
     
  28. littenli

    littenli

    Joined:
    Dec 18, 2019
    Posts:
    7
    Hello! I'm using the terrain system and I have a snow scene in my game.
    Can "Lux URP/Terrain/Lit" make a snow cover effect?
     
  29. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    it does not offer a special or dynamically driven snow layer. but you could paint it of course.
    then add rocks using the top down projection to procedurally cover them with snow.
     
  30. alexoddleg

    alexoddleg

    Joined:
    Jan 24, 2017
    Posts:
    4
    Where can I download the version you indicated? It's only possible to import the latest version via Unity Package Manager (version 1.72)

    I'm getting the same Shader errors as reported by dschu. I'm running Unity 2020.3.6f1 with URP 10.4
     
    Last edited: May 7, 2021
  31. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    there is a package within the package you grab from the asset store.
     
    alexoddleg likes this.
  32. Rickmc3280

    Rickmc3280

    Joined:
    Jun 28, 2014
    Posts:
    133
    Where are yall getting URP 11 from? Its not in my package manager 2020.3.6 I have enabled preview packages. It only shows 10.4 and 10.5
     
  33. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    installing unity 2021.1.0f1 you will get urp 11.
     
    Rickmc3280 likes this.
  34. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    Can this be fixed? It's kinda annoying being spammed by 39 warnings every single time I build my project.
    Unity version: 2021.1.6f1
    URP version: 11.0.0
    I've used the LuxURPEssentials_URP_11.unitypackage file.
    upload_2021-5-11_8-18-59.png
     
  35. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    i do not think so. even the built in urp shaders show this warning :(
     
  36. palamangelus

    palamangelus

    Joined:
    Jun 8, 2010
    Posts:
    26
    Hey Lars, great asset, thank you!

    Like dschu above, I'm using URP 10.4, but I'm using 2020 LTS (2020.3.7f1). I was previously using a lower version of URP with a different version of Unity and everything built fine, however I'm not longer able to build with your 10.3.2. package.

    These are the errors I get:



    Any idea of how to fix this? I tried reimporting 10.3.2 and I can see the errors in inspector.



    When I try to "reimport" the errors go away, but when I try a build after that, they all come back.

    Thanks for any help!
     
  37. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    ah, sorry. i have forgotten to rename some variables. will be fixed in the next update.
    i will also send a fixed include via pm.
     
  38. palamangelus

    palamangelus

    Joined:
    Jun 8, 2010
    Posts:
    26
    Thank you! And thank you for the quick reply!
     
  39. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    upload_2021-5-13_22-1-50.png

    How about these?
     
  40. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    they can not be resolved right now.
     
  41. Quast

    Quast

    Joined:
    Jul 5, 2015
    Posts:
    531
    I'm working on Japanese room and I want to know how to make the sun light come through the white paper that doesn't show what is behind it. What shader I have to pick ?

     
  42. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    it really could be any shader. you just have to make sure that the object does not cast shadows.
    in order to make it not pitch black you can try "transmission" - or add emission.
    the really tricky part however is the interior, look at the super shmooth shading and shadows!
    best would be lightmaps i guess. as you will never get such smooth real time shadows.
    you could try transmission here as well as it support wrapped diffuse lighting.
    otherwise you may have to add a bunch of faked bounce lights.
     
  43. dowon951

    dowon951

    Joined:
    Jun 24, 2019
    Posts:
    5
    hair shader not working android APK Build
     
  44. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    which version of urp? and which graphics api?
     
  45. dowon951

    dowon951

    Joined:
    Jun 24, 2019
    Posts:
    5
    urp 7.5.1 + OpenGl + android
    There were two problems

    1. The color becomes strange when applying srp.
    2. Specular disappears

    I resolved it after posting.
    1.Properties Color half3 => half4
    2.LUX URP hair Lighting.hlsl / LightingHair_Lux
    ------
    half3 specR = 0.25h * F * (hairSpec1
    #if defined(_SECONDARYLOBE)
    +hairSpec2
    #endif
    ) * saturate(NdotL)* saturate(geomNdotV * FLT_MAX);
    -------

    remove (* saturate(geomNdotV * FLT_MAX);)
     
  46. BrandyHarrington

    BrandyHarrington

    Joined:
    Apr 19, 2020
    Posts:
    13
    @larsbertram1 Any idea if IL2CPP works with URP Essentials?
    Completely new URP project with absolutely zero changes to the scene, Unity 2021.1.6f1, URP 11 with the URP 11 patch applied.
    Windows 10 (Latest updates), AMD Ryzen 9 3900x (12 cores, 24 threads), 64GB DDR4 ram, 2+TB free NVMe storage.
    upload_2021-5-26_21-0-10.png
    I've tried to build multiple times (30+ mins, 40+ mins, this build which is 44+ mins). It never finishes. Cancelling it crashes my PC. It builds just fine before I add URP Essentials. I always clean out the "Library" folder before building.

    Help?

    EDIT: I left it overnight:
    upload_2021-5-27_10-58-25.png

    EDIT2: It seems very unreliable. It works sometimes. I can't find a single error anywhere. Not in the console, not in any log file. I believe it crashes somewhere, but the progressbar is never cleared/updated.
     
    Last edited: May 27, 2021
  47. Jesper-Nielsen

    Jesper-Nielsen

    Joined:
    Nov 14, 2013
    Posts:
    73
    Is there anything special you have to do to make versatile blend shader cast shadows? I can't seem to make it happen. I tried changing the cascade settings back and forth as mentioned in the manual but to no avail. I'm using realtime lighting - does it need to be baked?
     
  48. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    strange. most scripts that come with the package are editor only.
    which scene did you try to export? which scripts were included?
     
    Lars-Steenhoff likes this.
  49. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    FLT_MAX must be replaced with HALF_MAX
     
  50. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,217
    have youhad a look into the related demo? there is just casts shadows.
    i haven't checked it with screen space shadows tho.
     
    Jesper-Nielsen likes this.
unityunity