Skip to content

Unity 6 - Support Forward+#22

Open
BreakPoints wants to merge 1 commit into
hecomi:mainfrom
BreakPoints:main
Open

Unity 6 - Support Forward+#22
BreakPoints wants to merge 1 commit into
hecomi:mainfrom
BreakPoints:main

Conversation

@BreakPoints
Copy link
Copy Markdown

_FORWARD_PLUS was added in Unity 6.0 (depreciated in 6.1 and replaced with _CLUSTER_LIGHT_LOOP) along with the Forward+ renderer. Adding this define fixes the rendering of the lit shaders in Forward+, no changes are needed to unlit.

I'm unsure if I should put it behind a UNITY_VERSION check as adding this on Unity 2020.3 doesn't cause any warnings or errors.

I only found this as my render settings were set to Forward+. I don't remember setting this but apparently Forward is still the default. This may be related to issue #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant