Ranking
Original Post
How to insert shader codes!
Well, a lot of people have been having troubles with this, so i decided to make a small tutorial.

First of all your gonna need to have a shader compatible computer, if you don't stop reading this and don't waste your time.

Now i will show you what a "shader code" is..

background_color -1.00 -1.00 -1.00
mirror_color -1 .75
floor_color 0.80 0.85
sunshine_color 0.00 0.00 1.00
ambient_color 1.00 1.00 1.00
fog_distance 46.00
sharp_shadow 0
sky_on 1
ambient_light_dir 0.00 0.71 0.71
sun_light_dir 0.00 0.97 0.25
sunbeam_color 0.00 0.50 1.00
sun_color 2.00 2.00 2.00
sky_color -10.00
polar_light_color 0.00 0.00 0.00
polar_light_dir 0.00 0.00 0.00
sky_blend_power 0.00
NOW, to turn that into a shader you need to do the following steps...

FIRST STEP!


SECOND STEP!


THIRD STEP!


FOURTH STEP!


FIFTH STEP!


ok, now that you have the wordpad/notepad open, highlite these numbers(and copy +paste them) into the wordpad file. >

background_color -1.00 -1.00 -1.00
mirror_color -1 .75
floor_color 0.80 0.85
sunshine_color 0.00 0.00 1.00
ambient_color 1.00 1.00 1.00
fog_distance 46.00
sharp_shadow 0
sky_on 1
ambient_light_dir 0.00 0.71 0.71
sun_light_dir 0.00 0.97 0.25
sunbeam_color 0.00 0.50 1.00
sun_color 2.00 2.00 2.00
sky_color -10.00
polar_light_color 0.00 0.00 0.00
polar_light_dir 0.00 0.00 0.00
sky_blend_power 0.00

once you have done that... it should look like this...


NOW, THIS PART IS VERY IMPORTANT

YOU MUST DO THIS IN ORDER TO USE THE SHADER LISTED ABOVE.



WOOT.

for the final step, you can rename it to whatever you want!



BUT, sometimes rename doesn't work. And it says something like if you rename this file it may not work properly, then all you have to do is, press 'Save as' instead of save. Then you can name it whatever you want.




The in-game command for shaders is.. /lws nameofshader.inc

EXAMPLE /lws sunrise.inc
/lws blackholesun.inc

Good luck!
~Pirate
Last edited by Pirate_old; Dec 26, 2007 at 01:46 AM.
Very nice, and helpful too.
"I have not told half of what I saw." ~ Marco Polo
Then your computer i guess can not handle the 'good looking sun' If you are so in love with the colors of blackholesun just edit the inc file so it says 'sharp_shadows 0'.
?????
Um... I did everything it said but... It still does nothing... It pauses then does nothing. And when I move the shaders to 1 it doesn't do anything.
Your shaders don't work. Post something about it in the support thread, but before you make a new thread make sure you use the search button to see if the question has been asked before.
pirate you are the greatest! always helping people with their problems. I think you are toribash's brightest member. +rep XD