Background image
Posted: Mon Nov 30, 2020 12:46 pm
Hi Guys,
I have a HDRI image that I want to use as background. But this image is not 180 degrees in vertical but only 90. So I want to repeat this image 2 times in vertical. Than we put a ground surface, and don't care about the sky under the ground. Is it possible to do this?
I was trying to play with transformation matrix, but it looks this scales the sphere, not the texture. I found out how to rotate the sky, but no idea how to scale it (or repeat).
I have a HDRI image that I want to use as background. But this image is not 180 degrees in vertical but only 90. So I want to repeat this image 2 times in vertical. Than we put a ground surface, and don't care about the sky under the ground. Is it possible to do this?
Code: Select all
scene.lights.__WORLD_BACKGROUND_LIGHT__.gain = 1.19 1.19 1.19
scene.lights.__WORLD_BACKGROUND_LIGHT__.transformation = -1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
scene.lights.__WORLD_BACKGROUND_LIGHT__.id = 0
scene.lights.__WORLD_BACKGROUND_LIGHT__.temperature = -1
scene.lights.__WORLD_BACKGROUND_LIGHT__.temperature.normalize = 0
scene.lights.__WORLD_BACKGROUND_LIGHT__.visibility.indirect.diffuse.enable = 1
scene.lights.__WORLD_BACKGROUND_LIGHT__.visibility.indirect.glossy.enable = 1
scene.lights.__WORLD_BACKGROUND_LIGHT__.visibility.indirect.specular.enable = 1
scene.lights.__WORLD_BACKGROUND_LIGHT__.type = "infinite"
scene.lights.__WORLD_BACKGROUND_LIGHT__.file = "imagemap-00001.exr"
scene.lights.__WORLD_BACKGROUND_LIGHT__.gamma = 1
scene.lights.__WORLD_BACKGROUND_LIGHT__.storage = "half"
scene.lights.__WORLD_BACKGROUND_LIGHT__.sampleupperhemisphereonly = 0
scene.lights.__WORLD_BACKGROUND_LIGHT__.visibilitymapcache.enable = 0