Closed xhuan8 closed 11 months ago
The default brightnesses of PointLights are in https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/renderer/lighting.py#L222-L226
You can play with those numbers explicitly when you init your PointLights object (ideally keeping them adding to 1.0 in each channel). I think you want full brightness everywhere, so set the ambient to 1.0 and the other components to 0.0.
great, thanks bottler.
lights = PointLights(device=device, location=[[0.0, 0.0, -3.0]],
ambient_color=((1.0, 1.0, 1.0),),
diffuse_color=((0.0, 0.0, 0.0),),
specular_color=((0.0, 0.0, 0.0),),)
I try to render a 3D model with texture image, but the result image is much darker, is it possible to make the result has the same color as input texture image?