Skip to content

A collection of mods that add 3D Shader Based scope support to GAMMA weapons and other weapon packs

Notifications You must be signed in to change notification settings

Redotix/GAMMA-3D-Shader-Based-Scopes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

GAMMA-3D-Shader-Based-Scopes

AS OF GAMMA 0.9.3, THE BASE FILE OF 3DSS FOR GAMMA COMES WITH THE MAIN GAMMA INSTALL, AS WELL AS SOME 3DSS MODS. YOU SHOULD ONLY NEED TO DOWNLOAD AND INSTALL THE MAIN 3DSS FILE TO UPDATE 3DSS BEFORE IT IS UPDATED IN GAMMA. MOST OPTIONAL DOWNLOADS ARE NOT INCLUDED IN GAMMA.

A collection of mods that add 3D Shader Based scope support to GAMMA weapons and other weapon packs

Credits

Andtheherois - creating all these packs
Party50 - creating the original 3DSS mod
NLTP_ASHES- creating the lense hiding script
LVuter - massive help with EXE edits and Shaders
Redotix - EXE edits

Downloads

DO NOT USE THE MODDB VERSION OF THIS MOD. IT IS HIGHLY OUT OF DATE AND I AM TOO LAZY TO UPDATE IT. YOU SHOULD BE USING THE 3DSS VERSION LINKED BELOW.

3DSS for GAMMA This is the main mod, it is required if you want to install any other 3DSS packs. YOU DO NOT NEED ANY OTHER PACKS FOR THIS TO WORK WITH GAMMA. The rest are optional.

Compatibility mods

These add 3DSS compatibility for other mods, you need the original mods to use these.


Standalone mods

These are weapon mods that aleady have 3DSS built in and are self contained. A few of these mods are already included with the base GAMMA install. ATHI Note: this list is not up to date on all of my 3DSS mods. Check out my repos for all the mods.


Dependencies

Follow these steps before installing 3DSS for GAMMA. The install guide is further below. This is a test to see if you can read.

NOTE: After GAMMA's 0.9.3 update, none of these steps will be necesseray as this will all be default in GAMMA. Updated will be the same as installing any other mod. For now just deal with the process. or wait until December's update if it's too much.

  1. Mark Switch Install through MO2 like any other mod. This should be loaded before 3DSSG.
  2. Meowie's scope textures Install through MO2 like any other mod. Load after 3DSS.
  3. Latest Version of Demonized modded EXEs
  4. DISABLE **137 - Auto-Zoomed Out Scope Draw - Demonized** IN MO2
  5. DISABLE **342 - Desert Eagle Gunslinger Port - Dizmok & Pieuvre** IN MO2. Install Desert Eagle Reanimated by TheShinyHaxorus. Make sure it loads after 271 - GAMMA Large Files (lower on the mod list).
  6. Install AK Family Reanimation Reanimated by NickolasNikova. Make sure it loads after 271 - GAMMA Large Files (lower on the mod list).
  7. Install Desert Tech MDR Pack by Bert and Andtheherois. Make sure it loads BEFORE 3DSS.
  8. Install BRN-180 AR by Juan Jmerc. Make sure it loads BEFORE 3DSS.

Installation Guide for 3D Shader Scopes (3DSS) in GAMMA

Russian Tutorial

Prerequisites

Make sure you have completed all the steps from the Dependencies section before proceeding.

Installation Steps

  1. Install 3DSS for GAMMA

    • Prioritize this installation lower than ALL weapon mods.
    • Ensure 3DSS for GAMMA loads before any other 3DSS mods.
    • No weapon mods should be placed between any of the 3DSS mods in the load order.
  2. Install Other 3DSS Mods

    • Install other 3DSS mods after GAMMA Scopes.
    • You do not need to download the compatibility patch "3DSS-For-BAS22" if you have vanilla GAMMA
    • Some mods may require the original versions to function. These original mods are not included unless specified in the Standalone section.
  3. Delete Shader Cache

    • Navigate to Anomaly > appdata > shaders_cache and delete the folder.
  4. Configure Mod Settings

    • In the main menu, go to Settings > Modded EXEs, and ensure 3D Shader Scopes Enable is turned on.
    • If this option isn't available, open the console and enter:
      r__3Dfakescope 1
  5. Enable Smooth Zoom for Shader Scopes

    • In the same settings menu, enable Shader Scopes Smooth Zoom by turning on:
      new_zoom_enable
  6. Adjust Graphics Settings

    • Disable SMAA and Anti-Aliasing in the Stalker graphics settings.
    • Use your GPU control panel to enable Anti-Aliasing (AA) or adjust scope magnification through the MCM menu if the scope resolution is too low.

Follow these steps to ensure proper installation and configuration of 3D Shader Scopes in GAMMA.

Example load order image

TO DO

  • Fix SSS ghosting
  • - PARTIALLY DONE
  • Fix Reshade ghosting
  • Fix Beef NVG tube switching
  • (can be fixed by using Improved Beef's NVGs mod)
  • Clean up code
  • - DONE
  • Remove the need for a lense hiding script
  • (lol no)
  • Merge exe edits with Demonized repo
  • - DONE
  • Deal with transparent/emissive objects showing up inside scopes
  • - DONE
  • Fix various low poly scope windows
  • - DONE

LOOKING FOR HELP

If anyone understands graphics programming and the stalker source that wants to help, here are the rendering issues that I was not able to solve:
  • Currently the mod requires 3 different lenses with 3 different shaders to be defined in the ogf file, this could be improved by only defining a single lense which we then render 3 times in the engine, this however requires all 3 shaders to be defined and precompiled inside the game engine as to my knowledge its not possible to force render with a shader that is compiled at runtime
  • The shader thats responsible for restoring the zbuffer inside the scope has ztesting turned off, as the ztest always failed since the lense contained the depth information of whats behind the scope. Preffarably it would be nice to fix it so we can ztest (or use a stencil test) because lenses are sometimes deep inside a scope, causing them to be rendere over the top of the socpe (currently we just disable the 3rd lense while not aiming down sights)
  • The Biggest issue currently is that our "zoom effect" we do inside the scope only affects the color render target and therefor doesnt zoom in the image inside the zbuffer or the position rt, this causes some effects from SSS and effects from Reshade that use the zbuffer to render incorrecly inside the scope. I dont know how to fix this as I wasnt able to sample the zbuffer or the position rt inside the reticle pixel shader

If you need me to clarify anything about any of these issues or you want to try and help us solve them, please contact me on discord: redotix99

About

A collection of mods that add 3D Shader Based scope support to GAMMA weapons and other weapon packs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published