/SoC_u3shaders

Shaders for Stalker SoC

Primary LanguageC

SoC_u3shaders
=============
Shaders for Stalker SoC
Author: Piotr "utak3r" Borys
Version: 2.2
Released: not released yet

Most of the code is taken from Call of Pripyat,
highly modified then by me.
There're also portions of code from other modders.
Special thanks go to DeamonJax for his briliant ideas
(mainly the sunshafts code).

In order to use high resolution shadowmaps, please
add -smap2048 (or other value) to your start script.
It could look for example like this:

@bin\XR_3DA.exe -nointro -nocache -noprefetch -smap2048


Recommended settings for R2 with these shaders:
===============================================
r2_aa off
r2_aa_break 0.000000,0.000000,0.000000
r2_aa_kernel 0.7
r2_aa_weight 1.000000,0.067500,0.000000
r2_allow_r1_lights off
r2_gi off
r2_gi_clip 0.001
r2_gi_depth 1
r2_gi_photons 16
r2_gi_refl 0.7
r2_gloss_factor 3.
r2_ls_bloom_fast on
r2_ls_bloom_kernel_b 0.65
r2_ls_bloom_kernel_g 3.
r2_ls_bloom_kernel_scale 0.8
r2_ls_bloom_speed 40.
r2_ls_bloom_threshold 0.2
r2_ls_depth_bias -0.0001
r2_ls_depth_scale 1.00001
r2_ls_dsm_kernel 0.8
r2_ls_psm_kernel 0.8
r2_ls_squality 1.
r2_ls_ssm_kernel 1.
r2_mblur 0.03
r2_parallax_h 0.5
r2_slight_fade 1.
r2_ssa_lod_a 64.
r2_ssa_lod_b 48.
r2_sun on
r2_sun_depth_far_bias 0.
r2_sun_depth_far_scale 1.
r2_sun_depth_near_bias -0.00012
r2_sun_depth_near_scale 1.00001
r2_sun_details on
r2_sun_focus on
r2_sun_lumscale 1.
r2_sun_lumscale_amb 1.
r2_sun_lumscale_hemi 1.
r2_sun_near 45.
r2_sun_near_border 1.
r2_sun_tsm off
r2_sun_tsm_bias -0.05
r2_sun_tsm_proj 0.18
r2_tf_mipbias 0.
r2_tonemap on
r2_tonemap_adaptation 2.5
r2_tonemap_amount 0.6
r2_tonemap_lowlum 0.45
r2_tonemap_middlegray 0.62
r2_wait_sleep 0
r2_zfill off
r2_zfill_depth 0.1
r2em 0.
r__detail_density 0.2
r__geometry_lod 1.
r__supersample 2
r__tf_aniso 16
renderer renderer_r2