realitymod / RealityShaders

Shader updates for Project Reality: Battlefield 2.
https://www.realitymod.com/
8 stars 1 forks source link
graphics-programming hlsl shaders

RealityShaders

About

RealityShaders is an HLSL shader overhaul for Project Reality: Battlefield 2. RealityShaders introduces many graphical updates that did not make it into the Refactor 2 Engine.

RealityShaders also includes .fxh files that contain algorithms used in the collection.

Features

Shader Model 3.0

Shader Model 3.0 allows modders to add more grapical updates into the game, such as:

Updated BF2Editor Shaders

The Shader Model 3.0 update allows BF2Editor to support updated dependencies and Large Address Aware.

Distance-Based Fog

This fogging method eliminates "corner-peeking".

Half-Lambert Lighting

Valve Software's smoother version of the Lambertian Term used in lighting.

Logarithmic Depth Buffer

Logarithmic depth buffering eliminates flickering within distant objects.

Per-Pixel Lighting

Per-pixel lighting allows sharper lighting and smoother fogging.

Modernized Post-Processing

This shader package includes updated thermal and suppression effects.

Procedural Sampling

No more visible texture repetition off-map terrain.

Sharpened Filtering

Support for 16x anisotropic filtering.

Coding Convention

Acknowledgment