Closed dongho-shin closed 1 year ago
Multiple of the examples set both the background map and the lighting environment map to different textures. If you look here in the docs you can see separate backgroundMap
and envMapInfo
fields to set separately. Is this what you're referring to?
@gkjohnson Yepp Thanks!! but it looks like converting normal Image(jpeg, png) to like HDRI I want to set background via THREE.Color, THREE.Texture(not HDRI), THREE.DataTexture(HDRI I check it works)
Do you mean HDRI or an equirectangular map? There's no requirement that a background texture be HDRI.
If you want a solid color you can create a small texture for that color - or you can use a transparent background for static backdrop. Otherwise you'll have to make modifications to the path tracing shader.
@gkjohnson Oh Thanks I get it I mean I test a Texture from png below
Result
so I think PathTrace Shader convert Texture to equirectangular Map
P.S : BTW I confused the word sorry I just focus visual effects, so I use HDRI and Equirectangular Map interchangeably Also I always appreciate your kind reply. Have a good day
Hi is there any way to set envMap with different background? like this image from keyshot
More details
if it can't why? Is it because a PathTracing light can update pixels in a texture?