Ankor's Jan 2018 Shaders for CFS3
This incredible addition to CFS3 was begun by Andrey Korchinskiy in December of 2013 and was originally intended to become part of WOFF so that it could access DX9 functionality making it compatible with the SweetFX shader injector. Since then it has grown to be so much more that it's easy to forget that it still provides the bridge to using SweetFX in CFS3. It's major features are:
External Views
Aircraft Self Shadowing
Anti-alias Aircraft Shadows On The Ground
Tree and Building Shadows
Dynamic Lighting
Environmental Reflections
Horizon Line Haze Blending
Eliminated In Cloud Square Border
Bump Mapping
Ability To Add Shading Textures To Aircraft That Don't Reference Them In Their Model File
Realistic Water Rendering
Cloud and Terrain Shadows
Adjustable Field Of View Angle
Adjustable Night Sprite Effects Levels
Searchlights
Self-Illuminating Secenery Objects
Altitude Controlled Track Effects
Tree Rendering with Alpha Transparency Effects
Cockpit Views
Dynamic Reticles With Variable Range Settings and Dimmer Function
Variable Mouse View Controls
Mouse Scroll Zoom
Cockpit Lighting
Luminous Gages
Improved TrackIR Image Rendering
Performance Enhancements
Multi-Processor CPU Management
Modern Rendering Optimizations
Cfs3config.exe No Longer Needed Everytime Video Drivers Update
Automatically Eliminates Dual Pass Rendering Conflict
Auto Generates Mip Maps
*** Installation ***
***. PLEASE MAKE A BACK-UP OF ANYTHING YOU'RE GOING TO REPLACE! ***
These files are installed into the CFS3 main directory:
d3d8.dll
d3d8.ini
Optional - suneffect.xml
shaders30 Folder containing
Clouds.fx
Fog.fx
Generic.fx
GroundShadow.fx
Light.fx
Models.fx
RenderShadows.fx
Scenery.fx
SeaWater.fx
Skybox.fx
Terrain.fx
Texture.fx
TextureMagic.ini
Optional - effects\fxtextures Folder containing my modified water effects files
h2od_01.dds
h2od_02.dds
h2od_03.dds
h2od_04.dds
h2od_05.dds
h2od_06.dds
h2od_07.dds
h2od_08.dds
h2od_09.dds
h2od_10.dds
h2od_11.dds
h2od_12.dds
h2od_13.dds
h2od_14.dds
h2od_15.dds
h2od_16.dds
59 assorted Dynamic Reticle Files
- effects\weather Folder containing my modified sun effects files
sun.dds
sun_corona.dds
sun_glare_a.dds
sun_glare_b.dds
sun_glare_c.dds
sun_glare_d.dds
sun_main.dds
These files can also be easily placed into JSGME for easy installation and removal.
*** Warning ***
This package includes some of my personal modifications, including new water files in the Effects folder, and a couple of adjusted .fx files in the Shader30 folder, and the suneffect.xml. These adjusted .fx files include several new variables near their tops that will let you fine tune the look of some of the effects (explained in more detail in the Developer ReadMe). The suggested values are listed in the comments for the variable.
The foamamount value in SeaWater.fx is dependent on the water files you're using and is the cut-off brightness that switches the rendering animation from water to foam. Using a different set of water files than the ones I've included will most likely require you to change this value.
The TextureMagic.ini file has the list of my animated gunsite files already included. The bottom of this file is where you can make edits to customize what will be included or not in the auto-adjustemnt of special effect brightnesses at night to fit your particular installation.
I've also edited several settings in the d3d8.ini like the FOV that you may want to change to fit your particular set-up better since I'm running at an extra wide 3440 x 1440 resolution.
2018 Changes: The code was updated to stop night sprites from being mistakenly drawn during the second rendering pass during the day.
Head Shake calculated from the cockpit and gunner station locations. As the aircraft maneuvers your view is shifted in response to the g-forces being experienced. d3d8.ini contains new parameters to control the intesity of this effect, and it can now be dialed up or down as a percentage or switched completely off as well.
The conflict with Dual Pass Render is now automatically corrected.
There is a new Dimmer function for the dynamic gunsight reticles. The keys to control this, and the reticle size can now be customized in d3d8.ini.
Mouse Look activates in the cockpit when you move the mouse allowing you to dynamically change your view direction. If you stop moving the mouse it will rotate back to the default forward view direction after a preset time. Mouse look can be switched on/off in-game by clicking RIGHT mouse button and it starts OFF by default. So to use mouse look you will need to right-click the mouse once.
Mouse Scroll Wheel Zoom works like using the [ and ] keys. The step size and smoothness of the transition between levels is set in the d3d8.ini.
This version also fixes the old "sky-colored triangles at edges of the screen" issue caused by head rotation when using TrackIR.
Improved CPU utilization.
Altitude Controlled Track Effects are now available so contrails only show up at their appropriate altitudes.
Self-Illumination capability has been expanded to allow even black surfaces to display a light map. This will let you have lights shown on parts of scenery objects like building windows.
MajorMagee
This incredible addition to CFS3 was begun by Andrey Korchinskiy in December of 2013 and was originally intended to become part of WOFF so that it could access DX9 functionality making it compatible with the SweetFX shader injector. Since then it has grown to be so much more that it's easy to forget that it still provides the bridge to using SweetFX in CFS3. It's major features are:
External Views
Aircraft Self Shadowing
Anti-alias Aircraft Shadows On The Ground
Tree and Building Shadows
Dynamic Lighting
Environmental Reflections
Horizon Line Haze Blending
Eliminated In Cloud Square Border
Bump Mapping
Ability To Add Shading Textures To Aircraft That Don't Reference Them In Their Model File
Realistic Water Rendering
Cloud and Terrain Shadows
Adjustable Field Of View Angle
Adjustable Night Sprite Effects Levels
Searchlights
Self-Illuminating Secenery Objects
Altitude Controlled Track Effects
Tree Rendering with Alpha Transparency Effects
Cockpit Views
Dynamic Reticles With Variable Range Settings and Dimmer Function
Variable Mouse View Controls
Mouse Scroll Zoom
Cockpit Lighting
Luminous Gages
Improved TrackIR Image Rendering
Performance Enhancements
Multi-Processor CPU Management
Modern Rendering Optimizations
Cfs3config.exe No Longer Needed Everytime Video Drivers Update
Automatically Eliminates Dual Pass Rendering Conflict
Auto Generates Mip Maps
*** Installation ***
***. PLEASE MAKE A BACK-UP OF ANYTHING YOU'RE GOING TO REPLACE! ***
These files are installed into the CFS3 main directory:
d3d8.dll
d3d8.ini
Optional - suneffect.xml
shaders30 Folder containing
Clouds.fx
Fog.fx
Generic.fx
GroundShadow.fx
Light.fx
Models.fx
RenderShadows.fx
Scenery.fx
SeaWater.fx
Skybox.fx
Terrain.fx
Texture.fx
TextureMagic.ini
Optional - effects\fxtextures Folder containing my modified water effects files
h2od_01.dds
h2od_02.dds
h2od_03.dds
h2od_04.dds
h2od_05.dds
h2od_06.dds
h2od_07.dds
h2od_08.dds
h2od_09.dds
h2od_10.dds
h2od_11.dds
h2od_12.dds
h2od_13.dds
h2od_14.dds
h2od_15.dds
h2od_16.dds
59 assorted Dynamic Reticle Files
- effects\weather Folder containing my modified sun effects files
sun.dds
sun_corona.dds
sun_glare_a.dds
sun_glare_b.dds
sun_glare_c.dds
sun_glare_d.dds
sun_main.dds
These files can also be easily placed into JSGME for easy installation and removal.
*** Warning ***
This package includes some of my personal modifications, including new water files in the Effects folder, and a couple of adjusted .fx files in the Shader30 folder, and the suneffect.xml. These adjusted .fx files include several new variables near their tops that will let you fine tune the look of some of the effects (explained in more detail in the Developer ReadMe). The suggested values are listed in the comments for the variable.
The foamamount value in SeaWater.fx is dependent on the water files you're using and is the cut-off brightness that switches the rendering animation from water to foam. Using a different set of water files than the ones I've included will most likely require you to change this value.
The TextureMagic.ini file has the list of my animated gunsite files already included. The bottom of this file is where you can make edits to customize what will be included or not in the auto-adjustemnt of special effect brightnesses at night to fit your particular installation.
I've also edited several settings in the d3d8.ini like the FOV that you may want to change to fit your particular set-up better since I'm running at an extra wide 3440 x 1440 resolution.
2018 Changes: The code was updated to stop night sprites from being mistakenly drawn during the second rendering pass during the day.
Head Shake calculated from the cockpit and gunner station locations. As the aircraft maneuvers your view is shifted in response to the g-forces being experienced. d3d8.ini contains new parameters to control the intesity of this effect, and it can now be dialed up or down as a percentage or switched completely off as well.
The conflict with Dual Pass Render is now automatically corrected.
There is a new Dimmer function for the dynamic gunsight reticles. The keys to control this, and the reticle size can now be customized in d3d8.ini.
Mouse Look activates in the cockpit when you move the mouse allowing you to dynamically change your view direction. If you stop moving the mouse it will rotate back to the default forward view direction after a preset time. Mouse look can be switched on/off in-game by clicking RIGHT mouse button and it starts OFF by default. So to use mouse look you will need to right-click the mouse once.
Mouse Scroll Wheel Zoom works like using the [ and ] keys. The step size and smoothness of the transition between levels is set in the d3d8.ini.
This version also fixes the old "sky-colored triangles at edges of the screen" issue caused by head rotation when using TrackIR.
Improved CPU utilization.
Altitude Controlled Track Effects are now available so contrails only show up at their appropriate altitudes.
Self-Illumination capability has been expanded to allow even black surfaces to display a light map. This will let you have lights shown on parts of scenery objects like building windows.
MajorMagee