Track Maker's Guide

(Gameplay)
(Lights & sun)
Line 142: Line 142:
== Lights & sun ==
== Lights & sun ==
-
These objects are light emitter. They are the only true light source in the game.  
+
These objects are light emitter. They are the only true light source in the game.
 +
<div class="outer_info">
 +
    <div class="inner_msg">
 +
To be able those effects you must enable advanced pipeline in SuperTuxKart graphical options. You should also enable shadows for the sun.
 +
</div></div>
 +
 
*'''sun (for light & shadows)''': sun light and shadows will be cast from this position. You can choose the color of the sun.
*'''sun (for light & shadows)''': sun light and shadows will be cast from this position. You can choose the color of the sun.
*'''light shaft (god rays emitter)''': god rays will be cast from this position. It's useful to have a sun for god rays and a sun for light emission. The algorithm for shadows doesn't work well if the sun is near the horizon. With this separation you can have a sunset without killing performances. Usually people don't notice that the visual sun and shadows aren't corresponding.
*'''light shaft (god rays emitter)''': god rays will be cast from this position. It's useful to have a sun for god rays and a sun for light emission. The algorithm for shadows doesn't work well if the sun is near the horizon. With this separation you can have a sunset without killing performances. Usually people don't notice that the visual sun and shadows aren't corresponding.

Revision as of 14:39, 31 January 2016

Retrieved from "http://supertuxkart.sourceforge.net/Track_Maker%27s_Guide"

User Tools