Can I use video texture as a light source ? Like a TV screen in a dark room?
I guess you want to emit the light similar to a so called “area light”. Does the following demo roughly show the effect you are looking for? three.js webgl - lights - rect area light
But to answer your question: No, it is not possible to use a video texture as a light source. However, you can fake the lighting with an area light similar to the demo above.
it depends, there’s a lot of smoke and mirror around such things usually. anything that requires reflections generally isn’t as straight forward as you’d like it, you have to cut some corners or find workarounds to get close to the effect you have in mind. games and sites in general usually go through a lot of churn to have performant reflections. i’ll give you a few examples:
using custom environment maps as a light source, these can be anything: planes, textures, videos … (the most performant, if the envmap is static/non-moving)
videos + reflectormaterial (medium performance hit, it can be expensive)
shaders + reflectormaterial (medium performance hit, it can be expensive)
spotlight video projection (should be rather fast)
screen space reflections and global illumination (could be too slow for prod)
Thank u for answering my dull question
I use the same code as this sample (except LightHelper) and another problem occurs:
my ground floor dosent recieve any reflection.