Spydave's Lightrayes Tutorial

Lithtech Jupiter engine

Post Reply
User avatar
Spawn
Admin
Admin
Posts: 1310
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

Spydave's Lightrayes Tutorial

Post by Spawn » Sat Dec 22, 2018 4:34 pm

In this tutorial we want to create rays of light coming from a window.

I've made a small room with a window which we will soon have rays of light coming from.

Image

You will need to build brushes coming from the window that will serve as your light rays. However you want the light rays to appear build these bushes accordingly.

Image

A good texture for the brushes that make up the light rays is the tornado texture. It is found in:

FX/Tornado

Apply this texture (or a similar one) to your 'light ray' brushes.

Image

Now there are a few things to change on the 'light ray' brushes themselves. Select all the brushes that make up your 'light rays' and go to their properties.

Change Lighting to Flat.

Add 'DustBeams.tfg' to the texture effect.

Image

Notice in the brushes properties there is also a button labeled 'LightControl'. Open the LightControl properties.


Change the AmbientLight from black to a medium grey. This will help illuminate these brushes giving them a more 'light' appearance.

Image

Now make sure all 'light ray' brushes' are selected and bind them to a WorldModel. In the WorldModel's properties change BlendMode to 'Translucent' and set Alpha to 0.050.

This will of course give your 'light rays' a translucent appearance. You may want to experiment with the Alpha. 1.000 is opaque while lesser values produce more transparency.

Image

Create a DirLight out side of your window. This will further illuminate you 'light ray' brushes as well as spill some light onto the floor. Try to adjust you DirLight so that it follows and is consistent with you 'light ray' brushes.


Image

In closing you may want to include additional lighting for realism to fit your screen. For example i have included a Light here to try to brighten the area at the window. Experimentation is the key to successful lighting.

(Reposted from Spydave.com)
You do not have the required permissions to view the files attached to this post.
Image

Post Reply
jedwabna poszewka 50x60