Iīve just updated the scripts to work with the 22 shaders converted by BoH_Havoc, who kindly allowed me to add them to the package.

This Update allows you to use up to 9 Post-Processing Effects at the same time using Sylex 3.0 and A6 Comm.

It includes the following functions:

SLX3_Init(Titel);
-Initializes Sylex3 and registers the View called camera. Titel is the A6 window titel.

userdef_exit();
-Deinitializes Sylex3 and shuts down the A6 Engine.

SLX3_VideoSwitch(Mode,Depth,Window);
-For changing the videomode. Use it instead of video_switch() but on the same way

SLX3_4XDownsample();
-Makes an 4x Downsample of the scene. It speeds up the Postprocessing.

SLX3_2XDownsample();
-Makes an 2x Downsample of the scene. It speeds up the Postprocessing.

SLX3_Upsample();
-Brings the scene back to itīs original size.

SLX3_Bloom(HBLOOM,VBLOOM);
-Activates the Bloom Feature. HBLOOM is the horizontal Bloom strength and VBLOOM the vertical one

SLX3_Bloom_Strength(HBLOOM,VBLOOM);
-You can use this to change the bloom strenght if Bloom is already activated.

SLX3_Blur(HBLUR,VBLUR);
-Activates the Blur Feature. HBLUR is the horizontal Blur strength and VBLUR the vertical one

SLX3_Blur_Strength(HBLUR,VBLUR);
-You can use this to change the blur strenght if Blur is already activated.

SLX3_Monochrom();
-Makes the screen black and white

SLX3_InvertColor();
-Inverts the Colors

SLX3_SimpleBlur();
-A very simple Blur in both directions.

SLX3_OwnPPE(Speed,Seconds,Effect_File,BMAP_File)
-A custom Post-Processing effect. Time is the time period for wich itīs there. The effect is endless if you set time = -1. Speed is the speed of the effect movement. Set it to 0 if you donīt want it to
move.
BMAP_File is the file of bumpmap wich is sometimes needed for disorting.
Set BMAP_File = 0, if the effect donīt need it.
Effect_File, has to be a .fx file inluding the post-processing shader youīd like to use.
XeXes constributed a shader together with Sylex 3.0. The effect file is in the SLX3Content Folder
and itīs called rain_drops.fx. The effect even needs a Bumpmap. It is in the Sylex3 folder and itīs
called Raindrops.jpg. So if the effect should go for 10 seconds with a speed of 0.1 the function has
to look like this:
SLX3_OwnPPE(0.1,10,"SLX3Content/rain_drops.fx","Sylex3/Raindrops.jpg");

SLX3_PPE_Reset();
-Deactivates all Postprocessing.

SLX3_Sky()
-Action for the Sylex 3.0 Skyobject. You have to assign it to a dummy model in WED.

SLX3ObjectDelete(10);
-Deletes the Skyobject. You have to do this before loading a new Level.

SLX3_Water()
-Action for the Sylex 3.0 Waterobject. Assign it to a flat terrain in WED.


Download


Sorry for my bad English, I hope itīs understandable^^.
Have Fun!!

Last edited by Slin; 01/30/07 16:49.