Forum Discussion
MrFlo666
6 years agoExplorer
Emission does not work on Quest
Hi, i'm a developping on Oculus Quest under Unity. I'm migrating an app from HTC Vive to Quest. Code is somehow similar and used to work well on Vive.
Anyway, I want to highlight some objects. The following code was working well on Vive but nothing happens right now on Quest.
any suggestion ?
Thanks !
Anyway, I want to highlight some objects. The following code was working well on Vive but nothing happens right now on Quest.
obj.GetComponent<Renderer>().material.EnableKeyword("_EMISSION");
obj.GetComponent<Renderer>().material.SetColor("_EmissionColor", obj.GetComponent<Renderer>().material.color);
any suggestion ?
Thanks !
1 Reply
Replies have been turned off for this discussion
- hotlabs.techExplorer
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device