I’m new to unity and I’m trying to figure out a workflow I used in UE4 for unity, and see if it’s compatible in HDRP or URP?
Specifically, the technique outlined in this polycount thread:
Where the decal sheet is a normal map only shader, and the deferred decal geometry inherits the shader from the object it’s being projected onto. I’ve dug around and the closest i’ve gotten was a standard lit shader set to transparent and multiply, but it doesn’t quite have the exact same effect of inheriting the shader of the object below.
Hey @Minhtyfresh
More often than not you want to create your own shaders to use with the URP decal system. This can be done with shadergraph. That would allow you to create a decal shader that only affects normal and you can supply the alpha in any way you want, e.g. as an additional texture read
jajajaja i know is a little frustrating, you have to learn now how to make your own shaders (for some specific purpose) and you have to learn all those nodes and all that, but no one is saying that making games is easy, also shadergraph is a great advantage for devs
No. Shadergraph is no different to having more bloated options on the component / material instead of you choosing to add them. Except shadergraph is much cleaner and a sensible idea.
I don’t know any game engines of any worth anywhere that don’t have shader graphs. It’s a normal part of game dev.
It would actually become impossible to fit everyone’s needs for graphics on a single material, wouldn’t it? Have a think about it for a bit.
I’m more referring to the lack of support for all the URP Uber-Shaders in Shader Graph itself. There is no support for “Simple Lit”, or “Baked Lit”, for starters. Adding them yourself is a complete nightmare. URP is used a ton for Mobile, and Simple Lit is the most common path for lighting on Mobile. It boggles my mind that this isn’t available.
And no, it’s not so simple to do your own lighting, especially when you have objects directly using the Simple Lit shader themselves, and need a Shader Graph shader that gives consistent results.
Yes, Shader Graph is nice… if you use unlit or just lit shaders. Otherwise, the lighting ends up inconsistent. Seems like a pretty basic thing that, again, is a step backwards.
Side-note: URP is still not par with the built-in pipeline. Some missing features, we are told, we have to implement ourselves. This is not the right direction. The functionality AND ease of use should be at least on par, IMO.
Mmm i don´t believe the main reason of URP is being at par with built-in (sorry for my english there) but i also think that “Universal Render” is a bad name for that pipeline, LWRP was more acurate. Remember, the “main” reason for URP is to make games mostly for mobiles or mid-(high?) graphics but nothing too great.