├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── README-ru.md
└── README.md
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 | Please submit only one weapon/bug per issue report and check if the report doesnt already exist first.
13 |
14 | **Weapon and mod**
15 | Please tell us exactly what mod this weapon is from and what weapon and scope youre using
16 |
17 | **Screenshots**
18 | If applicable, add screenshots to help explain your problem.
19 |
--------------------------------------------------------------------------------
/README-ru.md:
--------------------------------------------------------------------------------
1 | # GAMMA-3D-Shader-Based-Scopes
2 | Коллекция аддонов, которая добавляет 3D Shader Scopes к оружию GAMMA и прочим оружейным пакам
3 |
4 |
Авторы
5 | Andtheherois - создание паков
6 | Party50 - создание оригинального аддона 3DSS
7 | NLTP_ASHES- создание скрипта на скытие линзы
8 | LVuter - огромная помощь с редактированием EXE-шников и с шейдерами
9 | Redotix - редактирование EXE-шников
10 | FoxEternal - перевод инструкций на русский
11 |
12 | Зависимости
13 | Что нужно для работы 3DSS.
14 |
15 | - Mark Switch. Установите, как любой другой мод в МО2, и поставьте выше 3DSS for GAMMA в списке.
16 | - Meowie's scope textures. Установите, как любой другой мод в МО2.
17 | - Скачайте последнюю версию Anomaly Modded exes на странице Releases.
18 | - ОТКЛЮЧИТЕ АДДОН **137- Auto-Zoomed Out Scope Draw - Demonized** В MO2.
19 | - ОТКЛЮЧИТЕ АДДОН **342 - Desert Eagle Gunslinger Port - Dizmok & Pieuvre** В МО2. Установите Desert Eagle Reanimated от TheShinyHaxorus. Убедитесь, что установлен в конце списка, после файлов GAMMA.
20 | - Установите AK Family Reanimation Reanimated от NickolasNikova. Убедитесь, что загружается после GAMMA Large Files (ниже по списку аддонов).
21 |
22 |
23 | Загрузки
24 |
25 | 3DSS for GAMMA
26 | Это основной аддон, нужный для установки каких либо других 3DSS паков, перечисленных для вашего выбора ниже.
27 |
28 | Оружейные аддоны и их аддоны для совместимости с 3DSS
29 | Ничего из нижеперечисленных аддонов является обязательным, но к каждому оружейному аддону с 3DSS НУЖЕН оригинал.
30 |
61 |
62 | Автономные аддоны
63 | Эти оружейные паки уже включают в себя 3DSS.
64 |
152 |
153 | Инструкция по установке
154 |
155 |
156 | - 1. Сделайте всё из списка Зависимостей
157 | - 2. Установите 3DSS for GAMMA и Mark Switch Эти аддоны должны находиться как можно ниже в списке приоритета (большее число справа), ниже ВСЕХ оружейных аддонов, если скачали.
158 | - - Не должно быть НИКАКИХ оружейных аддонов между какими либо аддонами 3DSS.
159 | - - Устанавливайте другие 3DSS аддоны ПОД 3DSS for GAMMA. ВЫ ДОЛЖНЫ УСТАНОВИТЬ ОРИГИНАЛЬНЫЕ АДДОНЫ. 3DSS ВЕРСИИ НЕ ВКЛЮЧАЮТ В СЕБЯ ОРИГИНАЛЬНЫЕ АДДОНЫ!
160 | - 3. Установите взятые по выбору аддоны Примерное нахождение аддонов такое:
161 | - - Аддоны GAMMA
162 | - - Ваши аддоны, если есть
163 | - - Оригиналы оружейных паков, если скачали
164 | - - Mark Switch
165 | - - 3D SHADER SCOPES FOR GAMMA
166 | - - 3DSS аддоны для оружейных паков, которые скачали
167 | - 4. Удалите папку "shaders_cache" в своей папке "Anomaly\appdata"
168 | - 5. В главном меню игры, зайдите в Настройки > Modded Exes и убедитесь в том, что ВКЛЮЧЁН "Включение 3D Shader Scope (r__3Dfakescope)", или введите в консоль "r__3dfakescope on".
169 | - 6. В этом же меню ВКЛЮЧИТЕ "Shader Scopes плавный зум (new_zoom_enable)
170 | - 7. Убедитесь, что SMAA и Сглаживание(Anti-Aliasing) **отключены** в Настройках Видео
171 |
172 |
173 | Визуальный пример списка аддонов
174 | 
175 |
176 |
177 | TO DO (не перевёл kekw)
178 |
179 | - Fix Reshade ghosting
180 | - Fix Beef NVG tube switching
181 | - Remove the need for a lens hiding script
182 |
183 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # GAMMA-3D-Shader-Based-Scopes
2 |
3 | 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.
4 |
5 | A collection of mods that add 3D Shader Based scope support to GAMMA weapons and other weapon packs
6 |
7 | Credits
8 | Andtheherois - creating all these packs
9 | Party50 - creating the original 3DSS mod
10 | NLTP_ASHES- creating the lense hiding script
11 | LVuter - massive help with EXE edits and Shaders
12 | Redotix - EXE edits
13 |
14 | Downloads
15 |
16 | 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.
17 |
18 | 3DSS for GAMMA
19 | 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.
20 |
21 | Compatibility mods
22 | These add 3DSS compatibility for other mods, you need the original mods to use these.
23 |
49 |
50 | Standalone mods
51 | 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.
52 |
143 |
144 | Dependencies
145 | Follow these steps before installing 3DSS for GAMMA. The install guide is further below. This is a test to see if you can read.
146 |
147 | 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.
148 |
149 |
150 | - Mark Switch Install through MO2 like any other mod. This should be loaded before 3DSSG.
151 | - Meowie's scope textures Install through MO2 like any other mod. Load after 3DSS.
152 | - Latest Version of Demonized modded EXEs
153 | - DISABLE **137 - Auto-Zoomed Out Scope Draw - Demonized** IN MO2
154 | - 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).
155 | - Install AK Family Reanimation Reanimated by NickolasNikova. Make sure it loads after 271 - GAMMA Large Files (lower on the mod list).
156 | - Install Desert Tech MDR Pack by Bert and Andtheherois. Make sure it loads BEFORE 3DSS.
157 | - Install BRN-180 AR by Juan Jmerc. Make sure it loads BEFORE 3DSS.
158 |
159 |
160 | # Installation Guide for 3D Shader Scopes (3DSS) in GAMMA
161 | Russian Tutorial
162 |
163 | ## Prerequisites
164 | Make sure you have completed all the steps from the **Dependencies** section before proceeding.
165 |
166 | ## Installation Steps
167 |
168 | 1. **Install 3DSS for GAMMA**
169 | - Prioritize this installation lower than **ALL** weapon mods.
170 | - Ensure **3DSS for GAMMA** loads **before** any other 3DSS mods.
171 | - No weapon mods should be placed between any of the 3DSS mods in the load order.
172 |
173 | 2. **Install Other 3DSS Mods**
174 | - Install other 3DSS mods **after** GAMMA Scopes.
175 | - You do not need to download the compatibility patch "3DSS-For-BAS22" if you have vanilla GAMMA
176 | - Some mods may require the original versions to function. These original mods are **not included** unless specified in the **Standalone** section.
177 |
178 | 3. **Delete Shader Cache**
179 | - Navigate to `Anomaly > appdata > shaders_cache` and delete the folder.
180 |
181 | 4. **Configure Mod Settings**
182 | - In the main menu, go to `Settings > Modded EXEs`, and ensure **3D Shader Scopes Enable** is turned **on**.
183 | - If this option isn't available, open the console and enter:
184 | ```console
185 | r__3Dfakescope 1
186 | ```
187 |
188 | 5. **Enable Smooth Zoom for Shader Scopes**
189 | - In the same settings menu, enable **Shader Scopes Smooth Zoom** by turning on:
190 | ```console
191 | new_zoom_enable
192 | ```
193 |
194 | 6. **Adjust Graphics Settings**
195 | - Disable **SMAA** and **Anti-Aliasing** in the Stalker graphics settings.
196 | - 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.
197 |
198 | ---
199 |
200 | Follow these steps to ensure proper installation and configuration of 3D Shader Scopes in GAMMA.
201 |
202 | Example load order
203 | 
204 |
205 |
206 | TO DO
207 |
208 | - Fix SSS ghosting
- PARTIALLY DONE
209 | - Fix Reshade ghosting
210 | - Fix Beef NVG tube switching
(can be fixed by using Improved Beef's NVGs mod)
211 | - Clean up code
- DONE
212 | - Remove the need for a lense hiding script
(lol no)
213 | - Merge exe edits with Demonized repo
- DONE
214 | - Deal with transparent/emissive objects showing up inside scopes
- DONE
215 | - Fix various low poly scope windows
- DONE
216 |
217 |
218 | LOOKING FOR HELP
219 | 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:
220 |
221 |
222 | - 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
223 | - 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)
224 | - 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
225 |
226 |
227 | 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
228 |
--------------------------------------------------------------------------------