I have added an hdri environment file and i want to use the lights and not the background image. Is there any option present to hide the image and just use the light source.
3 Answers
-
2$\begingroup$ perfect and thanks 1 one additional question i can c the black background can we change the color from back to some other color $\endgroup$– atekOct 16, 2016 at 8:47
-
1$\begingroup$ If you have additional question open up a new question. blender.stackexchange.com/questions/ask $\endgroup$– LeanderOct 16, 2016 at 10:30
In Blender 2.8x
, this can be done by ticking the Transparent
checkbox in Render Properties
:
Properties Panel > Render > Film > [x] Transparent
-
2$\begingroup$ Is there a way to make it so you can replace the background with a different background that you want? $\endgroup$ Jun 23, 2020 at 22:29
-
$\begingroup$ @CrazyVideoGamer In this case I'd use a simple plane with a color or a texture, facing the camera directly. $\endgroup$– NektoSep 11 at 10:01
I usually just use this node setup for the environment to hide the HDRI from the camera. It also allows for some flexibility if one were to want the visible background to be say, blue or have a gradient and light the scene with the HDRI instead of turning off camera rays altogether.
The light path is camera ray output as mixing factor makes the camera see the black background shader, while the environment receives the lighting from the HDRI.
-
4$\begingroup$ THIS! I have been searching for this for years..... thank you! $\endgroup$– lmg1114Dec 24, 2020 at 1:16