0
$\begingroup$

I'm trying to make a scene where the surrounding environment is nighttime, but all of the light coming through the cube is shown as daytime. A sort of portal effect where whatever angle the camera is at you can see daytime through the cube and the light cast on the ground is also daylight WITHIN the shadow of the cube.

I know I can composite two different render layers to make this effect through the cube itself, but I am struggling with how to get the raycast onto the ground to be shown as daylight.

The area of the shadow the cube casts as well as everything within should be daylight, highlighted in red. The blue area should be night. Any suggestions?

[enter image description here

enter image description here

$\endgroup$

0

You must log in to answer this question.

Browse other questions tagged .