TWO SUNS!
Hey guys
i was working on the last couple of shaders when i came across a shader allowing two suns :o
as you can imagine a picture would be useless...so here is the code.
background_color 1 1 1
mirror_color 1.15 1.15 1.15
floor_color 1.5 1.90
sunshine_color -1.60 0.80 0.00
ambient_color 1.00 1.00 1.00
fog_distance 15.00
sharp_shadow 1
sky_on 1
ambient_light_dir -0.71 0.00 0.51
sun_light_dir 0.82 5.57 0.08
sunbeam_color -20.60 -1.20 0.60
sun_color 4 1 1
sky_color 0.30 0.40 0.00
polar_light_color 0.20 0.10 1.50
polar_light_dir 0 0 1.64
sky_blend_power 3.00
to see the second sun look where the shadows are going
EDIT: if you don't know how to put this in a inc file and use it go here VV
http://forum.toribash.com/showthread.php?t=19862
EDIT2: no comments ._.
Last edited by Pirate_old; Jan 14, 2008 at 11:30 PM.