Page 1 of 1

emission texture mapping

Posted: Thu Feb 11, 2016 10:16 am
by WhyGee
Hi,
I'm trying to map textures to grids with uv mapping as light sources and it would seem that if I use the Object Properties to set emission, then the texture mapping looks incorrect sort of like a pinched polar cap. If I use an emission material where the texture is connected into the distribution port, it ignores uvs and looks like it's sampling as an environment sphere. Only when connecting the texture to the efficiency port does the mapping look correct. Is that how it's supposed to be? does the distribution not use the texture as an optimization for sampling the light source?
Would appreciate your input on this.
Attached are 2 screenshots, one with default emission material asset, and the other is with modified texture connected to efficiency.

Thanks
Yaniv

Re: emission texture mapping

Posted: Thu Feb 11, 2016 10:32 am
by juanjgon
You are right, this is an old issue that I must fix. The texture mapping in the Object Properties is designed to support only IES files. I has a projection node to map the IES in the geometry, so as you can see the UV map projection from the object doesn't work. I need to add an option to select if you are using an IES light or a UV texture map.

Currently you must use the emission material, linking the texture to the efficiency port. This is the how it's supposed to be. The default emission asset is wrong, I will fix it for the next build.

Thanks for reporting!

-Juanjo

Re: emission texture mapping

Posted: Thu Feb 11, 2016 11:31 am
by WhyGee
Thanks alot!