Change the Shading Model/Material on Mobile
I'm using a subsurface material (Shading Model: Subsurface) for an object. But since subsurface materials are not supported on mobile/ES2 devices, I want to swap out the material of that object for a simple default lit or unlit emissive material in that case. How do I achieve this?
What I tried so far:
Are there any better options? I would like to directly check for subsurface availability and determine the used material depending on that.
asked Jan 29 '16 at 11:28 AM in Rendering
So I think you have a misunderstanding of what the 'Feature Level Switch' node actually does.
It actually handles switching to the appropriate shading model based on the device, and will output the correct and compatible shader properties allowed for that specific shader model.
Simply using this node on the materials you want to have checked is all that is needed. Unreal will handle the rest of the work. I will warn you that subsurface shading requires opacity, and opacity on mobile devices is incredibly expensive due to hardware limitations.
Let me know if you have further questions.
answered Jan 29 '16 at 03:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here