@Sem, I am not sure I follow how your room.env
file was created because using the inspector to create your env file will create a nearly identical result to the original room.hdr
file. For example, this is a sandbox scene using room.hdr
as you can see in Scene Explorer’s Textures:
And this is loading the roomRebake.env
file I created from your original room.hdr
file:
The three rows of spheres are metallic smooth to rough, dielectric white smooth to rough, and dielectric black smooth to rough for reference.
Could you share with me the steps you took to create the room.env
file as I am unsure how you ended up with a result that is so far from room.hdr
.
In terms of creating a black and white .hdr
file and controlling the values, you will want to make sure that you are indeed using high dynamic range values in your image when creating it. If all of your values are between 0 and 1 for each of the RGB channels (or worse you are working in 8-bit 0-255 values) you will not see the range you expect from the light. Pushing your high end beyond a value of 1.0 is necessary to create a true HDRI which you can use for image-based lighting. Take this example:
This is made with a manually created HDRI that looks like:
The value of the white areas in the image is RGB (1.465, 1.465, 1.465) which does not seem like a high value, but the number of pixels in the image with that value actually generates quite a bit of light which is why the spheres look so blown out. You can experiment with this file yourself by downloading contrastCube.hdr
.
If you are looking to tweak the values in your HDRI, you will need to make those changes in either an image editor like Photoshop or GIMP or you could use tools like IBLBaker or Lys to change the exposure of the HDRI and export. We have a texture inspector in the our inspector, but we have not enabled editing of HDR values at this point as it is not meant to be a texture editor.
If you are looking to just change the value of the IBL in the scene, you can change the IBL intensity by clicking on Scene in the Scene explorer and you will find an intensity slider in the Inspector panel:
This does not change the input file, but just increases the intensity of the loaded IBL at runtime. If you want to change the values of the input HDRI, you will need to do that in an image editor and then drop the adjusted HDRI on the sandbox to generate a new .env
file.
Let me know if you still have questions about this process.