There was an error while loading. Please reload this page.
1 parent 2ba8bb5 commit 7c09ee5Copy full SHA for 7c09ee5
1 file changed
Editor/Generation/TemplateOutput.cs
@@ -170,7 +170,12 @@ protected sealed override void Generate(NodeVisitor visitor) { }
170
internal const string _graphlitConfigPath = "Assets/Settings/GraphlitConfig.hlsl";
171
internal bool _graphlitConfigExists = System.IO.File.Exists(_graphlitConfigPath);
172
173
+ // only for vrchat avatars
174
+#if VRC_SDK_VRCSDK3 && !UDONSHARP
175
public const string FOG_VARIANTS_NAME = "#pragma dynamic_branch FOG_EXP FOG_EXP2 FOG_LINEAR";
176
+#else
177
+ public const string FOG_VARIANTS_NAME = "#pragma multi_compile_fog";
178
+#endif
179
180
protected void IncludeConfig(PassBuilder pass)
181
{
0 commit comments