I am assuming you meen how to simulate sunlight causing a media effect
coming through the window.
You will want to place a light_source outside your "room", then place a box
with media inside, where the sunbeam falls. I think there's a sample in
the documentation.