Forum Discussion
Anonymous
6 years agoEmissive Material?
An emissive material ist not working when deploying to the Quest.
What's the workaround?
Is it actually possible possible to deploy Shader Model 5 to the Quest?
Thank you
What's the workaround?
Is it actually possible possible to deploy Shader Model 5 to the Quest?
Thank you
1 Reply
- hotlabs.techExplorer
I know this is an old question but I noticed that as of 2023 the problem still persists, so maybe this can help somebody else. Basically in order to make emissive materials work on Quest you need to activate the "emissive" flag and set the emissive color to a very low value (i.e. rgb = 0.1f,0.1,0.1f) before deploying it on the headset. If you check the flag but leave the color to Black (i.e. rgb = 0.0f,0.0f,0.0f) it won't work (looks like a bug).
If you use that setup, you will then be able control the emissive color at runtime using:
mat.EnableKeyword ("_EMISSION"); mat.SetColor ("_EmissionColor", Color.red);
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago