View Single Post
Old 08-17-2016, 03:57 PM   #1   Add To Ignore List  
Black Star
 
Devostator's Avatar
 
Seriously! Creative Moderator
Joined: Jun 2011
Location: Germany
 
Devostator is offline
Default Making cubemaps for fast lights (Unofficial way of doing them)

-For this tutorial you should already have experience with copying/pasting things from entities, probe, omni and fast lights-

I kinda found a weird way to achieve cubemaps for fast lights!

All you need is an external map with a simple cube, a probe light, an omni light for the shadows, the model for the shadow.

It should look like this:
http://i.imgur.com/sh0jKqEh.jpg

For the cube make sure to copy these illumination color settings, thats all really:
http://i.imgur.com/aMwA3sPh.jpg

The Probe lights area should be exactly the size of the cube:
http://i.imgur.com/H8QdPUjh.png

Also, make sure to tick these 2 so your model is not visible in the cube map and stays black, you can untick those once done:
http://i.imgur.com/e8nu9NMh.jpg

Bake the Probe Light with Shift+B when you are satisfied with the shadows and then mark this place I marked and press Ctrl+C:
http://i.imgur.com/J3e1Y8Hh.png

Once copied, go to your fast light settings and paste it with Ctrl+V into the marked Projector texture. The result should be this:
http://i.imgur.com/f0z0j3ph.jpg

Now your fast light has a cubemap like in the official maps from Croteam. Now if you want you can save the texture to not lose it.
  Reply With Quote