Hi!
Can the ‘Camera.actualRenderingPath’ property ever have the value of ‘RenderingPath.UsePlayerSettings’ or can I assume that it will always create the, well, actual rendering path?
Context: I’m trying to remove compiler warnings from an asset I purchased. The asset is checked whether Unity’s deferred renderer is used by:
- Seeing if ‘Camera.main.renderingPath’ is ‘RenderingPath.DeferredShading’
- If ‘Camera.main.renderingPath’ is ‘RenderingPath.UsePlayerSettings’, check if ‘PlayerSettings.renderingPath’ is ‘RenderingPath.DeferredShading’
The latter option, ‘PlayerSettings.renderingPath’, has been deprecated in Unity 5.6. So I’ve been thinking about just checking ‘Camera.main.actualRenderingPath’ alone.