Jump to content

Specular and Diffuse Maps


Recommended Posts


I have been using RelightLab and I was wondering if there is any way to extract the specular and diffuse maps for each image taken? I am aware I can extract a normal map and I see the specular and diffuse maps available in OpenLime when viewing, but I'm not sure how I should export them using the RelightLab interface, or if there is any other way to obtain them out of the source code?


Link to comment
Share on other sites


    author of RelightLab here.

Specular and diffuse renderings you see in openlime are computed on the fly from the normal maps and the light direction (+ an shininess parameter for the specular one),
they are not maps.

You are probably thinking about the glossiness map (https://kcoley.github.io/glTF/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness/) it's a totally different approach. This requires fitting some BRDF (albedo, shininess, metallicity etc) to the RTI dataset and I plan to support it in RelightLab, in the near (hopefully) future, unless you have a pressing need...

Otherwise you might want to describe what is the purpose of those specular and diffese maps would be, and that might help clarify the issue.


Link to comment
Share on other sites

Thanks @ponchioI think @le9526 (my student :) ) was asking if it was possible to streamline getting a normal-map along with a set of diffuse (and or other BRDFy) values for a given scene as an image file, TIFF layers, OpenEXR layers, like some renderers spit out (RGBANxNyNzDz sort of things for N-normal, Dz - depth, etc)

I realize it's an approximation derived from the bases that the RTI represents but would allow some relighting with tools other than RelightLab. 

(I haven't pressed into it, but on first glance didn't see any way to export those things with the software, but figured there might be an easy way to just whip up some command line stuff w/ the library)

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...