note about SSAO

master
Lee Salzman 2012-04-17 19:25:13 +03:00
parent 0743e6c986
commit 35c6807cdb
3 changed files with 6 additions and 3 deletions

5
README
View File

@ -44,6 +44,10 @@ sunlightpitch
You can also set sunlightyaw and sunlightpitch from your current direction with the following command:
getsundir
Screen-space ambient occlusion affects mostly ambient light and to a lesser degree sunlight,
but it does not affect point lights. If you want to make use of SSAO in your map, just use
the ambient command to set an appropriate ambient light color/intensity.
To make refractive alpha cubes:
First mark the cubes with the alpha material. Use valpha or texalpha to set the transparency level as normal.
Then use either of the following commands:
@ -52,4 +56,3 @@ K is the strength of the refraction, on a scale of 0 to 1, 1 meaning distortion
The direction of the distortion is taken from the normal-map of the texture.
R G B are optional and specify a color for the refraction, with each component being on a scale of 0 to 1 as well.

View File

@ -1 +1 @@
start bin\tesseract.exe "-q$HOME\My Games\Tesseract" -k..\Sauerbraten\packages -ktesseract -glog.txt %*
start bin\tesseract.exe "-q$HOME\My Games\Tesseract" -ksauerbraten\packages -ktesseract -glog.txt %*

View File

@ -9,7 +9,7 @@ TESS_BIN=${TESS_DATA}/bin_unix
# TESS_OPTIONS contains any command line options you would like to start Tesseract with.
#TESS_OPTIONS="-f"
TESS_OPTIONS="-q${HOME}/.tesseract -k../sauerbraten/packages -ktesseract"
TESS_OPTIONS="-q${HOME}/.tesseract -ksauerbraten/packages -ktesseract"
# SYSTEM_NAME should be set to the name of your operating system.
#SYSTEM_NAME=Linux