Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Custom Oculus Home Lighting (and Blender 2.8)

I have been wrangling with a problem implementing emissive lighting on my textures in a custom home for the last week and am hoping someone can shed some light (pun intended). 

I have 'Oculus_Wall' type textures working well, reacting to the Internal Lighting slider, but the same node setup on custom textures without the 'oculus' tag does not react to light sliders when I export as a glb from Blender 2.8.

I've come to a standstill after trying the following test. Using the 'Cafe' custom home example, I noticed that the wood textures used emissive light that reacted to the Internal Lighting slider. I imported the Cafe GLB into Blender 2.8, then exported it back out with no changes. This process stopped the wood textures reacting to the internal light slider.

I'm assuming this is probably a bug of the GITF implementation for Blender, but wondered if anyone has succeeded in implementing this variable lighting with a Blender workflow, and if so, what steps am I missing?
 
Any help, examples, or pointers to discussions on implementing lighting within Oculus home appreciated. 

Comments

  • Jokergod2000Jokergod2000 Posts: 300
    Nexus 6
    I was able to get it to to work using the below. I use a separate emmisve node setup for each emmisive png. Also, I cannot use one map for the base color and a different one for emissive in the same node, although that works for non home .glb's. Hope this helps. Took me days of trial and error and trying to get the imported cafe to work.


    Result (Windows and lanterns are separate emmisive nodes):

  • RetroRocketRetroRocket Posts: 17
    NerveGear
    Thanks for the feedback, the lamps look great. I hadn't used the Khronos gitf metallic node. In blender 2.8, rather Ive been using the Principled BSDF and a separate emission node. I'll give this a go and feed back here.
  • RetroRocketRetroRocket Posts: 17
    NerveGear
    OMG! It worked! Not on my first attempt though. Then I noticed you has set the BaseColorFactor, MetalicRoughness and EmissiveFactor all to shades of grey. This was the secret sauce. I'd been experimenting with similar on the BSDF setup for 2 weeks with no outcome other than a variety of coloured emissive cubes - your help got me the results within minutes. Thanks! Glowing walls, posters + good looking lights are now on the horizon.

    (and now I need to go back to the BSDF, just to see if I can get that working)

  • Jokergod2000Jokergod2000 Posts: 300
    Nexus 6
    No problem. They did not do us any favors with the current home setup. Metallic does not work correctly and emmisive is a bitch to get going. Glad I could help!
Sign In or Register to comment.