alanlawrance / cross-section-shader

Cross Section shader for Universal Render Pipeline in Unity3D
MIT License
8 stars 2 forks source link

not working for Unity2021.3.3f1(URP12.1.6) #1

Open saf-a opened 2 years ago

saf-a commented 2 years ago

No errors. It works for Unity2020.3.35f(URP10.9.0).

I want to work with URP12.1.6 because it is URP11 or higher that can produce shadows with Point Light.

ssportal commented 2 years ago

Anyone have any luck getting this to work on Unity 2021+ or URP 12+?

saf-a commented 2 years ago

It worked with Unity 2021.3.6f1 URP12.1.7!

Select "CrossSectionShaderGraph.shadergraph" and create a shader with "View Generated Shader". Open the created shader and copy the "// Render State" item of "GeneratedFromGraph-CrossSection.shader" (Cull, Blend, ZTest, ZWrite, Stencil, etc.)

novavision commented 1 year ago

It worked with Unity 2021.3.6f1 URP12.1.7!

Select "CrossSectionShaderGraph.shadergraph" and create a shader with "View Generated Shader". Open the created shader and copy the "// Render State" item of "GeneratedFromGraph-CrossSection.shader" (Cull, Blend, ZTest, ZWrite, Stencil, etc.)

Doesn't work anyway. Could you share you shader please?