Closed mdm123 closed 2 years ago
Look forward to SRP batcher's support
I don't believe SRP batcher can be ignored inside shader. Can you elaborate that?
I don't believe SRP batcher can be ignored inside shader. Can you elaborate that?
The properties used in the shader are not put in the correct CBUFFERS thus making the shader not compatible with the SRP batcher. Im currently atempting to put all properties from the body part of the shader in the right buffers. Will update if I manage to get it to work.
Edit: End of the day I did manage to get the shader to be compatible with the SRP batcher, but the outline pass had to be dropped and it required a significant rewrite of some of the files Mainly droping the LitInput includes and moving everything to a new ToonInput
Hi, Apology for my misunderstanding. We've succeed to make Unity Toon Shader compatible with SRP Batcher. We'll back port it to Universal Toon Shader as soon as possible.
Hi, We released Universal Toon Shader 2.3.0, which is compatible with SRP Batcher. There are some you might want to keep in mind:
Thanks, UTS Team.
I have checked urp branch.unfortunately,it doesn't support srp batcher now.Do you have a plan for this?