Setup lantern demo : bulb light should be visible outside of lantern box #4731
Unanswered
arpitpolynine
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This is getting pretty difficult for a rasterizer to handle - I don't know of any that support emissive textures illuminating other materials (a path tracer can do this, but for us, the performance just gets too bad). I'd recommend using the KHR_lights_punctual extension instead for the light bulb. See this sample model: https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/LightsPunctualLamp |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I am preparing lantern in which there is bulb inside and textured glass on the lantern wall. I want to show the light coming out from the bulb. To achieve this, I tried to give emissive material and lantern wall is Blend material. The light generated by bulb using emission should coming out from lantern wall. The lantern wall should enlighten using the bulb.
Current Material
Bulb = Emissive Material
Lantern wall = Opaque material
Live Demo
https://customer.polynine.com/lamp-demo/demo.html
Version
Browser Affected
OS
Beta Was this translation helpful? Give feedback.
All reactions