Open nukadelic opened 2 years ago
Just add
defines = new DefineCollection(),
in Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs
line 902 after
// Conditionnal state
How exactly do I find those scripts in my Unity project to add those fixes?
@luiginicastro you would have to clone the repository and move the files into the Asset folder , then you will be able to edit the files.
Alternately I have created UPM packages ( already cloned it , added the changes and included that in my sample project ) - simply add the following url's into the Packages/manifest.json
file ( make sure to remove any default key dependencies if you need ) :
"com.unity.render-pipelines.core": "https://gin.g-node.org/FloppyDisk/asw-render-pipelines-core.git",
"com.unity.render-pipelines.universal": "https://gin.g-node.org/FloppyDisk/asw-render-pipelines-universal.git",
"com.unity.shadergraph": "https://gin.g-node.org/FloppyDisk/asw-shader-graph.git",
"com.unity.visualeffectgraph": "https://gin.g-node.org/FloppyDisk/asw-visual-effect-graph.git",
@nukadelic I got it! Thank you for the help :)
Just add
defines = new DefineCollection(),
in Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs line 902 after// Conditionnal state
You saved my life. How can i ever repay you
This is true for Universal active target ( both Lit and Unlit ) there is no issue when the shader graph is VIsual Effect
Branch : 2021.2/oculus-appsw-particles Commit : 30e14a2 Unity Version : 2021.2.19f