From 7cdc185f8cc16cd836c470382b093549d4d751a0 Mon Sep 17 00:00:00 2001 From: HyperspaceMadness Date: Tue, 28 Feb 2023 08:02:52 -0500 Subject: [PATCH] Mega Bezel V1.11.0_2023-02-25 Changes: * Guest Advanced updated to crt-guest-advanced-2023-02-25-release1 * Improvements to the new Magic Glow feature * Turn Magic Glow on and Increase the Glow amount to see the effect * New Slot Mask Mitigation option to reduce moire * Added/Restored Guest's Raster Bloom as well as Overscan control * Updated Comments in presets to use # instead of // as per @hunterk's request * Added rotation option for Rotate CRT Tube: * -1 = 90 Degrees Clockwise (or 270 Counter Clockwise) * 0 = No Rotation * 1 = 90 Degrees Counter Clockwise * Added groundwork for the wildcard replacement feature so presets will auto rotate and not flip in the future * Added DREZ presets which keep the horizontal resolution * Helpful for applying to modern games, these two are good to try * `Presets\Base_CRT_Presets_DREZ\MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp` * `Presets\Base_CRT_Presets_DREZ\MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp` * Also looks good on MVC2, try `Presets\Base_CRT_Presets_DREZ\MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp` * Updated preset capability and performance table * Added contrast for signal noise * Added some more Sinden presets for SCREEN-ONLY and POTATO * Added Screen Region to Resolution Debug text * Good for getting the screen region pixel coordinates if you need them * Adjusted Ambient Lighting Scaling when using the Inherit Zoom scale mode * Now when you zoom out it is much less likely to generate a black frame covering the outer parts of the background image * The minimum size of the lighting texture will be close to the height of the current viewport * This reduces the likelihood that we will see the cutoff * ScaleFx: Exposed more of the settings so they can be tweaked * Default Settings changed: * ScaleFx Threshold: now 0.43 (was 0.5) * ScaleFx Filter Corners: now 0 (was 1) * These settings result in a slighly clearer picture and less rounding of square corners * SMOOTH-ADV ntsc presets: ntsc_scale adjusted so it visually matches the regular ADV ntsc presets --- .../MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp | 410 +------------- .../MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp | 401 +------------- .../MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp | 462 +--------------- .../MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp | 435 +-------------- .../MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp | 391 +------------- ..._0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp | 441 +-------------- .../MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp | 423 +-------------- ..._0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp | 386 +------------ .../MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp | 359 +------------ ...MOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp | 361 +------------ ..._0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp | 343 +----------- ...0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp | 372 +------------ ...MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp | 345 +----------- ...OOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp | 347 +----------- ...0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp | 329 +----------- .../MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp | 444 +-------------- .../MBZ__0__SMOOTH-ADV__GDV.slangp | 417 +-------------- .../MBZ__0__SMOOTH-ADV__LCD-GRID.slangp | 373 +------------ .../MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp | 419 +-------------- .../MBZ__0__SMOOTH-ADV__MEGATRON.slangp | 401 +------------- .../MBZ__1__ADV-RESHADE-FX__GDV.slangp | 487 +---------------- .../MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp | 486 +---------------- .../MBZ__1__ADV-SUPER-XBR__GDV.slangp | 459 +--------------- .../MBZ__1__ADV__EASYMODE.slangp | 343 +----------- .../MBZ__1__ADV__GDV-MINI-NTSC.slangp | 353 +----------- .../MBZ__1__ADV__GDV-MINI.slangp | 334 +----------- .../MBZ__1__ADV__GDV-NTSC.slangp | 396 +------------- .../Base_CRT_Presets/MBZ__1__ADV__GDV.slangp | 368 +------------ .../MBZ__1__ADV__LCD-GRID.slangp | 329 +----------- .../MBZ__1__ADV__MEGATRON-NTSC.slangp | 371 +------------ .../MBZ__1__ADV__MEGATRON.slangp | 352 +----------- .../MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp | 505 +----------------- ...Z__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp | 504 +---------------- .../MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp | 477 +---------------- .../MBZ__2__ADV-GLASS__EASYMODE.slangp | 361 +------------ .../MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp | 371 +------------ .../MBZ__2__ADV-GLASS__GDV-MINI.slangp | 352 +----------- .../MBZ__2__ADV-GLASS__GDV-NTSC.slangp | 414 +------------- .../MBZ__2__ADV-GLASS__GDV.slangp | 386 +------------ .../MBZ__2__ADV-GLASS__LCD-GRID.slangp | 347 +----------- .../MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp | 393 +------------- .../MBZ__2__ADV-GLASS__MEGATRON.slangp | 374 +------------ ..._ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp | 428 +-------------- ...Z__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp | 401 +------------- .../MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp | 338 +----------- .../MBZ__2__ADV-NO-REFLECT__GDV.slangp | 310 +---------- ...Z__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp | 313 +---------- .../MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp | 294 +--------- ...ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp | 414 +------------- ...__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp | 387 +------------- ...__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp | 281 +--------- .../MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp | 262 +-------- .../MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp | 324 +---------- .../MBZ__2__ADV-SCREEN-ONLY__GDV.slangp | 296 +--------- ...__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp | 299 +---------- .../MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp | 280 +--------- ...Z__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp | 502 +---------------- .../MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp | 461 +--------------- .../MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp | 337 +----------- .../MBZ__3__STD-GLASS__GDV-MINI.slangp | 304 +---------- .../MBZ__3__STD-GLASS__GDV-NTSC.slangp | 380 +------------ .../MBZ__3__STD-GLASS__GDV.slangp | 338 +----------- .../MBZ__3__STD-GLASS__LCD-GRID.slangp | 299 +---------- .../MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp | 359 +------------ .../MBZ__3__STD-GLASS__MEGATRON.slangp | 326 +---------- .../MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp | 483 +---------------- .../MBZ__3__STD-SUPER-XBR__GDV.slangp | 411 +------------- .../MBZ__3__STD__EASYMODE.slangp | 295 +--------- .../MBZ__3__STD__GDV-MINI-NTSC.slangp | 319 +---------- .../MBZ__3__STD__GDV-MINI.slangp | 286 +--------- .../MBZ__3__STD__GDV-NTSC.slangp | 452 +--------------- .../Base_CRT_Presets/MBZ__3__STD__GDV.slangp | 320 +---------- .../MBZ__3__STD__LCD-GRID.slangp | 281 +--------- .../MBZ__3__STD__MEGATRON-NTSC.slangp | 337 +----------- .../MBZ__3__STD__MEGATRON.slangp | 304 +---------- ..._STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp | 426 +-------------- ...Z__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp | 385 +------------ .../MBZ__4__STD-NO-REFLECT__EASYMODE.slangp | 237 +------- ...Z__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp | 261 +-------- .../MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp | 228 +------- .../MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp | 304 +---------- .../MBZ__4__STD-NO-REFLECT__GDV.slangp | 262 +-------- .../MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp | 223 +------- ...Z__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp | 279 +--------- .../MBZ__4__STD-NO-REFLECT__MEGATRON.slangp | 246 +-------- ...STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp | 412 +------------- ...__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp | 371 +------------ .../MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp | 223 +------- ...__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp | 247 +-------- .../MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp | 214 +------- .../MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp | 290 +--------- .../MBZ__4__STD-SCREEN-ONLY__GDV.slangp | 338 +----------- .../MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp | 299 +---------- ...__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp | 265 +-------- .../MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp | 232 +------- .../MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp | 346 +----------- .../MBZ__5__POTATO-SUPER-XBR__GDV.slangp | 305 +---------- .../MBZ__5__POTATO__EASYMODE.slangp | 154 +----- .../MBZ__5__POTATO__GDV-MINI-NTSC.slangp | 154 +----- .../MBZ__5__POTATO__GDV-MINI.slangp | 121 +---- .../MBZ__5__POTATO__GDV-NTSC.slangp | 221 +------- .../MBZ__5__POTATO__GDV.slangp | 179 +------ .../MBZ__5__POTATO__LCD-GRID.slangp | 140 +---- .../MBZ__5__POTATO__MEGATRON-NTSC.slangp | 201 +------ .../MBZ__5__POTATO__MEGATRON.slangp | 168 +----- .../MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp | 408 ++++++++++++++ .../MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp | 399 ++++++++++++++ .../MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp | 462 ++++++++++++++++ .../MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp | 433 +++++++++++++++ .../MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp | 389 ++++++++++++++ ..._0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp | 441 +++++++++++++++ .../MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp | 421 +++++++++++++++ ..._0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp | 386 +++++++++++++ .../MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp | 357 +++++++++++++ ...MOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp | 361 +++++++++++++ ..._0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp | 341 ++++++++++++ ...0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp | 372 +++++++++++++ ...MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp | 343 ++++++++++++ ...OOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp | 347 ++++++++++++ ...0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp | 327 ++++++++++++ .../MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp | 444 +++++++++++++++ .../MBZ__0__SMOOTH-ADV__GDV.slangp | 415 ++++++++++++++ .../MBZ__0__SMOOTH-ADV__LCD-GRID.slangp | 371 +++++++++++++ .../MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp | 419 +++++++++++++++ .../MBZ__0__SMOOTH-ADV__MEGATRON.slangp | 399 ++++++++++++++ .../MBZ__1__ADV-RESHADE-FX__GDV.slangp | 485 +++++++++++++++++ .../MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp | 486 +++++++++++++++++ .../MBZ__1__ADV-SUPER-XBR__GDV.slangp | 457 ++++++++++++++++ .../Root_Presets/MBZ__1__ADV__EASYMODE.slangp | 341 ++++++++++++ .../MBZ__1__ADV__GDV-MINI-NTSC.slangp | 351 ++++++++++++ .../Root_Presets/MBZ__1__ADV__GDV-MINI.slangp | 332 ++++++++++++ .../Root_Presets/MBZ__1__ADV__GDV-NTSC.slangp | 394 ++++++++++++++ .../Root_Presets/MBZ__1__ADV__GDV.slangp | 366 +++++++++++++ .../Root_Presets/MBZ__1__ADV__LCD-GRID.slangp | 327 ++++++++++++ .../MBZ__1__ADV__MEGATRON-NTSC.slangp | 369 +++++++++++++ .../Root_Presets/MBZ__1__ADV__MEGATRON.slangp | 350 ++++++++++++ .../MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp | 503 +++++++++++++++++ ...Z__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp | 504 +++++++++++++++++ .../MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp | 475 ++++++++++++++++ .../MBZ__2__ADV-GLASS__EASYMODE.slangp | 359 +++++++++++++ .../MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp | 369 +++++++++++++ .../MBZ__2__ADV-GLASS__GDV-MINI.slangp | 350 ++++++++++++ .../MBZ__2__ADV-GLASS__GDV-NTSC.slangp | 412 ++++++++++++++ .../MBZ__2__ADV-GLASS__GDV.slangp | 384 +++++++++++++ .../MBZ__2__ADV-GLASS__LCD-GRID.slangp | 345 ++++++++++++ .../MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp | 391 ++++++++++++++ .../MBZ__2__ADV-GLASS__MEGATRON.slangp | 372 +++++++++++++ ..._ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp | 428 +++++++++++++++ ...Z__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp | 399 ++++++++++++++ .../MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp | 336 ++++++++++++ .../MBZ__2__ADV-NO-REFLECT__GDV.slangp | 308 +++++++++++ ...Z__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp | 311 +++++++++++ .../MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp | 292 ++++++++++ ...ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp | 414 ++++++++++++++ ...__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp | 385 +++++++++++++ ...__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp | 279 ++++++++++ .../MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp | 260 +++++++++ .../MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp | 322 +++++++++++ .../MBZ__2__ADV-SCREEN-ONLY__GDV.slangp | 294 ++++++++++ ...__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp | 297 ++++++++++ .../MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp | 278 ++++++++++ ...Z__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp | 502 +++++++++++++++++ .../MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp | 459 ++++++++++++++++ .../MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp | 335 ++++++++++++ .../MBZ__3__STD-GLASS__GDV-MINI.slangp | 302 +++++++++++ .../MBZ__3__STD-GLASS__GDV-NTSC.slangp | 378 +++++++++++++ .../MBZ__3__STD-GLASS__GDV.slangp | 336 ++++++++++++ .../MBZ__3__STD-GLASS__LCD-GRID.slangp | 297 ++++++++++ .../MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp | 357 +++++++++++++ .../MBZ__3__STD-GLASS__MEGATRON.slangp | 324 +++++++++++ .../MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp | 393 ++++++++++++++ .../MBZ__3__STD-SUPER-XBR__GDV.slangp | 409 ++++++++++++++ .../Root_Presets/MBZ__3__STD__EASYMODE.slangp | 293 ++++++++++ .../MBZ__3__STD__GDV-MINI-NTSC.slangp | 317 +++++++++++ .../Root_Presets/MBZ__3__STD__GDV-MINI.slangp | 284 ++++++++++ .../Root_Presets/MBZ__3__STD__GDV-NTSC.slangp | 360 +++++++++++++ .../Root_Presets/MBZ__3__STD__GDV.slangp | 318 +++++++++++ .../Root_Presets/MBZ__3__STD__LCD-GRID.slangp | 279 ++++++++++ .../MBZ__3__STD__MEGATRON-NTSC.slangp | 335 ++++++++++++ .../Root_Presets/MBZ__3__STD__MEGATRON.slangp | 302 +++++++++++ ..._STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp | 426 +++++++++++++++ ...Z__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp | 383 +++++++++++++ .../MBZ__4__STD-NO-REFLECT__EASYMODE.slangp | 235 ++++++++ ...Z__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp | 259 +++++++++ .../MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp | 226 ++++++++ .../MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp | 302 +++++++++++ .../MBZ__4__STD-NO-REFLECT__GDV.slangp | 260 +++++++++ .../MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp | 221 ++++++++ ...Z__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp | 277 ++++++++++ .../MBZ__4__STD-NO-REFLECT__MEGATRON.slangp | 244 +++++++++ ...STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp | 412 ++++++++++++++ ...__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp | 369 +++++++++++++ .../MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp | 221 ++++++++ ...__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp | 245 +++++++++ .../MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp | 212 ++++++++ .../MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp | 288 ++++++++++ .../MBZ__4__STD-SCREEN-ONLY__GDV.slangp | 246 +++++++++ .../MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp | 207 +++++++ ...__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp | 263 +++++++++ .../MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp | 230 ++++++++ .../MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp | 346 ++++++++++++ .../MBZ__5__POTATO-SUPER-XBR__GDV.slangp | 303 +++++++++++ .../MBZ__5__POTATO__EASYMODE.slangp | 152 ++++++ .../MBZ__5__POTATO__GDV-MINI-NTSC.slangp | 152 ++++++ .../MBZ__5__POTATO__GDV-MINI.slangp | 119 +++++ .../MBZ__5__POTATO__GDV-NTSC.slangp | 219 ++++++++ .../Root_Presets/MBZ__5__POTATO__GDV.slangp | 177 ++++++ .../MBZ__5__POTATO__LCD-GRID.slangp | 138 +++++ .../MBZ__5__POTATO__MEGATRON-NTSC.slangp | 199 +++++++ .../MBZ__5__POTATO__MEGATRON.slangp | 166 ++++++ ..._0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp | 455 +--------------- ..._0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp | 455 +--------------- ...__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp | 449 +--------------- .../MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp | 428 +-------------- .../MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp | 407 +------------- .../MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp | 407 +------------- ...V__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp | 2 + ...V__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp | 2 + ...V__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + .../MBZ__1__ADV__GDV__DREZ-1080p.slangp | 379 +------------ .../MBZ__1__ADV__GDV__DREZ-224p.slangp | 379 +------------ .../MBZ__1__ADV__GDV__DREZ-240p.slangp | 379 +------------ .../MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp | 400 +------------- .../MBZ__1__ADV__GDV__DREZ-480p.slangp | 379 +------------ .../MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp | 395 +------------- .../MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp | 393 +------------- .../MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp | 393 +------------- ...DV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp | 2 + ...DV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp | 2 + ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp | 2 + ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp | 2 + ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp | 2 + ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + ..._1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp | 361 +------------ ..._1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp | 356 +----------- ..._1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp | 354 +----------- ...Z__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp | 327 +----------- ...Z__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp | 330 +----------- ...V-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp | 2 + ...V-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + .../MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp | 294 +--------- .../MBZ__3__STD__GDV-MINI__DREZ-240p.slangp | 294 +--------- .../MBZ__3__STD__GDV-MINI__DREZ-480p.slangp | 297 +--------- ...BZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp | 2 + ...D__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp | 2 + ...D__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + .../MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp | 373 +------------ .../MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp | 373 +------------ ...D__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp | 2 + ...D__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + .../MBZ__3__STD__GDV__DREZ-1080p.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-224p.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-240p.slangp | 331 +----------- ...BZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-480p.slangp | 331 +----------- ...BZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp | 331 +----------- .../MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp | 331 +----------- ...STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp | 2 + ...STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp | 2 + .../MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp | 2 + ...3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp | 2 + ...3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp | 2 + ...3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + ..._3__STD__LCD-GRID__DREZ-3DS-400x480.slangp | 292 +--------- ..._3__STD__LCD-GRID__DREZ-NDS-256x384.slangp | 292 +--------- ..._3__STD__LCD-GRID__DREZ-PSP-480x272.slangp | 292 +--------- ...LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp | 2 + ...5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp | 164 +----- ...V-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + ...MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp | 125 +---- ...O__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + ...MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp | 231 +------- ..._5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp | 2 + ...O__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + .../MBZ__5__POTATO__GDV__DREZ-480p.slangp | 189 +------ .../MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp | 2 + ...POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp | 2 + ..._0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp | 448 ++++++++++++++++ ..._0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp | 448 ++++++++++++++++ ...__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp | 440 +++++++++++++++ .../MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp | 419 +++++++++++++++ .../MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp | 398 ++++++++++++++ .../MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp | 398 ++++++++++++++ ...V__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp | 401 ++++++++++++++ ...V__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp | 401 ++++++++++++++ ...V__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 401 ++++++++++++++ .../MBZ__1__ADV__GDV__DREZ-1080p.slangp | 370 +++++++++++++ .../MBZ__1__ADV__GDV__DREZ-224p.slangp | 370 +++++++++++++ .../MBZ__1__ADV__GDV__DREZ-240p.slangp | 370 +++++++++++++ .../MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp | 391 ++++++++++++++ .../MBZ__1__ADV__GDV__DREZ-480p.slangp | 370 +++++++++++++ .../MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp | 386 +++++++++++++ .../MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp | 384 +++++++++++++ .../MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp | 384 +++++++++++++ ...DV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp | 384 +++++++++++++ ...DV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp | 384 +++++++++++++ ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp | 372 +++++++++++++ ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp | 372 +++++++++++++ ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp | 372 +++++++++++++ ...1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp | 372 +++++++++++++ ..._1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp | 352 ++++++++++++ ..._1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp | 347 ++++++++++++ ..._1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp | 345 ++++++++++++ ...Z__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp | 321 +++++++++++ ...Z__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp | 321 +++++++++++ ...V-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp | 324 +++++++++++ ...V-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 324 +++++++++++ .../MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp | 285 ++++++++++ .../MBZ__3__STD__GDV-MINI__DREZ-240p.slangp | 285 ++++++++++ .../MBZ__3__STD__GDV-MINI__DREZ-480p.slangp | 288 ++++++++++ ...BZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp | 285 ++++++++++ ...D__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp | 287 ++++++++++ ...D__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp | 290 ++++++++++ .../MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp | 364 +++++++++++++ .../MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp | 364 +++++++++++++ ...D__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp | 367 +++++++++++++ ...D__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 367 +++++++++++++ .../MBZ__3__STD__GDV__DREZ-1080p.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-224p.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-240p.slangp | 322 +++++++++++ ...BZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-480p.slangp | 322 +++++++++++ ...BZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp | 322 +++++++++++ .../MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp | 322 +++++++++++ ...STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp | 336 ++++++++++++ ...STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp | 336 ++++++++++++ .../MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp | 322 +++++++++++ ...3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp | 324 +++++++++++ ...3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp | 324 +++++++++++ ...3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp | 324 +++++++++++ ..._3__STD__LCD-GRID__DREZ-3DS-400x480.slangp | 283 ++++++++++ ..._3__STD__LCD-GRID__DREZ-NDS-256x384.slangp | 283 ++++++++++ ..._3__STD__LCD-GRID__DREZ-PSP-480x272.slangp | 283 ++++++++++ ...LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp | 285 ++++++++++ ...5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp | 153 ++++++ ...V-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 166 ++++++ ...MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp | 114 ++++ ...O__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp | 119 +++++ ...MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp | 220 ++++++++ ..._5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp | 223 ++++++++ ...O__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp | 226 ++++++++ .../MBZ__5__POTATO__GDV__DREZ-480p.slangp | 178 ++++++ .../MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp | 178 ++++++ ...POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp | 183 +++++++ .../Newpixie-Clone__SMOOTH-ADV__GDV.slangp | 2 +- .../Newpixie-Clone__STD__GDV.slangp | 6 +- .../Royale-Clone__ADV-GLASS__GDV.slangp | 2 +- .../CRT-Flavors/Royale-Clone__ADV__GDV.slangp | 2 +- .../Dual-Screen-3DS__ADV__LCD-GRID.slangp | 2 +- .../Dual-Screen-3DS__STD-NO-REFLECT.slangp | 4 +- ...creen-3DS__STD-NO-REFLECT__LCD-GRID.slangp | 4 +- .../Dual-Screen-DS__ADV-NO-REFLECT.slangp | 4 +- .../Dual-Screen-DS__ADV__LCD-GRID.slangp | 4 +- ...DS__ADV__LCD-GRID__DREZ-NDS-256x384.slangp | 4 +- .../Dual-Screen-DS__STD-NO-REFLECT.slangp | 4 +- ...Screen-DS__STD-NO-REFLECT__LCD-GRID.slangp | 4 +- .../Variations/FBNEO-Vertical__STD.slangp | 2 +- .../Megatron/_params/megatron-sdr.params | 2 +- .../N64__SMOOTH-ADV__DREZ-480p.slangp | 10 +- .../Presets/Variations/N64__STD.slangp | 10 +- .../Variations/SharpPixels__STD.slangp | 2 +- .../Smoothed/SMOOTH-ADV_1_Antialias.slangp | 2 +- .../Smoothed/SMOOTH-ADV_3_Extra-Smooth.slangp | 2 +- .../Smoothed/SMOOTH-ADV_4_Super-Smooth.slangp | 2 +- ...TH-ADV_5_Super-Smooth-Big-Scanlines.slangp | 2 +- ...ctor-BW-HighResMode-Horizontal__STD.slangp | 2 +- ...Vector-BW-HighResMode-Vertical__STD.slangp | 2 +- ...r-Color-HighResMode-Horizontal__STD.slangp | 2 +- ...tor-Color-HighResMode-Vertical__STD.slangp | 2 +- bezel/Mega_Bezel/README.md | 102 ++-- .../param_values/base/auto-settings.params | 2 + .../core-defaults/$VID-DRV$_$CORE$.params | 0 .../core-defaults/glcore_Beetle PSX HW.params | 1 + .../core-defaults/glcore_Flycast.params | 1 + .../core-defaults/glcore_Kronos.params | 1 + .../core-defaults/glcore_PCSX2.params | 1 + .../core-defaults/glcore_PPSSPP.params | 1 + .../core-defaults/glcore_ParaLLEl N64.params | 1 + .../core-defaults/glcore_YabaSanshiro.params | 1 + .../core-defaults/glcore_image display.params | 0 .../core-defaults/vulkan_image display.params | 0 .../$CORE-ASPECT-ORIENT$.params | 0 .../CORE-ASPECT-ORIENT-HORZ.params | 0 .../CORE-ASPECT-ORIENT-VERT.params | 0 .../tube-rotation/$CORE-REQ-ROT$.params | 0 .../tube-rotation/CORE-REQ-ROT-0.params | 1 + .../tube-rotation/CORE-REQ-ROT-180.params | 2 + .../tube-rotation/CORE-REQ-ROT-270.params | 1 + .../tube-rotation/CORE-REQ-ROT-90.params | 1 + .../viewport-flip/verticalflipped.params | 1 + .../viewport-flip/verticalnoflip.params | 1 + ...reset-00-Content-Dir-Fail-Check-Log.slangp | 7 + .../Preset-00-Content-Dir.slangp | 3 + .../Preset-01-Core-Fail-Check-Log.slangp | 7 + .../wildcard-examples/Preset-01-Core.slangp | 3 + .../Preset-02-Game-Fail-Check-Log.slangp | 7 + .../wildcard-examples/Preset-02-Game.slangp | 3 + ...reset-03-VideoDriver-Fail-Check-Log.slangp | 7 + .../Preset-03-VideoDriver.slangp | 3 + ...oreRequestedRotation-Fail-Check-Log.slangp | 7 + .../Preset-04-CoreRequestedRotation.slangp | 3 + ...deoAllowCoreRotation-Fail-Check-Log.slangp | 7 + .../Preset-05-VideoAllowCoreRotation.slangp | 3 + ...deoUserRotation-Fail-Check-Log copy.slangp | 7 + .../Preset-06-VideoUserRotation.slangp | 3 + ...7-VideoFinalRotation-Fail-Check-Log.slangp | 7 + .../Preset-07-VideoFinalRotation.slangp | 3 + ...08-ScreenOrientation-Fail-Check-Log.slangp | 7 + .../Preset-08-ScreenOrientation.slangp | 3 + ...ortAspectOrientation-Fail-Check-Log.slangp | 7 + ...Preset-09-ViewportAspectOrientation.slangp | 3 + ...oreAspectOrientation-Fail-Check-Log.slangp | 7 + .../Preset-10-CoreAspectOrientation.slangp | 3 + .../Preset-11-PresetDir-Fail-Check-Log.slangp | 7 + .../Preset-11-PresetDir.slangp | 3 + ...Preset-12-PresetName-Fail-Check-Log.slangp | 7 + .../Preset-12-PresetName.slangp | 3 + ...riverPresetExtension-Fail-Check-Log.slangp | 7 + ...reset-13-VideoDriverPresetExtension.slangp | 3 + ...riverShaderExtension-Fail-Check-Log.slangp | 7 + ...reset-14-VideoDriverShaderExtension.slangp | 3 + .../resource/wildcard-examples/Readme.md | 98 ++++ .../example-content/Example-Image.png | Bin 0 -> 2390 bytes .../Ref-00_$CONTENT-DIR$_.slangp | 3 + .../Ref-00_example-content_.slangp | 3 + .../referenced-presets/Ref-01_$CORE$_.slangp | 3 + .../Ref-01_image display_.slangp | 3 + .../referenced-presets/Ref-02_$GAME$_.slangp | 3 + .../Ref-02_Example-Image_.slangp | 3 + .../Ref-03_$VID-DRV$_.slangp | 3 + .../referenced-presets/Ref-03_glcore_.slangp | 3 + .../Ref-04_$CORE-REQ-ROT$_.slangp | 3 + .../Ref-04_CORE-REQ-ROT-0_.slangp | 3 + .../Ref-05_$VID-ALLOW-CORE-ROT$_.slangp | 3 + .../Ref-05_VID-ALLOW-CORE-ROT-OFF_.slangp | 3 + .../Ref-06_$VID-USER-ROT$_.slangp | 3 + .../Ref-06_VID-USER-ROT-0_.slangp | 3 + .../Ref-07_$VID-FINAL-ROT$_.slangp | 3 + .../Ref-07_VID-FINAL-ROT-0_.slangp | 3 + .../Ref-08_$SCREEN-ORIENT$_.slangp | 3 + .../Ref-08_SCREEN-ORIENT-0_.slangp | 3 + .../Ref-09_$VIEW-ASPECT-ORIENT$_.slangp | 3 + .../Ref-09_VIEW-ASPECT-ORIENT-HORZ_.slangp | 3 + .../Ref-10_$CORE-ASPECT-ORIENT$_.slangp | 3 + .../Ref-10_CORE-ASPECT-ORIENT-HORZ_.slangp | 3 + .../Ref-11_$PRESET-DIR$_.slangp | 3 + .../Ref-11_wildcard-examples_.slangp | 3 + .../Ref-12_$PRESET$_.slangp | 3 + .../Ref-12_Preset-12-PresetName_.slangp | 3 + .../Ref-13_$VID-DRV-PRESET-EXT$_.slangp | 3 + .../referenced-presets/Ref-13_slangp_.slangp | 3 + .../Ref-14_$VID-DRV-SHADER-EXT$_.slangp | 3 + .../referenced-presets/Ref-14_slang_.slangp | 3 + .../referenced-presets/Ref-Base.slangp | 1 + .../textures/Wildcard-Fallback-Background.png | Bin 0 -> 22027 bytes .../textures/Wildcard-Success-Background.png | Bin 0 -> 22790 bytes bezel/Mega_Bezel/shaders/ShaderTodo.txt | 41 +- .../shaders/base/add-params-all.slang | 1 - .../shaders/base/add-params-glass.slang | 1 - .../shaders/base/add-params-no-reflect.slang | 1 - .../shaders/base/add-params-potato.slang | 1 - bezel/Mega_Bezel/shaders/base/cache-info.inc | 8 +- .../shaders/base/common/common-functions.inc | 45 +- .../shaders/base/common/globals.inc | 14 +- .../shaders/base/common/helper-functions.inc | 7 +- .../base/common/params-0-screen-scale.inc | 18 +- bezel/Mega_Bezel/shaders/base/intro.inc | 14 +- bezel/Mega_Bezel/shaders/base/text.inc | 6 +- .../extras/hsm-drez-g-sharp_resampler.slang | 152 ++++++ .../hsm-pre-shaders-afterglow-grade.slang | 6 +- .../hsm-crt-guest-advanced-ntsc-pass1.inc | 4 +- .../hsm-crt-guest-advanced-ntsc-pass2.inc | 12 +- .../shaders/guest/hsm-crt-guest-advanced.inc | 90 +++- .../shaders/guest/hsm-deconvergence.inc | 151 ++++-- .../guest/hsm-gaussian_horizontal.slang | 37 +- .../guest/hsm-interlace-and-linearize.inc | 13 +- .../guest/hsm-pre-shaders-afterglow.slang | 13 +- ...hsm_crt-guest-advanced-release-version.txt | 2 +- .../crt-super-xbr/crt-super-xbr.slangp | 22 +- blurs/dual_filter_2_pass.slangp | 4 +- blurs/dual_filter_4_pass.slangp | 8 +- blurs/dual_filter_6_pass.slangp | 12 +- 488 files changed, 59192 insertions(+), 49683 deletions(-) create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__EASYMODE.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__LCD-GRID.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-1080p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-224p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-1080p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-224p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-480p.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp create mode 100644 bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp create mode 100644 bezel/Mega_Bezel/resource/param_values/base/auto-settings.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/$VID-DRV$_$CORE$.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Beetle PSX HW.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Flycast.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Kronos.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PCSX2.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PPSSPP.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_ParaLLEl N64.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_YabaSanshiro.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_image display.params create mode 100644 bezel/Mega_Bezel/resource/param_values/core-defaults/vulkan_image display.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/$CORE-ASPECT-ORIENT$.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/CORE-ASPECT-ORIENT-HORZ.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/CORE-ASPECT-ORIENT-VERT.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-rotation/$CORE-REQ-ROT$.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-0.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-180.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-270.params create mode 100644 bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-90.params create mode 100644 bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalflipped.params create mode 100644 bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalnoflip.params create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation-Fail-Check-Log copy.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension-Fail-Check-Log.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/Readme.md create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/example-content/Example-Image.png create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-00_$CONTENT-DIR$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-00_example-content_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-01_$CORE$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-01_image display_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-02_$GAME$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-02_Example-Image_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-03_$VID-DRV$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-03_glcore_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-04_$CORE-REQ-ROT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-04_CORE-REQ-ROT-0_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-05_$VID-ALLOW-CORE-ROT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-05_VID-ALLOW-CORE-ROT-OFF_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-06_$VID-USER-ROT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-06_VID-USER-ROT-0_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-07_$VID-FINAL-ROT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-07_VID-FINAL-ROT-0_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-08_$SCREEN-ORIENT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-08_SCREEN-ORIENT-0_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-09_$VIEW-ASPECT-ORIENT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-09_VIEW-ASPECT-ORIENT-HORZ_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-10_$CORE-ASPECT-ORIENT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-10_CORE-ASPECT-ORIENT-HORZ_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-11_$PRESET-DIR$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-11_wildcard-examples_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-12_$PRESET$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-12_Preset-12-PresetName_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-13_$VID-DRV-PRESET-EXT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-13_slangp_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-14_$VID-DRV-SHADER-EXT$_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-14_slang_.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/Ref-Base.slangp create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/textures/Wildcard-Fallback-Background.png create mode 100644 bezel/Mega_Bezel/resource/wildcard-examples/referenced-presets/textures/Wildcard-Success-Background.png create mode 100644 bezel/Mega_Bezel/shaders/guest/extras/hsm-drez-g-sharp_resampler.slang diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp index 01a8dd5..fae64aa 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp @@ -1,408 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear32 = false -srgb_framebuffer32 = true - -shader33 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear33 = false -srgb_framebuffer33 = true - -shader34 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear34 = false -srgb_framebuffer34 = true - -// Easymode's Shader! -shader35 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "CRTPass" - -g_gamma_out = 2.45 - -shader36 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader37 = ../../shaders/base/linearize-crt.slang -mipmap_input37 = true -filter_linear37 = true -scale_type37 = absolute -// scale_x37 = 480 -// scale_y37 = 270 -// scale_x37 = 960 -// scale_y37 = 540 -scale_x37 = 800 -scale_y37 = 600 -float_framebuffer37 = true -alias37 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input38 = true -filter_linear38 = true -float_framebuffer38 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader39 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear39 = true -float_framebuffer39 = true -alias39 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 128 -scale_y40 = 128 -float_framebuffer40 = true -alias40 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader41 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -scale_x41 = 12 -scale_y41 = 12 -float_framebuffer41 = true -alias41 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader42 = ../../shaders/base/reflection-glass.slang -scale_type42 = viewport -srgb_framebuffer42 = true -alias42 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Easymode Parameters -gamma_out = 2.2 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp index 98b8df8..01c970f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp @@ -1,399 +1,2 @@ -shaders = 41 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/base/delinearize.slang -scale_type32 = source -float_framebuffer32 = "true" - -shader33 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -filter_linear33 = true -float_framebuffer33 = "true" -alias33 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader34 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader35 = ../../shaders/base/linearize-crt.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -// scale_x35 = 480 -// scale_y35 = 270 -// scale_x35 = 960 -// scale_y35 = 540 -scale_x35 = 800 -scale_y35 = 600 -float_framebuffer35 = true -alias35 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader36 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input36 = true -filter_linear36 = true -float_framebuffer36 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear37 = true -float_framebuffer37 = true -alias37 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader38 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -scale_x38 = 128 -scale_y38 = 128 -float_framebuffer38 = true -alias38 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 12 -scale_y39 = 12 -float_framebuffer39 = true -alias39 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader40 = ../../shaders/base/reflection-glass.slang -scale_type40 = viewport -srgb_framebuffer40 = true -alias40 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp index 09a62e2..c720fd0 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp @@ -1,460 +1,2 @@ -shaders = 48 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = GlowPass - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = BloomPass - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader42 = ../../shaders/base/linearize-crt.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -// scale_x42 = 480 -// scale_y42 = 270 -// scale_x42 = 960 -// scale_y42 = 540 -scale_x42 = 800 -scale_y42 = 600 -float_framebuffer42 = true -alias42 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input43 = true -filter_linear43 = true -float_framebuffer43 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader44 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear44 = true -float_framebuffer44 = true -alias44 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 128 -scale_y45 = 128 -float_framebuffer45 = true -alias45 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader46 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input46 = true -filter_linear46 = true -scale_type46 = absolute -scale_x46 = 12 -scale_y46 = 12 -float_framebuffer46 = true -alias46 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader47 = ../../shaders/base/reflection-glass.slang -scale_type47 = viewport -srgb_framebuffer47 = true -alias47 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp index c5db8f8..787ed8d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp @@ -1,433 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = GlowPass - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = BloomPass - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader39 = ../../shaders/base/linearize-crt.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -// scale_x39 = 480 -// scale_y39 = 270 -// scale_x39 = 960 -// scale_y39 = 540 -scale_x39 = 800 -scale_y39 = 600 -float_framebuffer39 = true -alias39 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input40 = true -filter_linear40 = true -float_framebuffer40 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader41 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear41 = true -float_framebuffer41 = true -alias41 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 128 -scale_y42 = 128 -float_framebuffer42 = true -alias42 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader43 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input43 = true -filter_linear43 = true -scale_type43 = absolute -scale_x43 = 12 -scale_y43 = 12 -float_framebuffer43 = true -alias43 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader44 = ../../shaders/base/reflection-glass.slang -scale_type44 = viewport -srgb_framebuffer44 = true -alias44 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp index 4abd6c6..f3695c6 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp @@ -1,389 +1,2 @@ -shaders = 41 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/base/delinearize.slang -float_framebuffer32 = "true" - -shader33 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear33 = "false" -scale_type33 = "viewport" -scale33 = "1.0" -float_framebuffer33 = "true" -alias33 = "CRTPass" - -shader34 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader35 = ../../shaders/base/linearize-crt.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -// scale_x35 = 480 -// scale_y35 = 270 -// scale_x35 = 960 -// scale_y35 = 540 -scale_x35 = 800 -scale_y35 = 600 -float_framebuffer35 = true -alias35 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader36 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input36 = true -filter_linear36 = true -float_framebuffer36 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear37 = true -float_framebuffer37 = true -alias37 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader38 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -scale_x38 = 128 -scale_y38 = 128 -float_framebuffer38 = true -alias38 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 12 -scale_y39 = 12 -float_framebuffer39 = true -alias39 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader40 = ../../shaders/base/reflection-glass.slang -scale_type40 = viewport -srgb_framebuffer40 = true -alias40 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 100 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -ntsc_scale = 0.4 - -shadowMask = 3 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp index 552ea39..0d83523 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp @@ -1,439 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -float_framebuffer31 = true -alias31 = "PrePass" - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -float_framebuffer32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear34 = "false" -scale_type34 = "source" -scale34 = "1.0" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -alias34 = "SourceSDR" -float_framebuffer34 = "true" - -shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear35 = "false" -scale_type35 = "source" -scale35 = "1.0" -wrap_mode35 = "clamp_to_border" -mipmap_input35 = "false" -alias35 = "SourceHDR" -float_framebuffer35 = "true" - -shader36 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear36 = "false" -wrap_mode36 = "clamp_to_border" -mipmap_input36 = "false" -scale_type36 = "viewport" -float_framebuffer36 = "true" -alias36 = "CRTPass" - -shader37 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader38 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -// scale_x38 = 480 -// scale_y38 = 270 -// scale_x38 = 960 -// scale_y38 = 540 -scale_x38 = 800 -scale_y38 = 600 -float_framebuffer38 = true -alias38 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader39 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input39 = true -filter_linear39 = true -float_framebuffer39 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear40 = true -float_framebuffer40 = true -alias40 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader41 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -scale_x41 = 128 -scale_y41 = 128 -float_framebuffer41 = true -alias41 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 12 -scale_y42 = 12 -float_framebuffer42 = true -alias42 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader43 = ../../shaders/base/reflection-glass-hdr.slang -scale_type43 = viewport -alias43 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader44 = ../../shaders/base/output-hdr.slang -scale_type44 = viewport -alias44 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp index 5d2611d..49c28f7 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp @@ -1,421 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -float_framebuffer29 = true -alias29 = "PrePass" - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -float_framebuffer30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear32 = "false" -scale_type32 = "source" -scale32 = "1.0" -wrap_mode32 = "clamp_to_border" -mipmap_input32 = "false" -alias32 = "SourceSDR" -float_framebuffer32 = "true" - -shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear33 = "false" -scale_type33 = "source" -scale33 = "1.0" -wrap_mode33 = "clamp_to_border" -mipmap_input33 = "false" -alias33 = "SourceHDR" -float_framebuffer33 = "true" - -shader34 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear34 = "false" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -scale_type34 = "viewport" -float_framebuffer34 = "true" -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection-glass-hdr.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/output-hdr.slang -scale_type42 = viewport -alias42 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp index ff24b65..ea64aea 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp @@ -1,384 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = "GlowPass" - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = "BloomPass" - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader42 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "BR_LayersUnderCRTPass" - -shader43 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader44 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type44 = viewport -alias44 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp index 82982b0..bd189f5 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp @@ -1,357 +1,2 @@ -shaders = 42 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = "GlowPass" - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = "BloomPass" - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader39 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "BR_LayersUnderCRTPass" - -shader40 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader41 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type41 = viewport -alias41 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp index 47ebee2..f1ebeb8 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp @@ -1,359 +1,2 @@ -shaders = 41 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -float_framebuffer31 = true -alias31 = "PrePass" - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -float_framebuffer32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear34 = "false" -scale_type34 = "source" -scale34 = "1.0" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -alias34 = "SourceSDR" -float_framebuffer34 = "true" - -shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear35 = "false" -scale_type35 = "source" -scale35 = "1.0" -wrap_mode35 = "clamp_to_border" -mipmap_input35 = "false" -alias35 = "SourceHDR" -float_framebuffer35 = "true" - -shader36 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear36 = "false" -wrap_mode36 = "clamp_to_border" -mipmap_input36 = "false" -scale_type36 = "viewport" -float_framebuffer36 = "true" -alias36 = "CRTPass" - -shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader38 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "BR_LayersUnderCRTPass" - -shader39 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader40 = ../../shaders/base/combine-passes-no-reflect-hdr.slang -scale_type40 = viewport -alias40 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp index 1783194..07ac54b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp @@ -1,341 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -float_framebuffer29 = true -alias29 = "PrePass" - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -float_framebuffer30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear32 = "false" -scale_type32 = "source" -scale32 = "1.0" -wrap_mode32 = "clamp_to_border" -mipmap_input32 = "false" -alias32 = "SourceSDR" -float_framebuffer32 = "true" - -shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear33 = "false" -scale_type33 = "source" -scale33 = "1.0" -wrap_mode33 = "clamp_to_border" -mipmap_input33 = "false" -alias33 = "SourceHDR" -float_framebuffer33 = "true" - -shader34 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear34 = "false" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -scale_type34 = "viewport" -float_framebuffer34 = "true" -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader36 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "BR_LayersUnderCRTPass" - -shader37 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes-no-reflect-hdr.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp index b8e7b5d..f469cc9 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp @@ -1,370 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = "GlowPass" - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = "BloomPass" - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/output-sdr.slang -scale_type42 = viewport -alias42 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp index 57ea745..7cadbee 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp @@ -1,343 +1,2 @@ -shaders = 40 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = "GlowPass" - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = "BloomPass" - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader39 = ../../shaders/base/output-sdr.slang -scale_type39 = viewport -alias39 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp index 1f9a176..1d8d91e 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp @@ -1,345 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -float_framebuffer31 = true -alias31 = "PrePass" - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -float_framebuffer32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear34 = "false" -scale_type34 = "source" -scale34 = "1.0" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -alias34 = "SourceSDR" -float_framebuffer34 = "true" - -shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear35 = "false" -scale_type35 = "source" -scale35 = "1.0" -wrap_mode35 = "clamp_to_border" -mipmap_input35 = "false" -alias35 = "SourceHDR" -float_framebuffer35 = "true" - -shader36 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear36 = "false" -wrap_mode36 = "clamp_to_border" -mipmap_input36 = "false" -scale_type36 = "viewport" -float_framebuffer36 = "true" -alias36 = "CRTPass" - -shader37 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/output-hdr.slang -scale_type38 = viewport -alias38 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp index 9c77afe..1dcaed1 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp @@ -1,327 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -float_framebuffer29 = true -alias29 = "PrePass" - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -float_framebuffer30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear32 = "false" -scale_type32 = "source" -scale32 = "1.0" -wrap_mode32 = "clamp_to_border" -mipmap_input32 = "false" -alias32 = "SourceSDR" -float_framebuffer32 = "true" - -shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear33 = "false" -scale_type33 = "source" -scale33 = "1.0" -wrap_mode33 = "clamp_to_border" -mipmap_input33 = "false" -alias33 = "SourceHDR" -float_framebuffer33 = "true" - -shader34 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear34 = "false" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -scale_type34 = "viewport" -float_framebuffer34 = "true" -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/output-hdr.slang -scale_type36 = viewport -alias36 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp index 2d03572..afc14e2 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp @@ -1,442 +1,2 @@ -shaders = 51 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = GlowPass - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = BloomPass - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader42 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "BR_LayersUnderCRTPass" - -shader43 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader44 = ../../shaders/base/linearize-crt.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -// scale_x44 = 480 -// scale_y44 = 270 -// scale_x44 = 960 -// scale_y44 = 540 -scale_x44 = 800 -scale_y44 = 600 -float_framebuffer44 = true -alias44 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader45 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input45 = true -filter_linear45 = true -float_framebuffer45 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader46 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear46 = true -float_framebuffer46 = true -alias46 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader47 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input47 = true -filter_linear47 = true -scale_type47 = absolute -scale_x47 = 128 -scale_y47 = 128 -float_framebuffer47 = true -alias47 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader48 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input48 = true -filter_linear48 = true -scale_type48 = absolute -scale_x48 = 12 -scale_y48 = 12 -float_framebuffer48 = true -alias48 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader49 = ../../shaders/base/reflection.slang -scale_type49 = viewport -alias49 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader50 = ../../shaders/base/combine-passes.slang -scale_type50 = viewport -alias50 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp index cc88d57..522ba4f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp @@ -1,415 +1,2 @@ -shaders = 48 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = GlowPass - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = BloomPass - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader39 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "BR_LayersUnderCRTPass" - -shader40 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader41 = ../../shaders/base/linearize-crt.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -// scale_x41 = 480 -// scale_y41 = 270 -// scale_x41 = 960 -// scale_y41 = 540 -scale_x41 = 800 -scale_y41 = 600 -float_framebuffer41 = true -alias41 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader42 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input42 = true -filter_linear42 = true -float_framebuffer42 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear43 = true -float_framebuffer43 = true -alias43 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader44 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -scale_x44 = 128 -scale_y44 = 128 -float_framebuffer44 = true -alias44 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 12 -scale_y45 = 12 -float_framebuffer45 = true -alias45 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader46 = ../../shaders/base/reflection.slang -scale_type46 = viewport -alias46 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader47 = ../../shaders/base/combine-passes.slang -scale_type47 = viewport -alias47 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp index 1403d32..f48c11f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp @@ -1,371 +1,2 @@ -shaders = 44 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/base/delinearize.slang -float_framebuffer32 = "true" - -shader33 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear33 = "false" -scale_type33 = "viewport" -scale33 = "1.0" -float_framebuffer33 = "true" -alias33 = "CRTPass" - -shader34 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader35 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersUnderCRTPass" - -shader36 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader37 = ../../shaders/base/linearize-crt.slang -mipmap_input37 = true -filter_linear37 = true -scale_type37 = absolute -// scale_x37 = 480 -// scale_y37 = 270 -// scale_x37 = 960 -// scale_y37 = 540 -scale_x37 = 800 -scale_y37 = 600 -float_framebuffer37 = true -alias37 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input38 = true -filter_linear38 = true -float_framebuffer38 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader39 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear39 = true -float_framebuffer39 = true -alias39 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 128 -scale_y40 = 128 -float_framebuffer40 = true -alias40 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader41 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -scale_x41 = 12 -scale_y41 = 12 -float_framebuffer41 = true -alias41 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader42 = ../../shaders/base/reflection.slang -scale_type42 = viewport -alias42 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader43 = ../../shaders/base/combine-passes.slang -scale_type43 = viewport -alias43 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 100 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -ntsc_scale = 0.4 - -shadowMask = 3 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp index 8505394..177cfb3 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp @@ -1,417 +1,2 @@ -shaders = 47 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -float_framebuffer31 = true -alias31 = "PrePass" - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -float_framebuffer32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader34 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear34 = "false" -scale_type34 = "source" -scale34 = "1.0" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -alias34 = "SourceSDR" -float_framebuffer34 = "true" - -shader35 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear35 = "false" -scale_type35 = "source" -scale35 = "1.0" -wrap_mode35 = "clamp_to_border" -mipmap_input35 = "false" -alias35 = "SourceHDR" -float_framebuffer35 = "true" - -shader36 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear36 = "false" -wrap_mode36 = "clamp_to_border" -mipmap_input36 = "false" -scale_type36 = "viewport" -float_framebuffer36 = "true" -alias36 = "CRTPass" - -shader37 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader38 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "BR_LayersUnderCRTPass" - -shader39 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader40 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -// scale_x40 = 480 -// scale_y40 = 270 -// scale_x40 = 960 -// scale_y40 = 540 -scale_x40 = 800 -scale_y40 = 600 -float_framebuffer40 = true -alias40 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader41 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input41 = true -filter_linear41 = true -float_framebuffer41 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader42 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear42 = true -float_framebuffer42 = true -alias42 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader43 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input43 = true -filter_linear43 = true -scale_type43 = absolute -scale_x43 = 128 -scale_y43 = 128 -float_framebuffer43 = true -alias43 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader44 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -scale_x44 = 12 -scale_y44 = 12 -float_framebuffer44 = true -alias44 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader45 = ../../shaders/base/reflection.slang -scale_type45 = viewport -alias45 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader46 = ../../shaders/base/combine-passes-hdr.slang -scale_type46 = viewport -alias46 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp index 5f39b1b..b6073c9 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp @@ -1,399 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = refpass - -shader17 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear17 = false -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = scalefx_pass0 - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer12 = true - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear21 = false -scale_type21 = source -scale21 = 3 - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -float_framebuffer29 = true -alias29 = "PrePass" - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -float_framebuffer30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader32 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear32 = "false" -scale_type32 = "source" -scale32 = "1.0" -wrap_mode32 = "clamp_to_border" -mipmap_input32 = "false" -alias32 = "SourceSDR" -float_framebuffer32 = "true" - -shader33 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear33 = "false" -scale_type33 = "source" -scale33 = "1.0" -wrap_mode33 = "clamp_to_border" -mipmap_input33 = "false" -alias33 = "SourceHDR" -float_framebuffer33 = "true" - -shader34 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear34 = "false" -wrap_mode34 = "clamp_to_border" -mipmap_input34 = "false" -scale_type34 = "viewport" -float_framebuffer34 = "true" -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader36 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "BR_LayersUnderCRTPass" - -shader37 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader38 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -// scale_x38 = 480 -// scale_y38 = 270 -// scale_x38 = 960 -// scale_y38 = 540 -scale_x38 = 800 -scale_y38 = 600 -float_framebuffer38 = true -alias38 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader39 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input39 = true -filter_linear39 = true -float_framebuffer39 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear40 = true -float_framebuffer40 = true -alias40 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader41 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -scale_x41 = 128 -scale_y41 = 128 -float_framebuffer41 = true -alias41 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 12 -scale_y42 = 12 -float_framebuffer42 = true -alias42 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader43 = ../../shaders/base/reflection.slang -scale_type43 = viewport -alias43 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader44 = ../../shaders/base/combine-passes-hdr.slang -scale_type44 = viewport -alias44 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp index cbb61ce..bde11ad 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp @@ -1,485 +1,2 @@ -shaders = 51 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = "../../../../reshade/shaders/bloom/BloomPass0.slang" -filter_linear18 = "true" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "SamplerBloom1" -srgb_framebuffer18 = "false" -scale_type_x18 = "source" -scale_x18 = "4.000000" -scale_type_y18 = "source" -scale_y18 = "4.000000" -float_framebuffer18 = "true" - -shader19 = "../../../../reshade/shaders/bloom/BloomPass1.slang" -filter_linear19 = "true" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SamplerBloom2" -srgb_framebuffer19 = "false" -float_framebuffer19 = "true" - -shader20 = "../../../../reshade/shaders/bloom/BloomPass2.slang" -filter_linear20 = "true" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "SamplerBloom3" -float_framebuffer20 = "true" - -shader21 = "../../../../reshade/shaders/bloom/BloomPass3.slang" -filter_linear21 = "true" -wrap_mode21 = "clamp_to_border" -mipmap_input21 = "false" -alias21 = "SamplerBloom4" -float_framebuffer21 = "true" - -shader22 = "../../../../reshade/shaders/bloom/BloomPass4.slang" -filter_linear22 = "true" -wrap_mode22 = "clamp_to_border" -mipmap_input22 = "false" -alias22 = "SamplerBloom5" -float_framebuffer22 = "true" - -shader23 = "../../../../reshade/shaders/bloom/LensFlarePass0.slang" -filter_linear23 = "true" -wrap_mode23 = "clamp_to_border" -mipmap_input23 = "false" -alias23 = "LensFlare1" -float_framebuffer23 = "true" - -shader24 = "../../../../reshade/shaders/bloom/LensFlarePass1.slang" -filter_linear24 = "true" -wrap_mode24 = "clamp_to_border" -mipmap_input24 = "false" -alias24 = "LensFlare2" -float_framebuffer24 = "true" - -shader25 = "../../../../reshade/shaders/bloom/LensFlarePass2.slang" -filter_linear25 = "true" -wrap_mode25 = "clamp_to_border" -mipmap_input25 = "false" -alias25 = "LensFlare3" -float_framebuffer25 = "true" - -shader26 = "../../../../reshade/shaders/bloom/LightingCombine.slang" -filter_linear26 = "true" -wrap_mode26 = "clamp_to_border" -mipmap_input26 = "false" -alias26 = "" -scale_type_x26 = "source" -scale_x26 = "0.250000" -scale_type_y26 = "source" -scale_y26 = "0.250000" -float_framebuffer26 = "true" - -shader27 = ../../shaders/base/stock.slang -alias27 = "PreCRTPass" - -shader28 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -alias28 = "AfterglowPass" - -shader29 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear29 = true -scale_type29 = source -mipmap_input29 = true -scale29 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader30 = ../../shaders/dogway/hsm-grade.slang -filter_linear30 = false -scale_type30 = source -scale30 = 1.0 -alias30 = "ColorCorrectPass" - -shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 - -shader32 = ../../shaders/base/stock.slang -filter_linear32 = true -scale_type32 = source -scale_x32 = 1.0 -scale_y32 = 1.0 -alias32 = "PrePass" -mipmap_input32 = true - -shader33 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -mipmap_input33 = true -alias33 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear34 = true -scale_type34 = source -scale34 = 1.0 -float_framebuffer34 = true -alias34 = "LinearizePass" - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 800.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 800.0 -scale_type_y36 = absolute -scale_y36 = 600.0 -float_framebuffer36 = true -alias36 = GlowPass - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 800.0 -scale_type_y37 = absolute -scale_y37 = 600.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = source -scale_x38 = 1.0 -scale_type_y38 = source -scale_y38 = 1.0 -float_framebuffer38 = true -alias38 = BloomPass - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader42 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "BR_LayersUnderCRTPass" - -shader43 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader44 = ../../shaders/base/linearize-crt.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -// scale_x44 = 480 -// scale_y44 = 270 -// scale_x44 = 960 -// scale_y44 = 540 -scale_x44 = 800 -scale_y44 = 600 -float_framebuffer44 = true -alias44 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader45 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input45 = true -filter_linear45 = true -float_framebuffer45 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader46 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear46 = true -float_framebuffer46 = true -alias46 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader47 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input47 = true -filter_linear47 = true -scale_type47 = absolute -scale_x47 = 128 -scale_y47 = 128 -float_framebuffer47 = true -alias47 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader48 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input48 = true -filter_linear48 = true -scale_type48 = absolute -scale_x48 = 12 -scale_y48 = 12 -float_framebuffer48 = true -alias48 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader49 = ../../shaders/base/reflection.slang -scale_type49 = viewport -alias49 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader50 = ../../shaders/base/combine-passes.slang -scale_type50 = viewport -alias50 = "CombinePass" -// Define textures to be used by the different passes -textures = "Dirt;Sprite;SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -Dirt = ../../../../reshade/shaders/bloom/LensDB.png -Dirt_wrap_mode = "clamp_to_border" -Dirt_mipmap = "false" - -Sprite = ../../../../reshade/shaders/bloom/LensSprite.png -Sprite_wrap_mode = "clamp_to_border" -Sprite_mipmap = "false" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Reshade-FX -SGPT_BLEND_OPTION = 1 - -bLensdirtEnable_toggle = "1.000000" -bAnamFlareEnable_toggle = "1.000000" -bChapFlareEnable_toggle = "1.000000" -bGodrayEnable_toggle = "1.000000" -iBloomMixmode = "1.000000" -fBloomAmount = "1.500000" -fBloomSaturation = "1.100000" -fBloomTint_r = "1.000000" -fBloomTint_g = "0.500000" -fBloomTint_b = "0.800000" -iLensdirtMixmode = "1.000000" -fAnamFlareWideness = "1.200000" -fAnamFlareAmount = "2.500000" -fChapFlareIntensity = "10.000000" -fGodrayDecay = "0.999900" -fGodrayWeight = "0.400000" -fGodrayThreshold = "0.850000" -iGodraySamples = "48.000000" -fFlareLuminance = "0.875000" -fFlareBlur = "10000.000000" -fFlareIntensity = "1.570000" -fFlareTint_r = "1.000000" -fFlareTint_g = "1.000000" -glow = "0.000000" -gamma_c = "1.100000" -brightboost1 = "1.300000" -scanline2 = "15.000000" -beam_min = "1.999999" -shadowMask = "10.000000" -deconrr = "-1.000000" -deconrb = "1.000000" -deconrry = "-1.000000" -deconrby = "1.000000" -post_br = "1.100000" +#reference "Root_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp index 46521a3..27cf89b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp @@ -1,484 +1,2 @@ -shaders = 51 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = GlowPass - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = BloomPass - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader42 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "BR_LayersUnderCRTPass" - -shader43 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader44 = ../../shaders/base/linearize-crt.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -// scale_x44 = 480 -// scale_y44 = 270 -// scale_x44 = 960 -// scale_y44 = 540 -scale_x44 = 800 -scale_y44 = 600 -float_framebuffer44 = true -alias44 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader45 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input45 = true -filter_linear45 = true -float_framebuffer45 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader46 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear46 = true -float_framebuffer46 = true -alias46 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader47 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input47 = true -filter_linear47 = true -scale_type47 = absolute -scale_x47 = 128 -scale_y47 = 128 -float_framebuffer47 = true -alias47 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader48 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input48 = true -filter_linear48 = true -scale_type48 = absolute -scale_x48 = 12 -scale_y48 = 12 -float_framebuffer48 = true -alias48 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader49 = ../../shaders/base/reflection.slang -scale_type49 = viewport -alias49 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader50 = ../../shaders/base/combine-passes.slang -scale_type50 = viewport -alias50 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp index 00a4475..8ae6947 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp @@ -1,457 +1,2 @@ -shaders = 48 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = GlowPass - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = BloomPass - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader39 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "BR_LayersUnderCRTPass" - -shader40 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader41 = ../../shaders/base/linearize-crt.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -// scale_x41 = 480 -// scale_y41 = 270 -// scale_x41 = 960 -// scale_y41 = 540 -scale_x41 = 800 -scale_y41 = 600 -float_framebuffer41 = true -alias41 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader42 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input42 = true -filter_linear42 = true -float_framebuffer42 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear43 = true -float_framebuffer43 = true -alias43 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader44 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -scale_x44 = 128 -scale_y44 = 128 -float_framebuffer44 = true -alias44 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 12 -scale_y45 = 12 -float_framebuffer45 = true -alias45 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader46 = ../../shaders/base/reflection.slang -scale_type46 = viewport -alias46 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader47 = ../../shaders/base/combine-passes.slang -scale_type47 = viewport -alias47 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__EASYMODE.slangp index f4de797..c93066f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__EASYMODE.slangp @@ -1,341 +1,2 @@ -shaders = 40 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear26 = false -srgb_framebuffer26 = true - -shader27 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear27 = false -srgb_framebuffer27 = true - -shader28 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear28 = false -srgb_framebuffer28 = true - -// Easymode's Shader! -shader29 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "CRTPass" - -g_gamma_out = 2.45 - -shader30 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader31 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersUnderCRTPass" - -shader32 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader33 = ../../shaders/base/linearize-crt.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -// scale_x33 = 480 -// scale_y33 = 270 -// scale_x33 = 960 -// scale_y33 = 540 -scale_x33 = 800 -scale_y33 = 600 -float_framebuffer33 = true -alias33 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input34 = true -filter_linear34 = true -float_framebuffer34 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader35 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear35 = true -float_framebuffer35 = true -alias35 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 128 -scale_y36 = 128 -float_framebuffer36 = true -alias36 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader37 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input37 = true -filter_linear37 = true -scale_type37 = absolute -scale_x37 = 12 -scale_y37 = 12 -float_framebuffer37 = true -alias37 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader38 = ../../shaders/base/reflection.slang -scale_type38 = viewport -alias38 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader39 = ../../shaders/base/combine-passes.slang -scale_type39 = viewport -alias39 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Easymode Parameters -gamma_out = 2.2 +#reference "Root_Presets/MBZ__1__ADV__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp index b543676..12a859a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp @@ -1,351 +1,2 @@ -shaders = 40 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/base/delinearize.slang -scale_type28 = source -float_framebuffer28 = "true" - -shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type29 = viewport -scale_x29 = 1.0 -scale_y29 = 1.0 -filter_linear29 = true -float_framebuffer29 = "true" -alias29 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader30 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader31 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersUnderCRTPass" - -shader32 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader33 = ../../shaders/base/linearize-crt.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -// scale_x33 = 480 -// scale_y33 = 270 -// scale_x33 = 960 -// scale_y33 = 540 -scale_x33 = 800 -scale_y33 = 600 -float_framebuffer33 = true -alias33 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input34 = true -filter_linear34 = true -float_framebuffer34 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader35 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear35 = true -float_framebuffer35 = true -alias35 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 128 -scale_y36 = 128 -float_framebuffer36 = true -alias36 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader37 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input37 = true -filter_linear37 = true -scale_type37 = absolute -scale_x37 = 12 -scale_y37 = 12 -float_framebuffer37 = true -alias37 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader38 = ../../shaders/base/reflection.slang -scale_type38 = viewport -alias38 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader39 = ../../shaders/base/combine-passes.slang -scale_type39 = viewport -alias39 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI.slangp index 1431bc1..538002c 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-MINI.slangp @@ -1,332 +1,2 @@ -shaders = 38 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/base/delinearize.slang -scale_type26 = source -float_framebuffer26 = "true" - -shader27 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type27 = viewport -scale_x27 = 1.0 -scale_y27 = 1.0 -filter_linear27 = true -float_framebuffer27 = "true" -alias27 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader28 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader29 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "BR_LayersUnderCRTPass" - -shader30 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader31 = ../../shaders/base/linearize-crt.slang -mipmap_input31 = true -filter_linear31 = true -scale_type31 = absolute -// scale_x31 = 480 -// scale_y31 = 270 -// scale_x31 = 960 -// scale_y31 = 540 -scale_x31 = 800 -scale_y31 = 600 -float_framebuffer31 = true -alias31 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input32 = true -filter_linear32 = true -float_framebuffer32 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear33 = true -float_framebuffer33 = true -alias33 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 128 -scale_y34 = 128 -float_framebuffer34 = true -alias34 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 12 -scale_y35 = 12 -float_framebuffer35 = true -alias35 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader36 = ../../shaders/base/reflection.slang -scale_type36 = viewport -alias36 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader37 = ../../shaders/base/combine-passes.slang -scale_type37 = viewport -alias37 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-NTSC.slangp index 7387037..dba51d6 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV-NTSC.slangp @@ -1,394 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear28 = true -scale_type_x28 = viewport -scale_x28 = 1.0 -scale_type_y28 = source -scale_y28 = 1.0 -float_framebuffer28 = true -alias28 = Pass1 - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 640.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 640.0 -scale_type_y30 = absolute -scale_y30 = 480.0 -float_framebuffer30 = true -alias30 = GlowPass - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 640.0 -scale_type_y31 = absolute -scale_y31 = 480.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 640.0 -scale_type_y32 = absolute -scale_y32 = 480.0 -float_framebuffer32 = true -alias32 = BloomPass - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader36 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "BR_LayersUnderCRTPass" - -shader37 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader38 = ../../shaders/base/linearize-crt.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -// scale_x38 = 480 -// scale_y38 = 270 -// scale_x38 = 960 -// scale_y38 = 540 -scale_x38 = 800 -scale_y38 = 600 -float_framebuffer38 = true -alias38 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader39 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input39 = true -filter_linear39 = true -float_framebuffer39 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear40 = true -float_framebuffer40 = true -alias40 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader41 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -scale_x41 = 128 -scale_y41 = 128 -float_framebuffer41 = true -alias41 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 12 -scale_y42 = 12 -float_framebuffer42 = true -alias42 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader43 = ../../shaders/base/reflection.slang -scale_type43 = viewport -alias43 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader44 = ../../shaders/base/combine-passes.slang -scale_type44 = viewport -alias44 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__1__ADV__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV.slangp index 1cb871f..2330aea 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__GDV.slangp @@ -1,366 +1,2 @@ -shaders = 42 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear26 = true -scale_type_x26 = absolute -scale_x26 = 800.0 -scale_type_y26 = source -scale_y26 = 1.0 -float_framebuffer26 = true - -shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = absolute -scale_y27 = 600.0 -float_framebuffer27 = true -alias27 = GlowPass - -shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true - -shader29 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear29 = true -scale_type_x29 = source -scale_x29 = 1.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true -alias29 = BloomPass - -shader30 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear30 = true -scale_type30 = viewport -scale_x30 = 1.0 -scale_y30 = 1.0 -float_framebuffer30 = true - -shader31 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true -alias31 = "CRTPass" - -shader32 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader33 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "BR_LayersUnderCRTPass" - -shader34 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader35 = ../../shaders/base/linearize-crt.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -// scale_x35 = 480 -// scale_y35 = 270 -// scale_x35 = 960 -// scale_y35 = 540 -scale_x35 = 800 -scale_y35 = 600 -float_framebuffer35 = true -alias35 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader36 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input36 = true -filter_linear36 = true -float_framebuffer36 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear37 = true -float_framebuffer37 = true -alias37 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader38 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -scale_x38 = 128 -scale_y38 = 128 -float_framebuffer38 = true -alias38 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 12 -scale_y39 = 12 -float_framebuffer39 = true -alias39 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader40 = ../../shaders/base/reflection.slang -scale_type40 = viewport -alias40 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader41 = ../../shaders/base/combine-passes.slang -scale_type41 = viewport -alias41 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__LCD-GRID.slangp index b859cd1..b1aec15 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__LCD-GRID.slangp @@ -1,327 +1,2 @@ -shaders = 38 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/base/delinearize.slang -float_framebuffer26 = "true" - -shader27 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear27 = "false" -scale_type27 = "viewport" -scale27 = "1.0" -float_framebuffer27 = "true" -alias27 = "CRTPass" - -shader28 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader29 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "BR_LayersUnderCRTPass" - -shader30 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader31 = ../../shaders/base/linearize-crt.slang -mipmap_input31 = true -filter_linear31 = true -scale_type31 = absolute -// scale_x31 = 480 -// scale_y31 = 270 -// scale_x31 = 960 -// scale_y31 = 540 -scale_x31 = 800 -scale_y31 = 600 -float_framebuffer31 = true -alias31 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input32 = true -filter_linear32 = true -float_framebuffer32 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear33 = true -float_framebuffer33 = true -alias33 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 128 -scale_y34 = 128 -float_framebuffer34 = true -alias34 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 12 -scale_y35 = 12 -float_framebuffer35 = true -alias35 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader36 = ../../shaders/base/reflection.slang -scale_type36 = viewport -alias36 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader37 = ../../shaders/base/combine-passes.slang -scale_type37 = viewport -alias37 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__1__ADV__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp index 13af986..9e387f9 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp @@ -1,369 +1,2 @@ -shaders = 41 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -float_framebuffer25 = true -alias25 = "PrePass" - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -float_framebuffer26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear28 = "false" -scale_type28 = "source" -scale28 = "1.0" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -alias28 = "SourceSDR" -float_framebuffer28 = "true" - -shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear29 = "false" -scale_type29 = "source" -scale29 = "1.0" -wrap_mode29 = "clamp_to_border" -mipmap_input29 = "false" -alias29 = "SourceHDR" -float_framebuffer29 = "true" - -shader30 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear30 = "false" -wrap_mode30 = "clamp_to_border" -mipmap_input30 = "false" -scale_type30 = "viewport" -float_framebuffer30 = "true" -alias30 = "CRTPass" - -shader31 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader32 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "BR_LayersUnderCRTPass" - -shader33 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader34 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -// scale_x34 = 480 -// scale_y34 = 270 -// scale_x34 = 960 -// scale_y34 = 540 -scale_x34 = 800 -scale_y34 = 600 -float_framebuffer34 = true -alias34 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader35 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input35 = true -filter_linear35 = true -float_framebuffer35 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader36 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear36 = true -float_framebuffer36 = true -alias36 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader37 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input37 = true -filter_linear37 = true -scale_type37 = absolute -scale_x37 = 128 -scale_y37 = 128 -float_framebuffer37 = true -alias37 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader38 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input38 = true -filter_linear38 = true -scale_type38 = absolute -scale_x38 = 12 -scale_y38 = 12 -float_framebuffer38 = true -alias38 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader39 = ../../shaders/base/reflection.slang -scale_type39 = viewport -alias39 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader40 = ../../shaders/base/combine-passes-hdr.slang -scale_type40 = viewport -alias40 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON.slangp index 75408e3..6aa176a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__1__ADV__MEGATRON.slangp @@ -1,350 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -float_framebuffer23 = true -alias23 = "PrePass" - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -float_framebuffer24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear26 = "false" -scale_type26 = "source" -scale26 = "1.0" -wrap_mode26 = "clamp_to_border" -mipmap_input26 = "false" -alias26 = "SourceSDR" -float_framebuffer26 = "true" - -shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear27 = "false" -scale_type27 = "source" -scale27 = "1.0" -wrap_mode27 = "clamp_to_border" -mipmap_input27 = "false" -alias27 = "SourceHDR" -float_framebuffer27 = "true" - -shader28 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear28 = "false" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -scale_type28 = "viewport" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader30 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersUnderCRTPass" - -shader31 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader32 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -// scale_x32 = 480 -// scale_y32 = 270 -// scale_x32 = 960 -// scale_y32 = 540 -scale_x32 = 800 -scale_y32 = 600 -float_framebuffer32 = true -alias32 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input33 = true -filter_linear33 = true -float_framebuffer33 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear34 = true -float_framebuffer34 = true -alias34 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 128 -scale_y35 = 128 -float_framebuffer35 = true -alias35 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 12 -scale_y36 = 12 -float_framebuffer36 = true -alias36 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader37 = ../../shaders/base/reflection.slang -scale_type37 = viewport -alias37 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes-hdr.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__1__ADV__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp index 7298eae..0e7220a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp @@ -1,503 +1,2 @@ -shaders = 48 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = "../../../../reshade/shaders/bloom/BloomPass0.slang" -filter_linear18 = "true" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "SamplerBloom1" -srgb_framebuffer18 = "false" -scale_type_x18 = "source" -scale_x18 = "4.000000" -scale_type_y18 = "source" -scale_y18 = "4.000000" -float_framebuffer18 = "true" - -shader19 = "../../../../reshade/shaders/bloom/BloomPass1.slang" -filter_linear19 = "true" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SamplerBloom2" -srgb_framebuffer19 = "false" -float_framebuffer19 = "true" - -shader20 = "../../../../reshade/shaders/bloom/BloomPass2.slang" -filter_linear20 = "true" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "SamplerBloom3" -float_framebuffer20 = "true" - -shader21 = "../../../../reshade/shaders/bloom/BloomPass3.slang" -filter_linear21 = "true" -wrap_mode21 = "clamp_to_border" -mipmap_input21 = "false" -alias21 = "SamplerBloom4" -float_framebuffer21 = "true" - -shader22 = "../../../../reshade/shaders/bloom/BloomPass4.slang" -filter_linear22 = "true" -wrap_mode22 = "clamp_to_border" -mipmap_input22 = "false" -alias22 = "SamplerBloom5" -float_framebuffer22 = "true" - -shader23 = "../../../../reshade/shaders/bloom/LensFlarePass0.slang" -filter_linear23 = "true" -wrap_mode23 = "clamp_to_border" -mipmap_input23 = "false" -alias23 = "LensFlare1" -float_framebuffer23 = "true" - -shader24 = "../../../../reshade/shaders/bloom/LensFlarePass1.slang" -filter_linear24 = "true" -wrap_mode24 = "clamp_to_border" -mipmap_input24 = "false" -alias24 = "LensFlare2" -float_framebuffer24 = "true" - -shader25 = "../../../../reshade/shaders/bloom/LensFlarePass2.slang" -filter_linear25 = "true" -wrap_mode25 = "clamp_to_border" -mipmap_input25 = "false" -alias25 = "LensFlare3" -float_framebuffer25 = "true" - -shader26 = "../../../../reshade/shaders/bloom/LightingCombine.slang" -filter_linear26 = "true" -wrap_mode26 = "clamp_to_border" -mipmap_input26 = "false" -alias26 = "" -scale_type_x26 = "source" -scale_x26 = "0.250000" -scale_type_y26 = "source" -scale_y26 = "0.250000" -float_framebuffer26 = "true" - -shader27 = ../../shaders/base/stock.slang -alias27 = "PreCRTPass" - -shader28 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -alias28 = "AfterglowPass" - -shader29 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear29 = true -scale_type29 = source -mipmap_input29 = true -scale29 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader30 = ../../shaders/dogway/hsm-grade.slang -filter_linear30 = false -scale_type30 = source -scale30 = 1.0 -alias30 = "ColorCorrectPass" - -shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 - -shader32 = ../../shaders/base/stock.slang -filter_linear32 = true -scale_type32 = source -scale_x32 = 1.0 -scale_y32 = 1.0 -alias32 = "PrePass" -mipmap_input32 = true - -shader33 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -mipmap_input33 = true -alias33 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear34 = true -scale_type34 = source -scale34 = 1.0 -float_framebuffer34 = true -alias34 = "LinearizePass" - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 800.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 800.0 -scale_type_y36 = absolute -scale_y36 = 600.0 -float_framebuffer36 = true -alias36 = GlowPass - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 800.0 -scale_type_y37 = absolute -scale_y37 = 600.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = source -scale_x38 = 1.0 -scale_type_y38 = source -scale_y38 = 1.0 -float_framebuffer38 = true -alias38 = BloomPass - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader42 = ../../shaders/base/linearize-crt.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -// scale_x42 = 480 -// scale_y42 = 270 -// scale_x42 = 960 -// scale_y42 = 540 -scale_x42 = 800 -scale_y42 = 600 -float_framebuffer42 = true -alias42 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input43 = true -filter_linear43 = true -float_framebuffer43 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader44 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear44 = true -float_framebuffer44 = true -alias44 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 128 -scale_y45 = 128 -float_framebuffer45 = true -alias45 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader46 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input46 = true -filter_linear46 = true -scale_type46 = absolute -scale_x46 = 12 -scale_y46 = 12 -float_framebuffer46 = true -alias46 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader47 = ../../shaders/base/reflection-glass.slang -scale_type47 = viewport -srgb_framebuffer47 = true -alias47 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "Dirt;Sprite;SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -Dirt = ../../../../reshade/shaders/bloom/LensDB.png -Dirt_wrap_mode = "clamp_to_border" -Dirt_mipmap = "false" - -Sprite = ../../../../reshade/shaders/bloom/LensSprite.png -Sprite_wrap_mode = "clamp_to_border" -Sprite_mipmap = "false" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Reshade-FX -SGPT_BLEND_OPTION = 1 - -bLensdirtEnable_toggle = "1.000000" -bAnamFlareEnable_toggle = "1.000000" -bChapFlareEnable_toggle = "1.000000" -bGodrayEnable_toggle = "1.000000" -iBloomMixmode = "1.000000" -fBloomAmount = "1.500000" -fBloomSaturation = "1.100000" -fBloomTint_r = "1.000000" -fBloomTint_g = "0.500000" -fBloomTint_b = "0.800000" -iLensdirtMixmode = "1.000000" -fAnamFlareWideness = "1.200000" -fAnamFlareAmount = "2.500000" -fChapFlareIntensity = "10.000000" -fGodrayDecay = "0.999900" -fGodrayWeight = "0.400000" -fGodrayThreshold = "0.850000" -iGodraySamples = "48.000000" -fFlareLuminance = "0.875000" -fFlareBlur = "10000.000000" -fFlareIntensity = "1.570000" -fFlareTint_r = "1.000000" -fFlareTint_g = "1.000000" -glow = "0.000000" -gamma_c = "1.100000" -brightboost1 = "1.300000" -scanline2 = "15.000000" -beam_min = "1.999999" -shadowMask = "10.000000" -deconrr = "-1.000000" -deconrb = "1.000000" -deconrry = "-1.000000" -deconrby = "1.000000" -post_br = "1.100000" +#reference "Root_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp index cdb2dc0..5e7cdb9 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp @@ -1,502 +1,2 @@ -shaders = 48 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = GlowPass - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = BloomPass - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader42 = ../../shaders/base/linearize-crt.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -// scale_x42 = 480 -// scale_y42 = 270 -// scale_x42 = 960 -// scale_y42 = 540 -scale_x42 = 800 -scale_y42 = 600 -float_framebuffer42 = true -alias42 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input43 = true -filter_linear43 = true -float_framebuffer43 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader44 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear44 = true -float_framebuffer44 = true -alias44 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 128 -scale_y45 = 128 -float_framebuffer45 = true -alias45 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader46 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input46 = true -filter_linear46 = true -scale_type46 = absolute -scale_x46 = 12 -scale_y46 = 12 -float_framebuffer46 = true -alias46 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader47 = ../../shaders/base/reflection-glass.slang -scale_type47 = viewport -srgb_framebuffer47 = true -alias47 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp index 8a37905..03dcae3 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp @@ -1,475 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = GlowPass - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = BloomPass - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader39 = ../../shaders/base/linearize-crt.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -// scale_x39 = 480 -// scale_y39 = 270 -// scale_x39 = 960 -// scale_y39 = 540 -scale_x39 = 800 -scale_y39 = 600 -float_framebuffer39 = true -alias39 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input40 = true -filter_linear40 = true -float_framebuffer40 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader41 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear41 = true -float_framebuffer41 = true -alias41 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 128 -scale_y42 = 128 -float_framebuffer42 = true -alias42 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader43 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input43 = true -filter_linear43 = true -scale_type43 = absolute -scale_x43 = 12 -scale_y43 = 12 -float_framebuffer43 = true -alias43 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader44 = ../../shaders/base/reflection-glass.slang -scale_type44 = viewport -srgb_framebuffer44 = true -alias44 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp index edf08b2..15322b3 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp @@ -1,359 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear26 = false -srgb_framebuffer26 = true - -shader27 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear27 = false -srgb_framebuffer27 = true - -shader28 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear28 = false -srgb_framebuffer28 = true - -// Easymode's Shader! -shader29 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "CRTPass" - -g_gamma_out = 2.45 - -shader30 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader31 = ../../shaders/base/linearize-crt.slang -mipmap_input31 = true -filter_linear31 = true -scale_type31 = absolute -// scale_x31 = 480 -// scale_y31 = 270 -// scale_x31 = 960 -// scale_y31 = 540 -scale_x31 = 800 -scale_y31 = 600 -float_framebuffer31 = true -alias31 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input32 = true -filter_linear32 = true -float_framebuffer32 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear33 = true -float_framebuffer33 = true -alias33 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 128 -scale_y34 = 128 -float_framebuffer34 = true -alias34 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 12 -scale_y35 = 12 -float_framebuffer35 = true -alias35 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader36 = ../../shaders/base/reflection-glass.slang -scale_type36 = viewport -srgb_framebuffer36 = true -alias36 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Easymode Parameters -gamma_out = 2.2 +#reference "Root_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp index e0d5fb2..d6eb8e8 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp @@ -1,369 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/base/delinearize.slang -scale_type28 = source -float_framebuffer28 = "true" - -shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type29 = viewport -scale_x29 = 1.0 -scale_y29 = 1.0 -filter_linear29 = true -float_framebuffer29 = "true" -alias29 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader30 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader31 = ../../shaders/base/linearize-crt.slang -mipmap_input31 = true -filter_linear31 = true -scale_type31 = absolute -// scale_x31 = 480 -// scale_y31 = 270 -// scale_x31 = 960 -// scale_y31 = 540 -scale_x31 = 800 -scale_y31 = 600 -float_framebuffer31 = true -alias31 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input32 = true -filter_linear32 = true -float_framebuffer32 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear33 = true -float_framebuffer33 = true -alias33 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 128 -scale_y34 = 128 -float_framebuffer34 = true -alias34 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 12 -scale_y35 = 12 -float_framebuffer35 = true -alias35 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader36 = ../../shaders/base/reflection-glass.slang -scale_type36 = viewport -srgb_framebuffer36 = true -alias36 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp index 4c8fa3c..8796378 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp @@ -1,350 +1,2 @@ -shaders = 35 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/base/delinearize.slang -scale_type26 = source -float_framebuffer26 = "true" - -shader27 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type27 = viewport -scale_x27 = 1.0 -scale_y27 = 1.0 -filter_linear27 = true -float_framebuffer27 = "true" -alias27 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader28 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader29 = ../../shaders/base/linearize-crt.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -// scale_x29 = 480 -// scale_y29 = 270 -// scale_x29 = 960 -// scale_y29 = 540 -scale_x29 = 800 -scale_y29 = 600 -float_framebuffer29 = true -alias29 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader30 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input30 = true -filter_linear30 = true -float_framebuffer30 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear31 = true -float_framebuffer31 = true -alias31 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader32 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -scale_x32 = 128 -scale_y32 = 128 -float_framebuffer32 = true -alias32 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 12 -scale_y33 = 12 -float_framebuffer33 = true -alias33 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader34 = ../../shaders/base/reflection-glass.slang -scale_type34 = viewport -srgb_framebuffer34 = true -alias34 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" +#reference "Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp index 604cb09..5d77409 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp @@ -1,412 +1,2 @@ -shaders = 42 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear28 = true -scale_type_x28 = viewport -scale_x28 = 1.0 -scale_type_y28 = source -scale_y28 = 1.0 -float_framebuffer28 = true -alias28 = Pass1 - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 640.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 640.0 -scale_type_y30 = absolute -scale_y30 = 480.0 -float_framebuffer30 = true -alias30 = GlowPass - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 640.0 -scale_type_y31 = absolute -scale_y31 = 480.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 640.0 -scale_type_y32 = absolute -scale_y32 = 480.0 -float_framebuffer32 = true -alias32 = BloomPass - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection-glass.slang -scale_type41 = viewport -srgb_framebuffer41 = true -alias41 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV.slangp index 8cffe1a..4862990 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV.slangp @@ -1,384 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear26 = true -scale_type_x26 = absolute -scale_x26 = 800.0 -scale_type_y26 = source -scale_y26 = 1.0 -float_framebuffer26 = true - -shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = absolute -scale_y27 = 600.0 -float_framebuffer27 = true -alias27 = GlowPass - -shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true - -shader29 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear29 = true -scale_type_x29 = source -scale_x29 = 1.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true -alias29 = BloomPass - -shader30 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear30 = true -scale_type30 = viewport -scale_x30 = 1.0 -scale_y30 = 1.0 -float_framebuffer30 = true - -shader31 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true -alias31 = "CRTPass" - -shader32 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader33 = ../../shaders/base/linearize-crt.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -// scale_x33 = 480 -// scale_y33 = 270 -// scale_x33 = 960 -// scale_y33 = 540 -scale_x33 = 800 -scale_y33 = 600 -float_framebuffer33 = true -alias33 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input34 = true -filter_linear34 = true -float_framebuffer34 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader35 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear35 = true -float_framebuffer35 = true -alias35 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 128 -scale_y36 = 128 -float_framebuffer36 = true -alias36 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader37 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input37 = true -filter_linear37 = true -scale_type37 = absolute -scale_x37 = 12 -scale_y37 = 12 -float_framebuffer37 = true -alias37 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader38 = ../../shaders/base/reflection-glass.slang -scale_type38 = viewport -srgb_framebuffer38 = true -alias38 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" +#reference "Root_Presets/MBZ__2__ADV-GLASS__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp index e8f1ec3..3467034 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp @@ -1,345 +1,2 @@ -shaders = 35 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/base/delinearize.slang -float_framebuffer26 = "true" - -shader27 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear27 = "false" -scale_type27 = "viewport" -scale27 = "1.0" -float_framebuffer27 = "true" -alias27 = "CRTPass" - -shader28 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader29 = ../../shaders/base/linearize-crt.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -// scale_x29 = 480 -// scale_y29 = 270 -// scale_x29 = 960 -// scale_y29 = 540 -scale_x29 = 800 -scale_y29 = 600 -float_framebuffer29 = true -alias29 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader30 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input30 = true -filter_linear30 = true -float_framebuffer30 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear31 = true -float_framebuffer31 = true -alias31 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader32 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -scale_x32 = 128 -scale_y32 = 128 -float_framebuffer32 = true -alias32 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 12 -scale_y33 = 12 -float_framebuffer33 = true -alias33 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader34 = ../../shaders/base/reflection-glass.slang -scale_type34 = viewport -srgb_framebuffer34 = true -alias34 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" +#reference "Root_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp index 1eb09e5..fcdd9c2 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp @@ -1,391 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -float_framebuffer25 = true -alias25 = "PrePass" - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -float_framebuffer26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear28 = "false" -scale_type28 = "source" -scale28 = "1.0" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -alias28 = "SourceSDR" -float_framebuffer28 = "true" - -shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear29 = "false" -scale_type29 = "source" -scale29 = "1.0" -wrap_mode29 = "clamp_to_border" -mipmap_input29 = "false" -alias29 = "SourceHDR" -float_framebuffer29 = "true" - -shader30 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear30 = "false" -wrap_mode30 = "clamp_to_border" -mipmap_input30 = "false" -scale_type30 = "viewport" -float_framebuffer30 = "true" -alias30 = "CRTPass" - -shader31 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader32 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -// scale_x32 = 480 -// scale_y32 = 270 -// scale_x32 = 960 -// scale_y32 = 540 -scale_x32 = 800 -scale_y32 = 600 -float_framebuffer32 = true -alias32 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input33 = true -filter_linear33 = true -float_framebuffer33 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear34 = true -float_framebuffer34 = true -alias34 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 128 -scale_y35 = 128 -float_framebuffer35 = true -alias35 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 12 -scale_y36 = 12 -float_framebuffer36 = true -alias36 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader37 = ../../shaders/base/reflection-glass-hdr.slang -scale_type37 = viewport -alias37 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/output-hdr.slang -scale_type38 = viewport -alias38 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp index ae2be15..6acf389 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp @@ -1,372 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -float_framebuffer23 = true -alias23 = "PrePass" - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -float_framebuffer24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear26 = "false" -scale_type26 = "source" -scale26 = "1.0" -wrap_mode26 = "clamp_to_border" -mipmap_input26 = "false" -alias26 = "SourceSDR" -float_framebuffer26 = "true" - -shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear27 = "false" -scale_type27 = "source" -scale27 = "1.0" -wrap_mode27 = "clamp_to_border" -mipmap_input27 = "false" -alias27 = "SourceHDR" -float_framebuffer27 = "true" - -shader28 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear28 = "false" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -scale_type28 = "viewport" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader30 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input30 = true -filter_linear30 = true -scale_type30 = absolute -// scale_x30 = 480 -// scale_y30 = 270 -// scale_x30 = 960 -// scale_y30 = 540 -scale_x30 = 800 -scale_y30 = 600 -float_framebuffer30 = true -alias30 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input31 = true -filter_linear31 = true -float_framebuffer31 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear32 = true -float_framebuffer32 = true -alias32 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 128 -scale_y33 = 128 -float_framebuffer33 = true -alias33 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 12 -scale_y34 = 12 -float_framebuffer34 = true -alias34 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader35 = ../../shaders/base/reflection-glass-hdr.slang -scale_type35 = viewport -alias35 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/output-hdr.slang -scale_type36 = viewport -alias36 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp index 46a3ba0..95a078d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp @@ -1,426 +1,2 @@ -shaders = 45 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = "GlowPass" - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = "BloomPass" - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader42 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "BR_LayersUnderCRTPass" - -shader43 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader44 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type44 = viewport -alias44 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp index 492629e..8c2c42c 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp @@ -1,399 +1,2 @@ -shaders = 42 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = "GlowPass" - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = "BloomPass" - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader39 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "BR_LayersUnderCRTPass" - -shader40 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader41 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type41 = viewport -alias41 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp index c189919..f6d2ae1 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp @@ -1,336 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear28 = true -scale_type_x28 = viewport -scale_x28 = 1.0 -scale_type_y28 = source -scale_y28 = 1.0 -float_framebuffer28 = true -alias28 = Pass1 - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 640.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 640.0 -scale_type_y30 = absolute -scale_y30 = 480.0 -float_framebuffer30 = true -alias30 = "GlowPass" - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 640.0 -scale_type_y31 = absolute -scale_y31 = 480.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 640.0 -scale_type_y32 = absolute -scale_y32 = 480.0 -float_framebuffer32 = true -alias32 = "BloomPass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader36 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "BR_LayersUnderCRTPass" - -shader37 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp index 09a545f..f67973c 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp @@ -1,308 +1,2 @@ -shaders = 36 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear26 = true -scale_type_x26 = absolute -scale_x26 = 800.0 -scale_type_y26 = source -scale_y26 = 1.0 -float_framebuffer26 = true - -shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = absolute -scale_y27 = 600.0 -float_framebuffer27 = true -alias27 = "GlowPass" - -shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true - -shader29 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear29 = true -scale_type_x29 = source -scale_x29 = 1.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true -alias29 = "BloomPass" - -shader30 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear30 = true -scale_type30 = viewport -scale_x30 = 1.0 -scale_y30 = 1.0 -float_framebuffer30 = true - -shader31 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true -alias31 = "CRTPass" - -shader32 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader33 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "BR_LayersUnderCRTPass" - -shader34 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader35 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type35 = viewport -alias35 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp index 6c005c0..568b6f5 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp @@ -1,311 +1,2 @@ -shaders = 35 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -float_framebuffer25 = true -alias25 = "PrePass" - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -float_framebuffer26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear28 = "false" -scale_type28 = "source" -scale28 = "1.0" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -alias28 = "SourceSDR" -float_framebuffer28 = "true" - -shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear29 = "false" -scale_type29 = "source" -scale29 = "1.0" -wrap_mode29 = "clamp_to_border" -mipmap_input29 = "false" -alias29 = "SourceHDR" -float_framebuffer29 = "true" - -shader30 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear30 = "false" -wrap_mode30 = "clamp_to_border" -mipmap_input30 = "false" -scale_type30 = "viewport" -float_framebuffer30 = "true" -alias30 = "CRTPass" - -shader31 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader32 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "BR_LayersUnderCRTPass" - -shader33 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader34 = ../../shaders/base/combine-passes-no-reflect-hdr.slang -scale_type34 = viewport -alias34 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp index d87c707..207e8dd 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp @@ -1,292 +1,2 @@ -shaders = 33 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -float_framebuffer23 = true -alias23 = "PrePass" - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -float_framebuffer24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear26 = "false" -scale_type26 = "source" -scale26 = "1.0" -wrap_mode26 = "clamp_to_border" -mipmap_input26 = "false" -alias26 = "SourceSDR" -float_framebuffer26 = "true" - -shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear27 = "false" -scale_type27 = "source" -scale27 = "1.0" -wrap_mode27 = "clamp_to_border" -mipmap_input27 = "false" -alias27 = "SourceHDR" -float_framebuffer27 = "true" - -shader28 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear28 = "false" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -scale_type28 = "viewport" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader30 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersUnderCRTPass" - -shader31 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader32 = ../../shaders/base/combine-passes-no-reflect-hdr.slang -scale_type32 = viewport -alias32 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp index 712b091..052ce56 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp @@ -1,412 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -shader22 = ../../shaders/base/stock.slang -alias22 = "PreCRTPass" - -shader23 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear23 = true -scale_type23 = source -scale23 = 1.0 -alias23 = "AfterglowPass" - -shader24 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear24 = true -scale_type24 = source -mipmap_input24 = true -scale24 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader25 = ../../shaders/dogway/hsm-grade.slang -filter_linear25 = false -scale_type25 = source -scale25 = 1.0 -alias25 = "ColorCorrectPass" - -shader26 = ../../shaders/base/stock.slang -alias26 = "PrePass0" - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear27 = false -float_framebuffer27 = true -scale_type_x27 = source -scale_type_y27 = source -scale_x27 = 4.0 -scale_y27 = 1.0 -frame_count_mod27 = 2 -alias27 = NPass1 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer28 = true -filter_linear28 = true -scale_type28 = source -scale_x28 = 0.5 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/base/stock.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 -alias31 = "PrePass" -mipmap_input31 = true - -shader32 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -mipmap_input32 = true -alias32 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader33 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -float_framebuffer33 = true -alias33 = "LinearizePass" - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear34 = true -scale_type_x34 = viewport -scale_x34 = 1.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = Pass1 - -shader35 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true -alias36 = "GlowPass" - -shader37 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true -alias38 = "BloomPass" - -shader39 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true - -shader40 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true -alias40 = "CRTPass" - -shader41 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/output-sdr.slang -scale_type42 = viewport -alias42 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp index e3b214b..6c6e3d1 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp @@ -1,385 +1,2 @@ -shaders = 40 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -// filter_linear16 = "false" -// wrap_mode16 = "clamp_to_border" -// mipmap_input16 = "false" -// float_framebuffer16 = "false" -// srgb_framebuffer16 = "true" -alias16 = XbrSource - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "2.000000" -scale_type_y18 = "source" -scale_y18 = "2.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "" -float_framebuffer20 = "false" -srgb_framebuffer20 = "true" -scale_type_x20 = "source" -scale_x20 = "1.000000" -scale_type_y20 = "source" -scale_y20 = "1.000000" - -shader21 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear21 = false -scale_type_x21 = source -scale_x21 = 1 -scale_type_y21 = source -scale_y21 = 0.5 -wrap_mode21 = "clamp_to_edge" - -// GTU TV Processing -shader22 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type22 = source -scale22 = 1.0 -float_framebuffer22 = true - -shader23 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x23 = source -scale_x23 = 1.0 -scale_type_y23 = source -scale_y23 = 1.0 -filter_linear23 = false -float_framebuffer23 = true - -shader24 = ../../shaders/base/stock.slang -alias24 = "PreCRTPass" - -shader25 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -alias25 = "AfterglowPass" - -shader26 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear26 = true -scale_type26 = source -mipmap_input26 = true -scale26 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader27 = ../../shaders/dogway/hsm-grade.slang -filter_linear27 = false -scale_type27 = source -scale27 = 1.0 -alias27 = "ColorCorrectPass" - -shader28 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/base/stock.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 -alias29 = "PrePass" -mipmap_input29 = true - -shader30 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear30 = true -scale_type30 = source -scale30 = 1.0 -mipmap_input30 = true -alias30 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader31 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -float_framebuffer31 = true -alias31 = "LinearizePass" - -shader32 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 800.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = absolute -scale_y33 = 600.0 -float_framebuffer33 = true -alias33 = "GlowPass" - -shader34 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear35 = true -scale_type_x35 = source -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = "BloomPass" - -shader36 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear36 = true -scale_type36 = viewport -scale_x36 = 1.0 -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true -alias37 = "CRTPass" - -shader38 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader39 = ../../shaders/base/output-sdr.slang -scale_type39 = viewport -alias39 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp index cb903e1..4147a58 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp @@ -1,279 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/base/delinearize.slang -scale_type28 = source -float_framebuffer28 = "true" - -shader29 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang -scale_type29 = viewport -scale_x29 = 1.0 -scale_y29 = 1.0 -filter_linear29 = true -float_framebuffer29 = "true" -alias29 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader30 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/output-sdr.slang -scale_type31 = viewport -alias31 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp index 5206f99..9b1c943 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp @@ -1,260 +1,2 @@ -shaders = 30 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/base/delinearize.slang -scale_type26 = source -float_framebuffer26 = "true" - -shader27 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang -scale_type27 = viewport -scale_x27 = 1.0 -scale_y27 = 1.0 -filter_linear27 = true -float_framebuffer27 = "true" -alias27 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader28 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader29 = ../../shaders/base/output-sdr.slang -scale_type29 = viewport -alias29 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp index b91c4a7..3e8db17 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp @@ -1,322 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 -alias25 = "PrePass" -mipmap_input25 = true - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" - -shader28 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear28 = true -scale_type_x28 = viewport -scale_x28 = 1.0 -scale_type_y28 = source -scale_y28 = 1.0 -float_framebuffer28 = true -alias28 = Pass1 - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 640.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 640.0 -scale_type_y30 = absolute -scale_y30 = 480.0 -float_framebuffer30 = true -alias30 = "GlowPass" - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 640.0 -scale_type_y31 = absolute -scale_y31 = 480.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 640.0 -scale_type_y32 = absolute -scale_y32 = 480.0 -float_framebuffer32 = true -alias32 = "BloomPass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/output-sdr.slang -scale_type36 = viewport -alias36 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp index 5399267..b57d67a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp @@ -1,294 +1,2 @@ -shaders = 34 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 -alias23 = "PrePass" -mipmap_input23 = true - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" - -shader26 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear26 = true -scale_type_x26 = absolute -scale_x26 = 800.0 -scale_type_y26 = source -scale_y26 = 1.0 -float_framebuffer26 = true - -shader27 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = absolute -scale_y27 = 600.0 -float_framebuffer27 = true -alias27 = "GlowPass" - -shader28 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true - -shader29 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear29 = true -scale_type_x29 = source -scale_x29 = 1.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true -alias29 = "BloomPass" - -shader30 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear30 = true -scale_type30 = viewport -scale_x30 = 1.0 -scale_y30 = 1.0 -float_framebuffer30 = true - -shader31 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true -alias31 = "CRTPass" - -shader32 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input32 = true -scale_type32 = viewport -float_framebuffer32 = true -alias32 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader33 = ../../shaders/base/output-sdr.slang -scale_type33 = viewport -alias33 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp index 67526ae..df3c6ad 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp @@ -1,297 +1,2 @@ -shaders = 33 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -shader16 = ../../shaders/base/stock.slang -alias16 = "PreCRTPass" - -shader17 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -alias17 = "AfterglowPass" - -shader18 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear18 = true -scale_type18 = source -mipmap_input18 = true -scale18 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader19 = ../../shaders/dogway/hsm-grade.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -alias19 = "ColorCorrectPass" - -shader20 = ../../shaders/base/stock.slang -alias20 = "PrePass0" - -shader21 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear21 = false -float_framebuffer21 = true -scale_type_x21 = source -scale_type_y21 = source -scale_x21 = 4.0 -scale_y21 = 1.0 -frame_count_mod21 = 2 -alias21 = NPass1 - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer22 = true -filter_linear22 = true -scale_type22 = source -scale_x22 = 0.5 -scale_y22 = 1.0 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/base/stock.slang -float_framebuffer25 = true -alias25 = "PrePass" - -shader26 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -mipmap_input26 = true -float_framebuffer26 = true -alias26 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader27 = ../../shaders/guest/hsm-interlace.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -float_framebuffer27 = true -alias27 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader28 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear28 = "false" -scale_type28 = "source" -scale28 = "1.0" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -alias28 = "SourceSDR" -float_framebuffer28 = "true" - -shader29 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear29 = "false" -scale_type29 = "source" -scale29 = "1.0" -wrap_mode29 = "clamp_to_border" -mipmap_input29 = "false" -alias29 = "SourceHDR" -float_framebuffer29 = "true" - -shader30 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear30 = "false" -wrap_mode30 = "clamp_to_border" -mipmap_input30 = "false" -scale_type30 = "viewport" -float_framebuffer30 = "true" -alias30 = "CRTPass" - -shader31 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader32 = ../../shaders/base/output-hdr.slang -scale_type32 = viewport -alias32 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp index ba19b03..3777dd2 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp @@ -1,278 +1,2 @@ -shaders = 31 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-adv-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader14 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias14 = "DeditherPass" - -shader15 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias15 = "DeditherPass" - -// GTU TV Processing -shader16 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type16 = source -scale16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -filter_linear17 = false -float_framebuffer17 = true - -shader18 = ../../shaders/base/stock.slang -alias18 = "PreCRTPass" - -shader19 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -alias19 = "AfterglowPass" - -shader20 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear20 = true -scale_type20 = source -mipmap_input20 = true -scale20 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader21 = ../../shaders/dogway/hsm-grade.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 -alias21 = "ColorCorrectPass" - -shader22 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear22 = true -scale_type22 = source -scale_x22 = 1.0 -scale_y22 = 1.0 - -shader23 = ../../shaders/base/stock.slang -float_framebuffer23 = true -alias23 = "PrePass" - -shader24 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -mipmap_input24 = true -float_framebuffer24 = true -alias24 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader25 = ../../shaders/guest/hsm-interlace.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -float_framebuffer25 = true -alias25 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader26 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear26 = "false" -scale_type26 = "source" -scale26 = "1.0" -wrap_mode26 = "clamp_to_border" -mipmap_input26 = "false" -alias26 = "SourceSDR" -float_framebuffer26 = "true" - -shader27 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear27 = "false" -scale_type27 = "source" -scale27 = "1.0" -wrap_mode27 = "clamp_to_border" -mipmap_input27 = "false" -alias27 = "SourceHDR" -float_framebuffer27 = "true" - -shader28 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear28 = "false" -wrap_mode28 = "clamp_to_border" -mipmap_input28 = "false" -scale_type28 = "viewport" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader30 = ../../shaders/base/output-hdr.slang -scale_type30 = viewport -alias30 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp index 0f5869b..d90cd1a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp @@ -1,500 +1,2 @@ -shaders = 47 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/base/stock.slang -alias25 = "PrePass0" - -shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear26 = false -float_framebuffer26 = true -scale_type_x26 = source -scale_type_y26 = source -scale_x26 = 4.0 -scale_y26 = 1.0 -frame_count_mod26 = 2 -alias26 = NPass1 - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer27 = true -filter_linear27 = true -scale_type27 = source -scale_x27 = 0.5 -scale_y27 = 1.0 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/base/stock.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 -alias30 = "PrePass" -mipmap_input30 = true - -shader31 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -mipmap_input31 = true -alias31 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -float_framebuffer32 = true -alias32 = "LinearizePass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear33 = true -scale_type_x33 = viewport -scale_x33 = 1.0 -scale_type_y33 = source -scale_y33 = 1.0 -float_framebuffer33 = true -alias33 = Pass1 - -shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 640.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = absolute -scale_y35 = 480.0 -float_framebuffer35 = true -alias35 = GlowPass - -shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true -alias37 = BloomPass - -shader38 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear38 = true -scale_type38 = viewport -scale_x38 = 1.0 -scale_y38 = 1.0 -float_framebuffer38 = true - -shader39 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true -alias39 = "CRTPass" - -shader40 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader41 = ../../shaders/base/linearize-crt.slang -mipmap_input41 = true -filter_linear41 = true -scale_type41 = absolute -// scale_x41 = 480 -// scale_y41 = 270 -// scale_x41 = 960 -// scale_y41 = 540 -scale_x41 = 800 -scale_y41 = 600 -float_framebuffer41 = true -alias41 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader42 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input42 = true -filter_linear42 = true -float_framebuffer42 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear43 = true -float_framebuffer43 = true -alias43 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader44 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input44 = true -filter_linear44 = true -scale_type44 = absolute -scale_x44 = 128 -scale_y44 = 128 -float_framebuffer44 = true -alias44 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 12 -scale_y45 = 12 -float_framebuffer45 = true -alias45 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader46 = ../../shaders/base/reflection-glass.slang -scale_type46 = viewport -srgb_framebuffer46 = true -alias46 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp index eb6d72f..de309dc 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp @@ -1,459 +1,2 @@ -shaders = 42 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 - -shader26 = ../../shaders/base/stock.slang -filter_linear26 = true -scale_type26 = source -scale_x26 = 1.0 -scale_y26 = 1.0 -alias26 = "PrePass" -mipmap_input26 = true - -shader27 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -mipmap_input27 = true -alias27 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -float_framebuffer28 = true -alias28 = "LinearizePass" - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 800.0 -scale_type_y30 = absolute -scale_y30 = 600.0 -float_framebuffer30 = true -alias30 = GlowPass - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 800.0 -scale_type_y31 = absolute -scale_y31 = 600.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = source -scale_x32 = 1.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = BloomPass - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection-glass.slang -scale_type41 = viewport -srgb_framebuffer41 = true -alias41 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp index ffa0ec7..3cdab1d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp @@ -1,335 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/base/delinearize.slang -scale_type19 = source -float_framebuffer19 = "true" - -shader20 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -filter_linear20 = true -float_framebuffer20 = "true" -alias20 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader21 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader22 = ../../shaders/base/linearize-crt.slang -mipmap_input22 = true -filter_linear22 = true -scale_type22 = absolute -// scale_x22 = 480 -// scale_y22 = 270 -// scale_x22 = 960 -// scale_y22 = 540 -scale_x22 = 800 -scale_y22 = 600 -float_framebuffer22 = true -alias22 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input23 = true -filter_linear23 = true -float_framebuffer23 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader24 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear24 = true -float_framebuffer24 = true -alias24 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 128 -scale_y25 = 128 -float_framebuffer25 = true -alias25 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader26 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input26 = true -filter_linear26 = true -scale_type26 = absolute -scale_x26 = 12 -scale_y26 = 12 -float_framebuffer26 = true -alias26 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader27 = ../../shaders/base/reflection-glass.slang -scale_type27 = viewport -srgb_framebuffer27 = true -alias27 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp index 7a58bda..7a79da9 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp @@ -1,302 +1,2 @@ -shaders = 24 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -scale_type15 = source -float_framebuffer15 = "true" - -shader16 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type16 = viewport -scale_x16 = 1.0 -scale_y16 = 1.0 -filter_linear16 = true -float_framebuffer16 = "true" -alias16 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader17 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader18 = ../../shaders/base/linearize-crt.slang -mipmap_input18 = true -filter_linear18 = true -scale_type18 = absolute -// scale_x18 = 480 -// scale_y18 = 270 -// scale_x18 = 960 -// scale_y18 = 540 -scale_x18 = 800 -scale_y18 = 600 -float_framebuffer18 = true -alias18 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader19 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input19 = true -filter_linear19 = true -float_framebuffer19 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader20 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear20 = true -float_framebuffer20 = true -alias20 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader21 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -scale_x21 = 128 -scale_y21 = 128 -float_framebuffer21 = true -alias21 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader22 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input22 = true -filter_linear22 = true -scale_type22 = absolute -scale_x22 = 12 -scale_y22 = 12 -float_framebuffer22 = true -alias22 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader23 = ../../shaders/base/reflection-glass.slang -scale_type23 = viewport -srgb_framebuffer23 = true -alias23 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" +#reference "Root_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp index 57152ae..b840b00 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp @@ -1,378 +1,2 @@ -shaders = 33 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear19 = true -scale_type_x19 = viewport -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = Pass1 - -shader20 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true -alias21 = GlowPass - -shader22 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true - -shader23 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true -alias23 = BloomPass - -shader24 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true - -shader25 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true -alias25 = "CRTPass" - -shader26 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input26 = true -scale_type26 = viewport -float_framebuffer26 = true -alias26 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader27 = ../../shaders/base/linearize-crt.slang -mipmap_input27 = true -filter_linear27 = true -scale_type27 = absolute -// scale_x27 = 480 -// scale_y27 = 270 -// scale_x27 = 960 -// scale_y27 = 540 -scale_x27 = 800 -scale_y27 = 600 -float_framebuffer27 = true -alias27 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader28 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input28 = true -filter_linear28 = true -float_framebuffer28 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader29 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear29 = true -float_framebuffer29 = true -alias29 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader30 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input30 = true -filter_linear30 = true -scale_type30 = absolute -scale_x30 = 128 -scale_y30 = 128 -float_framebuffer30 = true -alias30 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader31 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input31 = true -filter_linear31 = true -scale_type31 = absolute -scale_x31 = 12 -scale_y31 = 12 -float_framebuffer31 = true -alias31 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader32 = ../../shaders/base/reflection-glass.slang -scale_type32 = viewport -srgb_framebuffer32 = true -alias32 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV.slangp index 26bed0b..8cbda91 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__GDV.slangp @@ -1,336 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear15 = true -scale_type_x15 = absolute -scale_x15 = 800.0 -scale_type_y15 = source -scale_y15 = 1.0 -float_framebuffer15 = true - -shader16 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = absolute -scale_y16 = 600.0 -float_framebuffer16 = true -alias16 = GlowPass - -shader17 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true - -shader18 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear18 = true -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -float_framebuffer18 = true -alias18 = BloomPass - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear19 = true -scale_type19 = viewport -scale_x19 = 1.0 -scale_y19 = 1.0 -float_framebuffer19 = true - -shader20 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = "CRTPass" - -shader21 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader22 = ../../shaders/base/linearize-crt.slang -mipmap_input22 = true -filter_linear22 = true -scale_type22 = absolute -// scale_x22 = 480 -// scale_y22 = 270 -// scale_x22 = 960 -// scale_y22 = 540 -scale_x22 = 800 -scale_y22 = 600 -float_framebuffer22 = true -alias22 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input23 = true -filter_linear23 = true -float_framebuffer23 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader24 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear24 = true -float_framebuffer24 = true -alias24 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 128 -scale_y25 = 128 -float_framebuffer25 = true -alias25 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader26 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input26 = true -filter_linear26 = true -scale_type26 = absolute -scale_x26 = 12 -scale_y26 = 12 -float_framebuffer26 = true -alias26 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader27 = ../../shaders/base/reflection-glass.slang -scale_type27 = viewport -srgb_framebuffer27 = true -alias27 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" +#reference "Root_Presets/MBZ__3__STD-GLASS__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp index 7c27b2c..1e6f61c 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp @@ -1,297 +1,2 @@ -shaders = 24 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -float_framebuffer15 = "true" - -shader16 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear16 = "false" -scale_type16 = "viewport" -scale16 = "1.0" -float_framebuffer16 = "true" -alias16 = "CRTPass" - -shader17 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader18 = ../../shaders/base/linearize-crt.slang -mipmap_input18 = true -filter_linear18 = true -scale_type18 = absolute -// scale_x18 = 480 -// scale_y18 = 270 -// scale_x18 = 960 -// scale_y18 = 540 -scale_x18 = 800 -scale_y18 = 600 -float_framebuffer18 = true -alias18 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader19 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input19 = true -filter_linear19 = true -float_framebuffer19 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader20 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear20 = true -float_framebuffer20 = true -alias20 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader21 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -scale_x21 = 128 -scale_y21 = 128 -float_framebuffer21 = true -alias21 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader22 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input22 = true -filter_linear22 = true -scale_type22 = absolute -scale_x22 = 12 -scale_y22 = 12 -float_framebuffer22 = true -alias22 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader23 = ../../shaders/base/reflection-glass.slang -scale_type23 = viewport -srgb_framebuffer23 = true -alias23 = "ReflectionPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" +#reference "Root_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp index 7cde32f..71d126e 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp @@ -1,357 +1,2 @@ -shaders = 30 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -float_framebuffer16 = true -alias16 = "PrePass" - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -float_framebuffer17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader19 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear19 = "false" -scale_type19 = "source" -scale19 = "1.0" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SourceSDR" -float_framebuffer19 = "true" - -shader20 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear20 = "false" -scale_type20 = "source" -scale20 = "1.0" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "SourceHDR" -float_framebuffer20 = "true" - -shader21 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear21 = "false" -wrap_mode21 = "clamp_to_border" -mipmap_input21 = "false" -scale_type21 = "viewport" -float_framebuffer21 = "true" -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader23 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input23 = true -filter_linear23 = true -scale_type23 = absolute -// scale_x23 = 480 -// scale_y23 = 270 -// scale_x23 = 960 -// scale_y23 = 540 -scale_x23 = 800 -scale_y23 = 600 -float_framebuffer23 = true -alias23 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader24 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input24 = true -filter_linear24 = true -float_framebuffer24 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader25 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear25 = true -float_framebuffer25 = true -alias25 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader26 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input26 = true -filter_linear26 = true -scale_type26 = absolute -scale_x26 = 128 -scale_y26 = 128 -float_framebuffer26 = true -alias26 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader27 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input27 = true -filter_linear27 = true -scale_type27 = absolute -scale_x27 = 12 -scale_y27 = 12 -float_framebuffer27 = true -alias27 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader28 = ../../shaders/base/reflection-glass-hdr.slang -scale_type28 = viewport -alias28 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader29 = ../../shaders/base/output-hdr.slang -scale_type29 = viewport -alias29 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp index 2bc9b86..068b6dc 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp @@ -1,324 +1,2 @@ -shaders = 26 - -shader0 = ../../shaders/base/add-params-glass.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-glass.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -float_framebuffer12 = true -alias12 = "PrePass" - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -float_framebuffer13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader15 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear15 = "false" -scale_type15 = "source" -scale15 = "1.0" -wrap_mode15 = "clamp_to_border" -mipmap_input15 = "false" -alias15 = "SourceSDR" -float_framebuffer15 = "true" - -shader16 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear16 = "false" -scale_type16 = "source" -scale16 = "1.0" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -alias16 = "SourceHDR" -float_framebuffer16 = "true" - -shader17 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -scale_type17 = "viewport" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-glass.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader19 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input19 = true -filter_linear19 = true -scale_type19 = absolute -// scale_x19 = 480 -// scale_y19 = 270 -// scale_x19 = 960 -// scale_y19 = 540 -scale_x19 = 800 -scale_y19 = 600 -float_framebuffer19 = true -alias19 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader20 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input20 = true -filter_linear20 = true -float_framebuffer20 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader21 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear21 = true -float_framebuffer21 = true -alias21 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader22 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input22 = true -filter_linear22 = true -scale_type22 = absolute -scale_x22 = 128 -scale_y22 = 128 -float_framebuffer22 = true -alias22 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader23 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input23 = true -filter_linear23 = true -scale_type23 = absolute -scale_x23 = 12 -scale_y23 = 12 -float_framebuffer23 = true -alias23 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader24 = ../../shaders/base/reflection-glass-hdr.slang -scale_type24 = viewport -alias24 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader25 = ../../shaders/base/output-hdr.slang -scale_type25 = viewport -alias25 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/TopLayerImageGradient_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/Placeholder_Transparent_16x16.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Parameters -HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" -HSM_TUBE_BLACK_EDGE_THICKNESS = -7 -HSM_BG_OPACITY = "1.000000" -HSM_GLASS_BORDER_ON = "1.000000" -HSM_BZL_WIDTH = 3000 -HSM_BZL_HEIGHT = 3000 -HSM_BZL_INNER_EDGE_THICKNESS = 350 -HSM_BZL_INNER_EDGE_SHARPNESS = 30 -HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" -HSM_BZL_INNER_EDGE_SHADOW = "0.000000" -HSM_FRM_OPACITY = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" -HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" -HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" -HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" -HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" -HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" -HSM_REFLECT_FADE_AMOUNT = "20.0000" -HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" -HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" -HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" -HSM_REFLECT_CORNER_FADE = "0.000000" -HSM_REFLECT_BLUR_MIN = "30.0000" -HSM_REFLECT_BLUR_MAX = "60.0000" -HSM_REFLECT_NOISE_AMOUNT = "100.000000" -HSM_REFLECT_NOISE_SAMPLES = "4.000000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" -HSM_BG_BRIGHTNESS = "0.000000" -HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" -HSM_SCREEN_VIGNETTE_POWER = "4.000000" -HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" - -g_vignette = "0.0" - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp index 8e375d9..9e9afd3 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp @@ -1,481 +1,2 @@ -shaders = 36 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear19 = true -scale_type_x19 = viewport -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = Pass1 - -shader20 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true -alias21 = GlowPass - -shader22 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true - -shader23 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true -alias23 = BloomPass - -shader24 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true - -shader25 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true -alias25 = "CRTPass" - -shader26 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input26 = true -scale_type26 = viewport -float_framebuffer26 = true -alias26 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader27 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear27 = true -scale_type27 = viewport -float_framebuffer27 = true -alias27 = "BR_LayersUnderCRTPass" - -shader28 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader29 = ../../shaders/base/linearize-crt.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -// scale_x29 = 480 -// scale_y29 = 270 -// scale_x29 = 960 -// scale_y29 = 540 -scale_x29 = 800 -scale_y29 = 600 -float_framebuffer29 = true -alias29 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader30 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input30 = true -filter_linear30 = true -float_framebuffer30 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear31 = true -float_framebuffer31 = true -alias31 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader32 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -scale_x32 = 128 -scale_y32 = 128 -float_framebuffer32 = true -alias32 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 12 -scale_y33 = 12 -float_framebuffer33 = true -alias33 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader34 = ../../shaders/base/reflection.slang -scale_type34 = viewport -alias34 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader35 = ../../shaders/base/combine-passes.slang -scale_type35 = viewport -alias35 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp index 154b6e0..3d13df6 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp @@ -1,409 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -// filter_linear12 = "false" -// wrap_mode12 = "clamp_to_border" -// mipmap_input12 = "false" -// float_framebuffer12 = "false" -// srgb_framebuffer12 = "true" -alias12 = XbrSource - -shader13 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear13 = "false" -wrap_mode13 = "clamp_to_border" -mipmap_input13 = "false" -float_framebuffer13 = "false" -srgb_framebuffer13 = "true" - -shader14 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear14 = "false" -wrap_mode14 = "clamp_to_border" -mipmap_input14 = "false" -alias14 = "" -float_framebuffer14 = "false" -srgb_framebuffer14 = "true" -scale_type_x14 = "source" -scale_x14 = "2.000000" -scale_type_y14 = "source" -scale_y14 = "2.000000" - -shader15 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear15 = "false" -wrap_mode15 = "clamp_to_border" -mipmap_input15 = "false" -alias15 = "" -float_framebuffer15 = "false" -srgb_framebuffer15 = "true" -scale_type_x15 = "source" -scale_x15 = "1.000000" -scale_type_y15 = "source" -scale_y15 = "1.000000" - -shader16 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -alias16 = "" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" -scale_type_x16 = "source" -scale_x16 = "1.000000" -scale_type_y16 = "source" -scale_y16 = "1.000000" - -shader17 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear17 = false -scale_type_x17 = source -scale_x17 = 1 -scale_type_y17 = source -scale_y17 = 0.5 -wrap_mode17 = "clamp_to_edge" - -shader18 = ../../shaders/base/stock.slang -filter_linear18 = true -scale_type18 = source -scale_x18 = 1.0 -scale_y18 = 1.0 -alias18 = "PrePass" -mipmap_input18 = true - -shader19 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -mipmap_input19 = true -alias19 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader20 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -float_framebuffer20 = true -alias20 = "LinearizePass" - -shader21 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 800.0 -scale_type_y21 = source -scale_y21 = 1.0 -float_framebuffer21 = true - -shader22 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 800.0 -scale_type_y22 = absolute -scale_y22 = 600.0 -float_framebuffer22 = true -alias22 = GlowPass - -shader23 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 800.0 -scale_type_y23 = absolute -scale_y23 = 600.0 -float_framebuffer23 = true - -shader24 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear24 = true -scale_type_x24 = source -scale_x24 = 1.0 -scale_type_y24 = source -scale_y24 = 1.0 -float_framebuffer24 = true -alias24 = BloomPass - -shader25 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true - -shader26 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear26 = true -scale_type26 = viewport -scale_x26 = 1.0 -scale_y26 = 1.0 -float_framebuffer26 = true -alias26 = "CRTPass" - -shader27 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input27 = true -scale_type27 = viewport -float_framebuffer27 = true -alias27 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader28 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "BR_LayersUnderCRTPass" - -shader29 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader30 = ../../shaders/base/linearize-crt.slang -mipmap_input30 = true -filter_linear30 = true -scale_type30 = absolute -// scale_x30 = 480 -// scale_y30 = 270 -// scale_x30 = 960 -// scale_y30 = 540 -scale_x30 = 800 -scale_y30 = 600 -float_framebuffer30 = true -alias30 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input31 = true -filter_linear31 = true -float_framebuffer31 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear32 = true -float_framebuffer32 = true -alias32 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 128 -scale_y33 = 128 -float_framebuffer33 = true -alias33 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 12 -scale_y34 = 12 -float_framebuffer34 = true -alias34 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader35 = ../../shaders/base/reflection.slang -scale_type35 = viewport -alias35 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/combine-passes.slang -scale_type36 = viewport -alias36 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__EASYMODE.slangp index 8be00fd..8022224 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__EASYMODE.slangp @@ -1,293 +1,2 @@ -shaders = 29 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear15 = false -srgb_framebuffer15 = true - -shader16 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear16 = false -srgb_framebuffer16 = true - -shader17 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear17 = false -srgb_framebuffer17 = true - -// Easymode's Shader! -shader18 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "CRTPass" - -g_gamma_out = 2.45 - -shader19 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader20 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersUnderCRTPass" - -shader21 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader22 = ../../shaders/base/linearize-crt.slang -mipmap_input22 = true -filter_linear22 = true -scale_type22 = absolute -// scale_x22 = 480 -// scale_y22 = 270 -// scale_x22 = 960 -// scale_y22 = 540 -scale_x22 = 800 -scale_y22 = 600 -float_framebuffer22 = true -alias22 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input23 = true -filter_linear23 = true -float_framebuffer23 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader24 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear24 = true -float_framebuffer24 = true -alias24 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 128 -scale_y25 = 128 -float_framebuffer25 = true -alias25 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader26 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input26 = true -filter_linear26 = true -scale_type26 = absolute -scale_x26 = 12 -scale_y26 = 12 -float_framebuffer26 = true -alias26 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader27 = ../../shaders/base/reflection.slang -scale_type27 = viewport -alias27 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader28 = ../../shaders/base/combine-passes.slang -scale_type28 = viewport -alias28 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Easymode Parameters -gamma_out = 2.2 +#reference "Root_Presets/MBZ__3__STD__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp index d753306..5b29e4b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp @@ -1,317 +1,2 @@ -shaders = 31 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/base/delinearize.slang -scale_type19 = source -float_framebuffer19 = "true" - -shader20 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -filter_linear20 = true -float_framebuffer20 = "true" -alias20 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader21 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader22 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "BR_LayersUnderCRTPass" - -shader23 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader24 = ../../shaders/base/linearize-crt.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -// scale_x24 = 480 -// scale_y24 = 270 -// scale_x24 = 960 -// scale_y24 = 540 -scale_x24 = 800 -scale_y24 = 600 -float_framebuffer24 = true -alias24 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader25 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input25 = true -filter_linear25 = true -float_framebuffer25 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear26 = true -float_framebuffer26 = true -alias26 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader27 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input27 = true -filter_linear27 = true -scale_type27 = absolute -scale_x27 = 128 -scale_y27 = 128 -float_framebuffer27 = true -alias27 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 12 -scale_y28 = 12 -float_framebuffer28 = true -alias28 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader29 = ../../shaders/base/reflection.slang -scale_type29 = viewport -alias29 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader30 = ../../shaders/base/combine-passes.slang -scale_type30 = viewport -alias30 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI.slangp index ea464e9..79428e6 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-MINI.slangp @@ -1,284 +1,2 @@ -shaders = 27 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -scale_type15 = source -float_framebuffer15 = "true" - -shader16 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type16 = viewport -scale_x16 = 1.0 -scale_y16 = 1.0 -filter_linear16 = true -float_framebuffer16 = "true" -alias16 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader17 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader18 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "BR_LayersUnderCRTPass" - -shader19 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader20 = ../../shaders/base/linearize-crt.slang -mipmap_input20 = true -filter_linear20 = true -scale_type20 = absolute -// scale_x20 = 480 -// scale_y20 = 270 -// scale_x20 = 960 -// scale_y20 = 540 -scale_x20 = 800 -scale_y20 = 600 -float_framebuffer20 = true -alias20 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader21 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input21 = true -filter_linear21 = true -float_framebuffer21 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear22 = true -float_framebuffer22 = true -alias22 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader23 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input23 = true -filter_linear23 = true -scale_type23 = absolute -scale_x23 = 128 -scale_y23 = 128 -float_framebuffer23 = true -alias23 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 12 -scale_y24 = 12 -float_framebuffer24 = true -alias24 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader25 = ../../shaders/base/reflection.slang -scale_type25 = viewport -alias25 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader26 = ../../shaders/base/combine-passes.slang -scale_type26 = viewport -alias26 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-NTSC.slangp index 0df3a09..13d3afb 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV-NTSC.slangp @@ -1,450 +1,2 @@ -shaders = 36 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear19 = true -scale_type_x19 = viewport -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = Pass1 - -shader20 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true -alias21 = GlowPass - -shader22 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true - -shader23 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true -alias23 = BloomPass - -shader24 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true - -shader25 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true -alias25 = "CRTPass" - -shader26 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input26 = true -scale_type26 = viewport -float_framebuffer26 = true -alias26 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader27 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear27 = true -scale_type27 = viewport -float_framebuffer27 = true -alias27 = "BR_LayersUnderCRTPass" - -shader28 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader29 = ../../shaders/base/linearize-crt.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -// scale_x29 = 480 -// scale_y29 = 270 -// scale_x29 = 960 -// scale_y29 = 540 -scale_x29 = 800 -scale_y29 = 600 -float_framebuffer29 = true -alias29 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader30 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input30 = true -filter_linear30 = true -float_framebuffer30 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear31 = true -float_framebuffer31 = true -alias31 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader32 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -scale_x32 = 128 -scale_y32 = 128 -float_framebuffer32 = true -alias32 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 12 -scale_y33 = 12 -float_framebuffer33 = true -alias33 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader34 = ../../shaders/base/reflection.slang -scale_type34 = viewport -alias34 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader35 = ../../shaders/base/combine-passes.slang -scale_type35 = viewport -alias35 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV.slangp index 5aa1491..74e951d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__GDV.slangp @@ -1,318 +1,2 @@ -shaders = 31 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear15 = true -scale_type_x15 = absolute -scale_x15 = 800.0 -scale_type_y15 = source -scale_y15 = 1.0 -float_framebuffer15 = true - -shader16 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = absolute -scale_y16 = 600.0 -float_framebuffer16 = true -alias16 = GlowPass - -shader17 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true - -shader18 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear18 = true -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -float_framebuffer18 = true -alias18 = BloomPass - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear19 = true -scale_type19 = viewport -scale_x19 = 1.0 -scale_y19 = 1.0 -float_framebuffer19 = true - -shader20 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = "CRTPass" - -shader21 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader22 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "BR_LayersUnderCRTPass" - -shader23 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader24 = ../../shaders/base/linearize-crt.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -// scale_x24 = 480 -// scale_y24 = 270 -// scale_x24 = 960 -// scale_y24 = 540 -scale_x24 = 800 -scale_y24 = 600 -float_framebuffer24 = true -alias24 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader25 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input25 = true -filter_linear25 = true -float_framebuffer25 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear26 = true -float_framebuffer26 = true -alias26 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader27 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input27 = true -filter_linear27 = true -scale_type27 = absolute -scale_x27 = 128 -scale_y27 = 128 -float_framebuffer27 = true -alias27 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 12 -scale_y28 = 12 -float_framebuffer28 = true -alias28 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader29 = ../../shaders/base/reflection.slang -scale_type29 = viewport -alias29 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader30 = ../../shaders/base/combine-passes.slang -scale_type30 = viewport -alias30 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__3__STD__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__LCD-GRID.slangp index a204e0e..5ed7987 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__LCD-GRID.slangp @@ -1,279 +1,2 @@ -shaders = 27 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -float_framebuffer15 = "true" - -shader16 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear16 = "false" -scale_type16 = "viewport" -scale16 = "1.0" -float_framebuffer16 = "true" -alias16 = "CRTPass" - -shader17 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader18 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "BR_LayersUnderCRTPass" - -shader19 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader20 = ../../shaders/base/linearize-crt.slang -mipmap_input20 = true -filter_linear20 = true -scale_type20 = absolute -// scale_x20 = 480 -// scale_y20 = 270 -// scale_x20 = 960 -// scale_y20 = 540 -scale_x20 = 800 -scale_y20 = 600 -float_framebuffer20 = true -alias20 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader21 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input21 = true -filter_linear21 = true -float_framebuffer21 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear22 = true -float_framebuffer22 = true -alias22 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader23 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input23 = true -filter_linear23 = true -scale_type23 = absolute -scale_x23 = 128 -scale_y23 = 128 -float_framebuffer23 = true -alias23 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 12 -scale_y24 = 12 -float_framebuffer24 = true -alias24 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader25 = ../../shaders/base/reflection.slang -scale_type25 = viewport -alias25 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader26 = ../../shaders/base/combine-passes.slang -scale_type26 = viewport -alias26 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__3__STD__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp index 446a94f..9951d0f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp @@ -1,335 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -float_framebuffer16 = true -alias16 = "PrePass" - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -float_framebuffer17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader19 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear19 = "false" -scale_type19 = "source" -scale19 = "1.0" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SourceSDR" -float_framebuffer19 = "true" - -shader20 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear20 = "false" -scale_type20 = "source" -scale20 = "1.0" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "SourceHDR" -float_framebuffer20 = "true" - -shader21 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear21 = "false" -wrap_mode21 = "clamp_to_border" -mipmap_input21 = "false" -scale_type21 = "viewport" -float_framebuffer21 = "true" -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes-hdr.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON.slangp index 8d2e05a..43e4701 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON.slangp @@ -1,302 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-all-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -float_framebuffer12 = true -alias12 = "PrePass" - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -float_framebuffer13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader15 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear15 = "false" -scale_type15 = "source" -scale15 = "1.0" -wrap_mode15 = "clamp_to_border" -mipmap_input15 = "false" -alias15 = "SourceSDR" -float_framebuffer15 = "true" - -shader16 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear16 = "false" -scale_type16 = "source" -scale16 = "1.0" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -alias16 = "SourceHDR" -float_framebuffer16 = "true" - -shader17 = "../../shaders/megatron/crt-sony-megatron.slang" -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -scale_type17 = "viewport" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt-hdr.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes-hdr.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__3__STD__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp index 96833b7..d7d16b1 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp @@ -1,424 +1,2 @@ -shaders = 44 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/base/stock.slang -alias25 = "PrePass0" - -shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear26 = false -float_framebuffer26 = true -scale_type_x26 = source -scale_type_y26 = source -scale_x26 = 4.0 -scale_y26 = 1.0 -frame_count_mod26 = 2 -alias26 = NPass1 - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer27 = true -filter_linear27 = true -scale_type27 = source -scale_x27 = 0.5 -scale_y27 = 1.0 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/base/stock.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 -alias30 = "PrePass" -mipmap_input30 = true - -shader31 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -mipmap_input31 = true -alias31 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -float_framebuffer32 = true -alias32 = "LinearizePass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear33 = true -scale_type_x33 = viewport -scale_x33 = 1.0 -scale_type_y33 = source -scale_y33 = 1.0 -float_framebuffer33 = true -alias33 = Pass1 - -shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 640.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = absolute -scale_y35 = 480.0 -float_framebuffer35 = true -alias35 = "GlowPass" - -shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true -alias37 = "BloomPass" - -shader38 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear38 = true -scale_type38 = viewport -scale_x38 = 1.0 -scale_y38 = 1.0 -float_framebuffer38 = true - -shader39 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true -alias39 = "CRTPass" - -shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader41 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "BR_LayersUnderCRTPass" - -shader42 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader43 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type43 = viewport -alias43 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp index b05f36d..6552396 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp @@ -1,383 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 - -shader26 = ../../shaders/base/stock.slang -filter_linear26 = true -scale_type26 = source -scale_x26 = 1.0 -scale_y26 = 1.0 -alias26 = "PrePass" -mipmap_input26 = true - -shader27 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -mipmap_input27 = true -alias27 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -float_framebuffer28 = true -alias28 = "LinearizePass" - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 800.0 -scale_type_y30 = absolute -scale_y30 = 600.0 -float_framebuffer30 = true -alias30 = "GlowPass" - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 800.0 -scale_type_y31 = absolute -scale_y31 = 600.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = source -scale_x32 = 1.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "BloomPass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader36 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "BR_LayersUnderCRTPass" - -shader37 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp index ee41983..4ed8a07 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp @@ -1,235 +1,2 @@ -shaders = 23 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear15 = false -srgb_framebuffer15 = true - -shader16 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear16 = false -srgb_framebuffer16 = true - -shader17 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear17 = false -srgb_framebuffer17 = true - -// Easymode's Shader! -shader18 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "CRTPass" - -g_gamma_out = 2.45 - -shader19 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader20 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersUnderCRTPass" - -shader21 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader22 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type22 = viewport -alias22 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Easymode Parameters -gamma_out = 2.2 +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp index 24fef4b..017cabd 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp @@ -1,259 +1,2 @@ -shaders = 25 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/base/delinearize.slang -scale_type19 = source -float_framebuffer19 = "true" - -shader20 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -filter_linear20 = true -float_framebuffer20 = "true" -alias20 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader22 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "BR_LayersUnderCRTPass" - -shader23 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader24 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type24 = viewport -alias24 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp index 28ad59d..930a6b7 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp @@ -1,226 +1,2 @@ -shaders = 21 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -scale_type15 = source -float_framebuffer15 = "true" - -shader16 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type16 = viewport -scale_x16 = 1.0 -scale_y16 = 1.0 -filter_linear16 = true -float_framebuffer16 = "true" -alias16 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader18 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "BR_LayersUnderCRTPass" - -shader19 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader20 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type20 = viewport -alias20 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp index c5deff6..cbf86bb 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp @@ -1,302 +1,2 @@ -shaders = 30 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear19 = true -scale_type_x19 = viewport -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = Pass1 - -shader20 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true -alias21 = "GlowPass" - -shader22 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true - -shader23 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true -alias23 = "BloomPass" - -shader24 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true - -shader25 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true -alias25 = "CRTPass" - -shader26 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input26 = true -scale_type26 = viewport -float_framebuffer26 = true -alias26 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader27 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear27 = true -scale_type27 = viewport -float_framebuffer27 = true -alias27 = "BR_LayersUnderCRTPass" - -shader28 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader29 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type29 = viewport -alias29 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp index d9e5e22..dbc1ac7 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp @@ -1,260 +1,2 @@ -shaders = 25 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear15 = true -scale_type_x15 = absolute -scale_x15 = 800.0 -scale_type_y15 = source -scale_y15 = 1.0 -float_framebuffer15 = true - -shader16 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = absolute -scale_y16 = 600.0 -float_framebuffer16 = true -alias16 = "GlowPass" - -shader17 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true - -shader18 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear18 = true -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -float_framebuffer18 = true -alias18 = "BloomPass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear19 = true -scale_type19 = viewport -scale_x19 = 1.0 -scale_y19 = 1.0 -float_framebuffer19 = true - -shader20 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = "CRTPass" - -shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader22 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "BR_LayersUnderCRTPass" - -shader23 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader24 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type24 = viewport -alias24 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp index f2cbc2c..190c5e8 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp @@ -1,221 +1,2 @@ -shaders = 21 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -float_framebuffer15 = "true" - -shader16 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear16 = "false" -scale_type16 = "viewport" -scale16 = "1.0" -float_framebuffer16 = "true" -alias16 = "CRTPass" - -shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader18 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "BR_LayersUnderCRTPass" - -shader19 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader20 = ../../shaders/base/combine-passes-no-reflect.slang -scale_type20 = viewport -alias20 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp index cf9c400..74c097f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp @@ -1,277 +1,2 @@ -shaders = 26 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -float_framebuffer16 = true -alias16 = "PrePass" - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -float_framebuffer17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader19 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear19 = "false" -scale_type19 = "source" -scale19 = "1.0" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SourceSDR" -float_framebuffer19 = "true" - -shader20 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear20 = "false" -scale_type20 = "source" -scale20 = "1.0" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "SourceHDR" -float_framebuffer20 = "true" - -shader21 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear21 = "false" -wrap_mode21 = "clamp_to_border" -mipmap_input21 = "false" -scale_type21 = "viewport" -float_framebuffer21 = "true" -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader25 = ../../shaders/base/combine-passes-no-reflect-hdr.slang -scale_type25 = viewport -alias25 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp index dfaf9d8..88a7f50 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp @@ -1,244 +1,2 @@ -shaders = 22 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -float_framebuffer12 = true -alias12 = "PrePass" - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -float_framebuffer13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader15 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear15 = "false" -scale_type15 = "source" -scale15 = "1.0" -wrap_mode15 = "clamp_to_border" -mipmap_input15 = "false" -alias15 = "SourceSDR" -float_framebuffer15 = "true" - -shader16 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear16 = "false" -scale_type16 = "source" -scale16 = "1.0" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -alias16 = "SourceHDR" -float_framebuffer16 = "true" - -shader17 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -scale_type17 = "viewport" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader21 = ../../shaders/base/combine-passes-no-reflect-hdr.slang -scale_type21 = viewport -alias21 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp index 7410d43..c7e62c4 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp @@ -1,410 +1,2 @@ -shaders = 42 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/base/stock.slang -alias25 = "PrePass0" - -shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear26 = false -float_framebuffer26 = true -scale_type_x26 = source -scale_type_y26 = source -scale_x26 = 4.0 -scale_y26 = 1.0 -frame_count_mod26 = 2 -alias26 = NPass1 - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer27 = true -filter_linear27 = true -scale_type27 = source -scale_x27 = 0.5 -scale_y27 = 1.0 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/base/stock.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 -alias30 = "PrePass" -mipmap_input30 = true - -shader31 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -mipmap_input31 = true -alias31 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -float_framebuffer32 = true -alias32 = "LinearizePass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear33 = true -scale_type_x33 = viewport -scale_x33 = 1.0 -scale_type_y33 = source -scale_y33 = 1.0 -float_framebuffer33 = true -alias33 = Pass1 - -shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 640.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = absolute -scale_y35 = 480.0 -float_framebuffer35 = true -alias35 = "GlowPass" - -shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true -alias37 = "BloomPass" - -shader38 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear38 = true -scale_type38 = viewport -scale_x38 = 1.0 -scale_y38 = 1.0 -float_framebuffer38 = true - -shader39 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true -alias39 = "CRTPass" - -shader40 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader41 = ../../shaders/base/output-sdr.slang -scale_type41 = viewport -alias41 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp index e477198..20b45af 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp @@ -1,369 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 - -shader26 = ../../shaders/base/stock.slang -filter_linear26 = true -scale_type26 = source -scale_x26 = 1.0 -scale_y26 = 1.0 -alias26 = "PrePass" -mipmap_input26 = true - -shader27 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -mipmap_input27 = true -alias27 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -float_framebuffer28 = true -alias28 = "LinearizePass" - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 800.0 -scale_type_y30 = absolute -scale_y30 = 600.0 -float_framebuffer30 = true -alias30 = "GlowPass" - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 800.0 -scale_type_y31 = absolute -scale_y31 = 600.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = source -scale_x32 = 1.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "BloomPass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/output-sdr.slang -scale_type36 = viewport -alias36 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp index d1ab8e1..ca31fe5 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp @@ -1,221 +1,2 @@ -shaders = 21 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear15 = false -srgb_framebuffer15 = true - -shader16 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear16 = false -srgb_framebuffer16 = true - -shader17 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear17 = false -srgb_framebuffer17 = true - -// Easymode's Shader! -shader18 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "CRTPass" - -g_gamma_out = 2.45 - -shader19 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader20 = ../../shaders/base/output-sdr.slang -scale_type20 = viewport -alias20 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Easymode Parameters -gamma_out = 2.2 +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp index 09d6423..85a90c7 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp @@ -1,245 +1,2 @@ -shaders = 23 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/base/delinearize.slang -scale_type19 = source -float_framebuffer19 = "true" - -shader20 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -filter_linear20 = true -float_framebuffer20 = "true" -alias20 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader22 = ../../shaders/base/output-sdr.slang -scale_type22 = viewport -alias22 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp index 2b8bc02..7846883 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp @@ -1,212 +1,2 @@ -shaders = 19 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -scale_type15 = source -float_framebuffer15 = "true" - -shader16 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type16 = viewport -scale_x16 = 1.0 -scale_y16 = 1.0 -filter_linear16 = true -float_framebuffer16 = "true" -alias16 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader18 = ../../shaders/base/output-sdr.slang -scale_type18 = viewport -alias18 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp index 9905995..522f81b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp @@ -1,288 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear19 = true -scale_type_x19 = viewport -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = Pass1 - -shader20 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true -alias21 = "GlowPass" - -shader22 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true - -shader23 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true -alias23 = "BloomPass" - -shader24 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true - -shader25 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true -alias25 = "CRTPass" - -shader26 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input26 = true -scale_type26 = viewport -float_framebuffer26 = true -alias26 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/output-sdr.slang -scale_type27 = viewport -alias27 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp index f5b8121..1006502 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp @@ -1,336 +1,2 @@ -shaders = 23 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear15 = true -scale_type_x15 = absolute -scale_x15 = 800.0 -scale_type_y15 = source -scale_y15 = 1.0 -float_framebuffer15 = true - -shader16 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = absolute -scale_y16 = 600.0 -float_framebuffer16 = true -alias16 = "GlowPass" - -shader17 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true - -shader18 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear18 = true -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -float_framebuffer18 = true -alias18 = "BloomPass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang -filter_linear19 = true -scale_type19 = viewport -scale_x19 = 1.0 -scale_y19 = 1.0 -float_framebuffer19 = true - -shader20 = ../../shaders/guest/hsm-deconvergence-no-reflect.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = "CRTPass" - -shader21 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader22 = ../../shaders/base/output-sdr.slang -scale_type22 = viewport -alias22 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp index 95209b0..93274f4 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp @@ -1,297 +1,2 @@ -shaders = 19 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -float_framebuffer15 = "true" - -shader16 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear16 = "false" -scale_type16 = "viewport" -scale16 = "1.0" -float_framebuffer16 = "true" -alias16 = "CRTPass" - -shader17 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader18 = ../../shaders/base/output-sdr.slang -scale_type18 = viewport -alias18 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp index b4f3052..b54a0fb 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp @@ -1,263 +1,2 @@ -shaders = 24 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -float_framebuffer16 = true -alias16 = "PrePass" - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -float_framebuffer17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader19 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear19 = "false" -scale_type19 = "source" -scale19 = "1.0" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SourceSDR" -float_framebuffer19 = "true" - -shader20 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear20 = "false" -scale_type20 = "source" -scale20 = "1.0" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -alias20 = "SourceHDR" -float_framebuffer20 = "true" - -shader21 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear21 = "false" -wrap_mode21 = "clamp_to_border" -mipmap_input21 = "false" -scale_type21 = "viewport" -float_framebuffer21 = "true" -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader23 = ../../shaders/base/output-hdr.slang -scale_type23 = viewport -alias23 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp index e4885cb..4a5e07e 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp @@ -1,230 +1,2 @@ -shaders = 20 - -shader0 = ../../shaders/base/add-params-no-reflect.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-no-reflect-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-std-no-reflect.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "DeditherPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -float_framebuffer12 = true -alias12 = "PrePass" - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -float_framebuffer13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader15 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear15 = "false" -scale_type15 = "source" -scale15 = "1.0" -wrap_mode15 = "clamp_to_border" -mipmap_input15 = "false" -alias15 = "SourceSDR" -float_framebuffer15 = "true" - -shader16 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear16 = "false" -scale_type16 = "source" -scale16 = "1.0" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -alias16 = "SourceHDR" -float_framebuffer16 = "true" - -shader17 = "../../shaders/megatron/crt-sony-megatron-no-reflect.slang" -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -scale_type17 = "viewport" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-no-reflect.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader19 = ../../shaders/base/output-hdr.slang -scale_type19 = viewport -alias19 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp index 2d917e7..4ff8e89 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp @@ -1,344 +1,2 @@ -shaders = 41 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/base/stock.slang -alias25 = "PrePass0" - -shader26 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear26 = false -float_framebuffer26 = true -scale_type_x26 = source -scale_type_y26 = source -scale_x26 = 4.0 -scale_y26 = 1.0 -frame_count_mod26 = 2 -alias26 = NPass1 - -shader27 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer27 = true -filter_linear27 = true -scale_type27 = source -scale_x27 = 0.5 -scale_y27 = 1.0 - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear28 = true -scale_type28 = source -scale_x28 = 1.0 -scale_y28 = 1.0 - -shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/base/stock.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 -alias30 = "PrePass" -mipmap_input30 = true - -shader31 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -mipmap_input31 = true -alias31 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -float_framebuffer32 = true -alias32 = "LinearizePass" - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear33 = true -scale_type_x33 = viewport -scale_x33 = 1.0 -scale_type_y33 = source -scale_y33 = 1.0 -float_framebuffer33 = true -alias33 = Pass1 - -shader34 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 640.0 -scale_type_y34 = source -scale_y34 = 1.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 640.0 -scale_type_y35 = absolute -scale_y35 = 480.0 -float_framebuffer35 = true -alias35 = GlowPass - -shader36 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = absolute -scale_y36 = 480.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true -alias37 = BloomPass - -shader38 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang -filter_linear38 = true -scale_type38 = viewport -scale_x38 = 1.0 -scale_y38 = 1.0 -float_framebuffer38 = true - -shader39 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear39 = true -scale_type39 = viewport -scale_x39 = 1.0 -scale_y39 = 1.0 -float_framebuffer39 = true -alias39 = "CRTPass" - -shader40 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp index 0920528..2e65918 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp @@ -1,303 +1,2 @@ -shaders = 36 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias6 = LinearGamma - -shader7 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = CB_Output - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear11 = false - -shader12 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader13 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias13 = "DeditherPass" - -shader14 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias14 = "DeditherPass" - -shader15 = ../../shaders/base/stock.slang -// filter_linear15 = "false" -// wrap_mode15 = "clamp_to_border" -// mipmap_input15 = "false" -// float_framebuffer15 = "false" -// srgb_framebuffer15 = "true" -alias15 = XbrSource - -shader16 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -float_framebuffer16 = "false" -srgb_framebuffer16 = "true" - -shader17 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang -filter_linear17 = "false" -wrap_mode17 = "clamp_to_border" -mipmap_input17 = "false" -alias17 = "" -float_framebuffer17 = "false" -srgb_framebuffer17 = "true" -scale_type_x17 = "source" -scale_x17 = "2.000000" -scale_type_y17 = "source" -scale_y17 = "2.000000" - -shader18 = ../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang -filter_linear18 = "false" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "" -float_framebuffer18 = "false" -srgb_framebuffer18 = "true" -scale_type_x18 = "source" -scale_x18 = "1.000000" -scale_type_y18 = "source" -scale_y18 = "1.000000" - -shader19 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang -filter_linear19 = "false" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "" -float_framebuffer19 = "false" -srgb_framebuffer19 = "true" -scale_type_x19 = "source" -scale_x19 = "1.000000" -scale_type_y19 = "source" -scale_y19 = "1.000000" - -shader20 = ../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang -filter_linear20 = false -scale_type_x20 = source -scale_x20 = 1 -scale_type_y20 = source -scale_y20 = 0.5 -wrap_mode20 = "clamp_to_edge" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PreCRTPass" - -shader22 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear22 = true -scale_type22 = source -scale22 = 1.0 -alias22 = "AfterglowPass" - -shader23 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear23 = true -scale_type23 = source -mipmap_input23 = true -scale23 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader24 = ../../shaders/dogway/hsm-grade.slang -filter_linear24 = false -scale_type24 = source -scale24 = 1.0 -alias24 = "ColorCorrectPass" - -shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 - -shader26 = ../../shaders/base/stock.slang -filter_linear26 = true -scale_type26 = source -scale_x26 = 1.0 -scale_y26 = 1.0 -alias26 = "PrePass" -mipmap_input26 = true - -shader27 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -mipmap_input27 = true -alias27 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -float_framebuffer28 = true -alias28 = "LinearizePass" - -shader29 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 800.0 -scale_type_y30 = absolute -scale_y30 = 600.0 -float_framebuffer30 = true -alias30 = GlowPass - -shader31 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 800.0 -scale_type_y31 = absolute -scale_y31 = 600.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear32 = true -scale_type_x32 = source -scale_x32 = 1.0 -scale_type_y32 = source -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = BloomPass - -shader33 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang -filter_linear33 = true -scale_type33 = viewport -scale_x33 = 1.0 -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-deconvergence-potato.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true -alias34 = "CRTPass" - -shader35 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -SHARPSMOOTHER_ON = 1 -max_w = 0.05 -min_w = 0 -smoot = 0.4 -lumad = 0.5 -mtric = 0.3 - -SUPERXBR_ON = 1 - -ntsc_scale = 0.45 - -SHARPEN = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 - -// gamma_c = 0.9 -// gsl = -1 -// scanline1 = 3 -// shadowMask = 3 -// maskDark = 0.4 -// maskLight = 1.2 -// mask_gamma = 4 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 +#reference "Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__EASYMODE.slangp index 56d1ded..0a9d131 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__EASYMODE.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__EASYMODE.slangp @@ -1,152 +1,2 @@ -shaders = 19 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "PreCRTPass" - -shader7 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear7 = true -scale_type7 = source -scale7 = 1.0 -alias7 = "AfterglowPass" - -shader8 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear8 = true -scale_type8 = source -mipmap_input8 = true -scale8 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader9 = ../../shaders/dogway/hsm-grade.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = "ColorCorrectPass" - -shader10 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear10 = true -scale_type10 = source -scale_x10 = 1.0 -scale_y10 = 1.0 - -shader11 = ../../shaders/base/stock.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 -alias11 = "PrePass" -mipmap_input11 = true - -shader12 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear12 = true -scale_type12 = source -scale12 = 1.0 -mipmap_input12 = true -alias12 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader13 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -float_framebuffer13 = true -alias13 = "LinearizePass" - -shader14 = ../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang -filter_linear14 = false -srgb_framebuffer14 = true - -shader15 = ../../shaders/easymode/hsm-crt-easymode-blur_vert.slang -filter_linear15 = false -srgb_framebuffer15 = true - -shader16 = ../../shaders/easymode/hsm-crt-easymode-threshold.slang -filter_linear16 = false -srgb_framebuffer16 = true - -// Easymode's Shader! -shader17 = ../../shaders/easymode/hsm-crt-easymode-halation.slang -filter_linear17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "CRTPass" - -g_gamma_out = 2.45 - -shader18 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Easymode Parameters -gamma_out = 2.2 +#reference "Root_Presets/MBZ__5__POTATO__EASYMODE.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp index 8d3bb6b..ff39e57 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp @@ -1,152 +1,2 @@ -shaders = 18 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader6 = ../../shaders/dogway/hsm-grade.slang -filter_linear6 = false -scale_type6 = source -scale6 = 1.0 -alias6 = "ColorCorrectPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PrePass0" - -shader8 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear8 = false -float_framebuffer8 = true -scale_type_x8 = source -scale_type_y8 = source -scale_x8 = 4.0 -scale_y8 = 1.0 -frame_count_mod8 = 2 -alias8 = NPass1 - -shader9 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer9 = true -filter_linear9 = true -scale_type9 = source -scale_x9 = 0.5 -scale_y9 = 1.0 - -shader10 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear10 = true -scale_type10 = source -scale_x10 = 1.0 -scale_y10 = 1.0 - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/base/delinearize.slang -scale_type15 = source -float_framebuffer15 = "true" - -shader16 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang -scale_type16 = viewport -scale_x16 = 1.0 -scale_y16 = 1.0 -filter_linear16 = true -float_framebuffer16 = "true" -alias16 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader17 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI.slangp index d7f02e9..2b4e75e 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-MINI.slangp @@ -1,119 +1,2 @@ -shaders = 14 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader6 = ../../shaders/dogway/hsm-grade.slang -filter_linear6 = false -scale_type6 = source -scale6 = 1.0 -alias6 = "ColorCorrectPass" - -shader7 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear7 = true -scale_type7 = source -scale_x7 = 1.0 -scale_y7 = 1.0 - -shader8 = ../../shaders/base/stock.slang -filter_linear8 = true -scale_type8 = source -scale_x8 = 1.0 -scale_y8 = 1.0 -alias8 = "PrePass" -mipmap_input8 = true - -shader9 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -mipmap_input9 = true -alias9 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader10 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear10 = true -scale_type10 = source -scale10 = 1.0 -float_framebuffer10 = true -alias10 = "LinearizePass" - -shader11 = ../../shaders/base/delinearize.slang -scale_type11 = source -float_framebuffer11 = "true" - -shader12 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang -scale_type12 = viewport -scale_x12 = 1.0 -scale_y12 = 1.0 -filter_linear12 = true -float_framebuffer12 = "true" -alias12 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader13 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input13 = true -scale_type13 = viewport -float_framebuffer13 = true -alias13 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__5__POTATO__GDV-MINI.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-NTSC.slangp index 617b0d4..622f93a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV-NTSC.slangp @@ -1,219 +1,2 @@ -shaders = 26 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "PreCRTPass" - -shader7 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear7 = true -scale_type7 = source -scale7 = 1.0 -alias7 = "AfterglowPass" - -shader8 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear8 = true -scale_type8 = source -mipmap_input8 = true -scale8 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader9 = ../../shaders/dogway/hsm-grade.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = "ColorCorrectPass" - -shader10 = ../../shaders/base/stock.slang -alias10 = "PrePass0" - -shader11 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear11 = false -float_framebuffer11 = true -scale_type_x11 = source -scale_type_y11 = source -scale_x11 = 4.0 -scale_y11 = 1.0 -frame_count_mod11 = 2 -alias11 = NPass1 - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer12 = true -filter_linear12 = true -scale_type12 = source -scale_x12 = 0.5 -scale_y12 = 1.0 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/base/stock.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 -alias15 = "PrePass" -mipmap_input15 = true - -shader16 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear16 = true -scale_type16 = source -scale16 = 1.0 -mipmap_input16 = true -alias16 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader17 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = "LinearizePass" - -shader18 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear18 = true -scale_type_x18 = viewport -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -float_framebuffer18 = true -alias18 = Pass1 - -shader19 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear19 = true -scale_type_x19 = absolute -scale_x19 = 640.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true - -shader20 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = absolute -scale_y20 = 480.0 -float_framebuffer20 = true -alias20 = GlowPass - -shader21 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true - -shader22 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true -alias22 = BloomPass - -shader23 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang -filter_linear23 = true -scale_type23 = viewport -scale_x23 = 1.0 -scale_y23 = 1.0 -float_framebuffer23 = true - -shader24 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true -alias24 = "CRTPass" - -shader25 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input25 = true -scale_type25 = viewport -float_framebuffer25 = true -alias25 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__5__POTATO__GDV-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV.slangp index 3cd3737..7547b4d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__GDV.slangp @@ -1,177 +1,2 @@ -shaders = 21 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "PreCRTPass" - -shader7 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear7 = true -scale_type7 = source -scale7 = 1.0 -alias7 = "AfterglowPass" - -shader8 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear8 = true -scale_type8 = source -mipmap_input8 = true -scale8 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader9 = ../../shaders/dogway/hsm-grade.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = "ColorCorrectPass" - -shader10 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear10 = true -scale_type10 = source -scale_x10 = 1.0 -scale_y10 = 1.0 - -shader11 = ../../shaders/base/stock.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 -alias11 = "PrePass" -mipmap_input11 = true - -shader12 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear12 = true -scale_type12 = source -scale12 = 1.0 -mipmap_input12 = true -alias12 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader13 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -float_framebuffer13 = true -alias13 = "LinearizePass" - -shader14 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear14 = true -scale_type_x14 = absolute -scale_x14 = 800.0 -scale_type_y14 = source -scale_y14 = 1.0 -float_framebuffer14 = true - -shader15 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear15 = true -scale_type_x15 = absolute -scale_x15 = 800.0 -scale_type_y15 = absolute -scale_y15 = 600.0 -float_framebuffer15 = true -alias15 = GlowPass - -shader16 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = absolute -scale_y16 = 600.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear17 = true -scale_type_x17 = source -scale_x17 = 1.0 -scale_type_y17 = source -scale_y17 = 1.0 -float_framebuffer17 = true -alias17 = BloomPass - -shader18 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang -filter_linear18 = true -scale_type18 = viewport -scale_x18 = 1.0 -scale_y18 = 1.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-deconvergence-potato.slang -filter_linear19 = true -scale_type19 = viewport -scale_x19 = 1.0 -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = "CRTPass" - -shader20 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__5__POTATO__GDV.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__LCD-GRID.slangp index 7aab221..ab520c3 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__LCD-GRID.slangp @@ -1,138 +1,2 @@ -shaders = 17 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "PreCRTPass" - -shader7 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear7 = true -scale_type7 = source -scale7 = 1.0 -alias7 = "AfterglowPass" - -shader8 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear8 = true -scale_type8 = source -mipmap_input8 = true -scale8 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader9 = ../../shaders/dogway/hsm-grade.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = "ColorCorrectPass" - -shader10 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear10 = true -scale_type10 = source -scale_x10 = 1.0 -scale_y10 = 1.0 - -shader11 = ../../shaders/base/stock.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 -alias11 = "PrePass" -mipmap_input11 = true - -shader12 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear12 = true -scale_type12 = source -scale12 = 1.0 -mipmap_input12 = true -alias12 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader13 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -float_framebuffer13 = true -alias13 = "LinearizePass" - -shader14 = ../../shaders/base/delinearize.slang -float_framebuffer14 = "true" - -shader15 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear15 = "false" -scale_type15 = "viewport" -scale15 = "1.0" -float_framebuffer15 = "true" -alias15 = "CRTPass" - -shader16 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input16 = true -scale_type16 = viewport -float_framebuffer16 = true -alias16 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__5__POTATO__LCD-GRID.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp index 1838f8b..17bb17b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp @@ -1,199 +1,2 @@ -shaders = 23 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "PreCRTPass" - -shader7 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear7 = true -scale_type7 = source -scale7 = 1.0 -alias7 = "AfterglowPass" - -shader8 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear8 = true -scale_type8 = source -mipmap_input8 = true -scale8 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader9 = ../../shaders/dogway/hsm-grade.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = "ColorCorrectPass" - -shader10 = ../../shaders/base/stock.slang -alias10 = "PrePass0" - -shader11 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear11 = false -float_framebuffer11 = true -scale_type_x11 = source -scale_type_y11 = source -scale_x11 = 4.0 -scale_y11 = 1.0 -frame_count_mod11 = 2 -alias11 = NPass1 - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer12 = true -filter_linear12 = true -scale_type12 = source -scale_x12 = 0.5 -scale_y12 = 1.0 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/base/stock.slang -float_framebuffer15 = true -alias15 = "PrePass" - -shader16 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear16 = true -scale_type16 = source -scale16 = 1.0 -mipmap_input16 = true -float_framebuffer16 = true -alias16 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader17 = ../../shaders/guest/hsm-interlace.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true -alias17 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader18 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear18 = "false" -scale_type18 = "source" -scale18 = "1.0" -wrap_mode18 = "clamp_to_border" -mipmap_input18 = "false" -alias18 = "SourceSDR" -float_framebuffer18 = "true" - -shader19 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear19 = "false" -scale_type19 = "source" -scale19 = "1.0" -wrap_mode19 = "clamp_to_border" -mipmap_input19 = "false" -alias19 = "SourceHDR" -float_framebuffer19 = "true" - -shader20 = "../../shaders/megatron/crt-sony-megatron-potato.slang" -filter_linear20 = "false" -wrap_mode20 = "clamp_to_border" -mipmap_input20 = "false" -scale_type20 = "viewport" -float_framebuffer20 = "true" -alias20 = "CRTPass" - -shader21 = ../../shaders/base/post-crt-prep-potato-megatron.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader22 = ../../shaders/base/output-hdr.slang -scale_type22 = viewport -alias22 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON.slangp index e7c2b35..e864621 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__MEGATRON.slangp @@ -1,166 +1,2 @@ -shaders = 19 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/base/stock.slang -filter_linear1 = false -srgb_framebuffer1 = true -scale_type1 = source -scale_x1 = 1 -scale_y1 = 1 -alias1 = "DerezedPass" - -shader2 = ../../shaders/base/add-negative-crop-area.slang -filter_linear2 = false -mipmap_input2 = false -srgb_framebuffer2 = true -scale_type2 = source -scale_x2 = 1 -scale_y2 = 1 -alias2 = "NegativeCropAddedPass" - -shader3 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear3 = false -scale_type3 = source -scale3 = 1.0 -alias3 = "InfoCachePass" - -shader4 = ../../shaders/base/text-potato.slang -filter_linear4 = false -float_framebuffer4 = true -scale_type4 = source -scale4 = 1.0 -alias4 = "TextPass" - -shader5 = ../../shaders/base/intro-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "IntroPass" - -shader6 = ../../shaders/base/stock.slang -alias6 = "PreCRTPass" - -shader7 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear7 = true -scale_type7 = source -scale7 = 1.0 -alias7 = "AfterglowPass" - -shader8 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear8 = true -scale_type8 = source -mipmap_input8 = true -scale8 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader9 = ../../shaders/dogway/hsm-grade.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 -alias9 = "ColorCorrectPass" - -shader10 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear10 = true -scale_type10 = source -scale_x10 = 1.0 -scale_y10 = 1.0 - -shader11 = ../../shaders/base/stock.slang -float_framebuffer11 = true -alias11 = "PrePass" - -shader12 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear12 = true -scale_type12 = source -scale12 = 1.0 -mipmap_input12 = true -float_framebuffer12 = true -alias12 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader13 = ../../shaders/guest/hsm-interlace.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -float_framebuffer13 = true -alias13 = "LinearizePass" -feedback_pass = "0" - -// Sony Megatron Colour Video Monitor by Major Pain The Cactus -shader14 = "../../shaders/megatron/crt-sony-megatron-source-pass.slang" -filter_linear14 = "false" -scale_type14 = "source" -scale14 = "1.0" -wrap_mode14 = "clamp_to_border" -mipmap_input14 = "false" -alias14 = "SourceSDR" -float_framebuffer14 = "true" - -shader15 = "../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" -filter_linear15 = "false" -scale_type15 = "source" -scale15 = "1.0" -wrap_mode15 = "clamp_to_border" -mipmap_input15 = "false" -alias15 = "SourceHDR" -float_framebuffer15 = "true" - -shader16 = "../../shaders/megatron/crt-sony-megatron-potato.slang" -filter_linear16 = "false" -wrap_mode16 = "clamp_to_border" -mipmap_input16 = "false" -scale_type16 = "viewport" -float_framebuffer16 = "true" -alias16 = "CRTPass" - -shader17 = ../../shaders/base/post-crt-prep-potato-megatron.slang -mipmap_input17 = true -scale_type17 = viewport -float_framebuffer17 = true -alias17 = "PostCRTPass" - -// Combine Passes ---------------------------------------------------------------- -shader18 = ../../shaders/base/output-hdr.slang -scale_type18 = viewport -alias18 = "OutputPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// Sony Megatron Color Monitor -hcrt_hdr = "0.000000" - -HSM_INT_SCALE_MODE = "1.000000" -HSM_CRT_CURVATURE_SCALE = "0.000000" -HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" -HSM_REFLECT_GLOBAL_AMOUNT = "40.000000" +#reference "Root_Presets/MBZ__5__POTATO__MEGATRON.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp new file mode 100644 index 0000000..a2625ad --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__EASYMODE.slangp @@ -0,0 +1,408 @@ +shaders = 43 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear32 = false +srgb_framebuffer32 = true + +shader33 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear33 = false +srgb_framebuffer33 = true + +shader34 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear34 = false +srgb_framebuffer34 = true + +# Easymode's Shader! +shader35 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "CRTPass" + +g_gamma_out = 2.45 + +shader36 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader37 = ../../../shaders/base/linearize-crt.slang +mipmap_input37 = true +filter_linear37 = true +scale_type37 = absolute +# scale_x37 = 480 +# scale_y37 = 270 +# scale_x37 = 960 +# scale_y37 = 540 +scale_x37 = 800 +scale_y37 = 600 +float_framebuffer37 = true +alias37 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader38 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input38 = true +filter_linear38 = true +float_framebuffer38 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear39 = true +float_framebuffer39 = true +alias39 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader40 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input40 = true +filter_linear40 = true +scale_type40 = absolute +scale_x40 = 128 +scale_y40 = 128 +float_framebuffer40 = true +alias40 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 12 +scale_y41 = 12 +float_framebuffer41 = true +alias41 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader42 = ../../../shaders/base/reflection-glass.slang +scale_type42 = viewport +srgb_framebuffer42 = true +alias42 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Easymode Parameters +gamma_out = 2.2 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp new file mode 100644 index 0000000..1812b69 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-MINI.slangp @@ -0,0 +1,399 @@ +shaders = 41 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/base/delinearize.slang +scale_type32 = source +float_framebuffer32 = "true" + +shader33 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +filter_linear33 = true +float_framebuffer33 = "true" +alias33 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader34 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection-glass.slang +scale_type40 = viewport +srgb_framebuffer40 = true +alias40 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp new file mode 100644 index 0000000..3613499 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV-NTSC.slangp @@ -0,0 +1,462 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader42 = ../../../shaders/base/linearize-crt.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +# scale_x42 = 480 +# scale_y42 = 270 +# scale_x42 = 960 +# scale_y42 = 540 +scale_x42 = 800 +scale_y42 = 600 +float_framebuffer42 = true +alias42 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input43 = true +filter_linear43 = true +float_framebuffer43 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader44 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear44 = true +float_framebuffer44 = true +alias44 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 128 +scale_y45 = 128 +float_framebuffer45 = true +alias45 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader46 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input46 = true +filter_linear46 = true +scale_type46 = absolute +scale_x46 = 12 +scale_y46 = 12 +float_framebuffer46 = true +alias46 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader47 = ../../../shaders/base/reflection-glass.slang +scale_type47 = viewport +srgb_framebuffer47 = true +alias47 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp new file mode 100644 index 0000000..8a46a34 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__GDV.slangp @@ -0,0 +1,433 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = GlowPass + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = BloomPass + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader39 = ../../../shaders/base/linearize-crt.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +# scale_x39 = 480 +# scale_y39 = 270 +# scale_x39 = 960 +# scale_y39 = 540 +scale_x39 = 800 +scale_y39 = 600 +float_framebuffer39 = true +alias39 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input40 = true +filter_linear40 = true +float_framebuffer40 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader41 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear41 = true +float_framebuffer41 = true +alias41 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 128 +scale_y42 = 128 +float_framebuffer42 = true +alias42 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader43 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input43 = true +filter_linear43 = true +scale_type43 = absolute +scale_x43 = 12 +scale_y43 = 12 +float_framebuffer43 = true +alias43 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader44 = ../../../shaders/base/reflection-glass.slang +scale_type44 = viewport +srgb_framebuffer44 = true +alias44 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp new file mode 100644 index 0000000..2b17a79 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__LCD-GRID.slangp @@ -0,0 +1,389 @@ +shaders = 41 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/base/delinearize.slang +float_framebuffer32 = "true" + +shader33 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear33 = "false" +scale_type33 = "viewport" +scale33 = "1.0" +float_framebuffer33 = "true" +alias33 = "CRTPass" + +shader34 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection-glass.slang +scale_type40 = viewport +srgb_framebuffer40 = true +alias40 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 100 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +ntsc_scale = 0.4 + +shadowMask = 3 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..bd7410f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON-NTSC.slangp @@ -0,0 +1,441 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +float_framebuffer31 = true +alias31 = "PrePass" + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +float_framebuffer32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader34 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear34 = "false" +scale_type34 = "source" +scale34 = "1.0" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +alias34 = "SourceSDR" +float_framebuffer34 = "true" + +shader35 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear35 = "false" +scale_type35 = "source" +scale35 = "1.0" +wrap_mode35 = "clamp_to_border" +mipmap_input35 = "false" +alias35 = "SourceHDR" +float_framebuffer35 = "true" + +shader36 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear36 = "false" +wrap_mode36 = "clamp_to_border" +mipmap_input36 = "false" +scale_type36 = "viewport" +float_framebuffer36 = "true" +alias36 = "CRTPass" + +shader37 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection-glass-hdr.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/output-hdr.slang +scale_type44 = viewport +alias44 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp new file mode 100644 index 0000000..c29814f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-GLASS__MEGATRON.slangp @@ -0,0 +1,421 @@ +shaders = 43 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +float_framebuffer29 = true +alias29 = "PrePass" + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +float_framebuffer30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader32 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear32 = "false" +scale_type32 = "source" +scale32 = "1.0" +wrap_mode32 = "clamp_to_border" +mipmap_input32 = "false" +alias32 = "SourceSDR" +float_framebuffer32 = "true" + +shader33 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear33 = "false" +scale_type33 = "source" +scale33 = "1.0" +wrap_mode33 = "clamp_to_border" +mipmap_input33 = "false" +alias33 = "SourceHDR" +float_framebuffer33 = "true" + +shader34 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear34 = "false" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +scale_type34 = "viewport" +float_framebuffer34 = "true" +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader36 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +# scale_x36 = 480 +# scale_y36 = 270 +# scale_x36 = 960 +# scale_y36 = 540 +scale_x36 = 800 +scale_y36 = 600 +float_framebuffer36 = true +alias36 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input37 = true +filter_linear37 = true +float_framebuffer37 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader38 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear38 = true +float_framebuffer38 = true +alias38 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 128 +scale_y39 = 128 +float_framebuffer39 = true +alias39 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader40 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input40 = true +filter_linear40 = true +scale_type40 = absolute +scale_x40 = 12 +scale_y40 = 12 +float_framebuffer40 = true +alias40 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader41 = ../../../shaders/base/reflection-glass-hdr.slang +scale_type41 = viewport +alias41 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader42 = ../../../shaders/base/output-hdr.slang +scale_type42 = viewport +alias42 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp new file mode 100644 index 0000000..27bce67 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV-NTSC.slangp @@ -0,0 +1,386 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = "GlowPass" + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = "BloomPass" + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp new file mode 100644 index 0000000..4580b15 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__GDV.slangp @@ -0,0 +1,357 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = "GlowPass" + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = "BloomPass" + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader39 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersUnderCRTPass" + +shader40 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..6d505ed --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON-NTSC.slangp @@ -0,0 +1,361 @@ +shaders = 41 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +float_framebuffer31 = true +alias31 = "PrePass" + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +float_framebuffer32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader34 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear34 = "false" +scale_type34 = "source" +scale34 = "1.0" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +alias34 = "SourceSDR" +float_framebuffer34 = "true" + +shader35 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear35 = "false" +scale_type35 = "source" +scale35 = "1.0" +wrap_mode35 = "clamp_to_border" +mipmap_input35 = "false" +alias35 = "SourceHDR" +float_framebuffer35 = "true" + +shader36 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear36 = "false" +wrap_mode36 = "clamp_to_border" +mipmap_input36 = "false" +scale_type36 = "viewport" +float_framebuffer36 = "true" +alias36 = "CRTPass" + +shader37 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader38 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "BR_LayersUnderCRTPass" + +shader39 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader40 = ../../../shaders/base/combine-passes-no-reflect-hdr.slang +scale_type40 = viewport +alias40 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp new file mode 100644 index 0000000..99ddc01 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-NO-REFLECT__MEGATRON.slangp @@ -0,0 +1,341 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +float_framebuffer29 = true +alias29 = "PrePass" + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +float_framebuffer30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader32 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear32 = "false" +scale_type32 = "source" +scale32 = "1.0" +wrap_mode32 = "clamp_to_border" +mipmap_input32 = "false" +alias32 = "SourceSDR" +float_framebuffer32 = "true" + +shader33 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear33 = "false" +scale_type33 = "source" +scale33 = "1.0" +wrap_mode33 = "clamp_to_border" +mipmap_input33 = "false" +alias33 = "SourceHDR" +float_framebuffer33 = "true" + +shader34 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear34 = "false" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +scale_type34 = "viewport" +float_framebuffer34 = "true" +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader38 = ../../../shaders/base/combine-passes-no-reflect-hdr.slang +scale_type38 = viewport +alias38 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp new file mode 100644 index 0000000..eb8b7b0 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV-NTSC.slangp @@ -0,0 +1,372 @@ +shaders = 43 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = "GlowPass" + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = "BloomPass" + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader42 = ../../../shaders/base/output-sdr.slang +scale_type42 = viewport +alias42 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp new file mode 100644 index 0000000..420bb84 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__GDV.slangp @@ -0,0 +1,343 @@ +shaders = 40 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = "GlowPass" + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = "BloomPass" + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader39 = ../../../shaders/base/output-sdr.slang +scale_type39 = viewport +alias39 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..e212d0a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp @@ -0,0 +1,347 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +float_framebuffer31 = true +alias31 = "PrePass" + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +float_framebuffer32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader34 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear34 = "false" +scale_type34 = "source" +scale34 = "1.0" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +alias34 = "SourceSDR" +float_framebuffer34 = "true" + +shader35 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear35 = "false" +scale_type35 = "source" +scale35 = "1.0" +wrap_mode35 = "clamp_to_border" +mipmap_input35 = "false" +alias35 = "SourceHDR" +float_framebuffer35 = "true" + +shader36 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear36 = "false" +wrap_mode36 = "clamp_to_border" +mipmap_input36 = "false" +scale_type36 = "viewport" +float_framebuffer36 = "true" +alias36 = "CRTPass" + +shader37 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader38 = ../../../shaders/base/output-hdr.slang +scale_type38 = viewport +alias38 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp new file mode 100644 index 0000000..178f3d9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV-SCREEN-ONLY__MEGATRON.slangp @@ -0,0 +1,327 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +float_framebuffer29 = true +alias29 = "PrePass" + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +float_framebuffer30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader32 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear32 = "false" +scale_type32 = "source" +scale32 = "1.0" +wrap_mode32 = "clamp_to_border" +mipmap_input32 = "false" +alias32 = "SourceSDR" +float_framebuffer32 = "true" + +shader33 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear33 = "false" +scale_type33 = "source" +scale33 = "1.0" +wrap_mode33 = "clamp_to_border" +mipmap_input33 = "false" +alias33 = "SourceHDR" +float_framebuffer33 = "true" + +shader34 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear34 = "false" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +scale_type34 = "viewport" +float_framebuffer34 = "true" +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader36 = ../../../shaders/base/output-hdr.slang +scale_type36 = viewport +alias36 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp new file mode 100644 index 0000000..0429872 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC.slangp @@ -0,0 +1,444 @@ +shaders = 51 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader44 = ../../../shaders/base/linearize-crt.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +# scale_x44 = 480 +# scale_y44 = 270 +# scale_x44 = 960 +# scale_y44 = 540 +scale_x44 = 800 +scale_y44 = 600 +float_framebuffer44 = true +alias44 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader45 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input45 = true +filter_linear45 = true +float_framebuffer45 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader46 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear46 = true +float_framebuffer46 = true +alias46 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader47 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input47 = true +filter_linear47 = true +scale_type47 = absolute +scale_x47 = 128 +scale_y47 = 128 +float_framebuffer47 = true +alias47 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader48 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input48 = true +filter_linear48 = true +scale_type48 = absolute +scale_x48 = 12 +scale_y48 = 12 +float_framebuffer48 = true +alias48 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader49 = ../../../shaders/base/reflection.slang +scale_type49 = viewport +alias49 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader50 = ../../../shaders/base/combine-passes.slang +scale_type50 = viewport +alias50 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp new file mode 100644 index 0000000..f31c9dd --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp @@ -0,0 +1,415 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = GlowPass + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = BloomPass + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader39 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersUnderCRTPass" + +shader40 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader41 = ../../../shaders/base/linearize-crt.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +# scale_x41 = 480 +# scale_y41 = 270 +# scale_x41 = 960 +# scale_y41 = 540 +scale_x41 = 800 +scale_y41 = 600 +float_framebuffer41 = true +alias41 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader42 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input42 = true +filter_linear42 = true +float_framebuffer42 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear43 = true +float_framebuffer43 = true +alias43 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader44 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +scale_x44 = 128 +scale_y44 = 128 +float_framebuffer44 = true +alias44 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 12 +scale_y45 = 12 +float_framebuffer45 = true +alias45 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader46 = ../../../shaders/base/reflection.slang +scale_type46 = viewport +alias46 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader47 = ../../../shaders/base/combine-passes.slang +scale_type47 = viewport +alias47 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp new file mode 100644 index 0000000..61f2ed1 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__LCD-GRID.slangp @@ -0,0 +1,371 @@ +shaders = 44 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/base/delinearize.slang +float_framebuffer32 = "true" + +shader33 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear33 = "false" +scale_type33 = "viewport" +scale33 = "1.0" +float_framebuffer33 = "true" +alias33 = "CRTPass" + +shader34 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader35 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "BR_LayersUnderCRTPass" + +shader36 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader37 = ../../../shaders/base/linearize-crt.slang +mipmap_input37 = true +filter_linear37 = true +scale_type37 = absolute +# scale_x37 = 480 +# scale_y37 = 270 +# scale_x37 = 960 +# scale_y37 = 540 +scale_x37 = 800 +scale_y37 = 600 +float_framebuffer37 = true +alias37 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader38 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input38 = true +filter_linear38 = true +float_framebuffer38 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear39 = true +float_framebuffer39 = true +alias39 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader40 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input40 = true +filter_linear40 = true +scale_type40 = absolute +scale_x40 = 128 +scale_y40 = 128 +float_framebuffer40 = true +alias40 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 12 +scale_y41 = 12 +float_framebuffer41 = true +alias41 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader42 = ../../../shaders/base/reflection.slang +scale_type42 = viewport +alias42 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader43 = ../../../shaders/base/combine-passes.slang +scale_type43 = viewport +alias43 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 100 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +ntsc_scale = 0.4 + +shadowMask = 3 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..9c5b747 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON-NTSC.slangp @@ -0,0 +1,419 @@ +shaders = 47 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +float_framebuffer31 = true +alias31 = "PrePass" + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +float_framebuffer32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader34 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear34 = "false" +scale_type34 = "source" +scale34 = "1.0" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +alias34 = "SourceSDR" +float_framebuffer34 = "true" + +shader35 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear35 = "false" +scale_type35 = "source" +scale35 = "1.0" +wrap_mode35 = "clamp_to_border" +mipmap_input35 = "false" +alias35 = "SourceHDR" +float_framebuffer35 = "true" + +shader36 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear36 = "false" +wrap_mode36 = "clamp_to_border" +mipmap_input36 = "false" +scale_type36 = "viewport" +float_framebuffer36 = "true" +alias36 = "CRTPass" + +shader37 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader38 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "BR_LayersUnderCRTPass" + +shader39 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader40 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input40 = true +filter_linear40 = true +scale_type40 = absolute +# scale_x40 = 480 +# scale_y40 = 270 +# scale_x40 = 960 +# scale_y40 = 540 +scale_x40 = 800 +scale_y40 = 600 +float_framebuffer40 = true +alias40 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader41 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input41 = true +filter_linear41 = true +float_framebuffer41 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader42 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear42 = true +float_framebuffer42 = true +alias42 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader43 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input43 = true +filter_linear43 = true +scale_type43 = absolute +scale_x43 = 128 +scale_y43 = 128 +float_framebuffer43 = true +alias43 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader44 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +scale_x44 = 12 +scale_y44 = 12 +float_framebuffer44 = true +alias44 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader45 = ../../../shaders/base/reflection.slang +scale_type45 = viewport +alias45 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader46 = ../../../shaders/base/combine-passes-hdr.slang +scale_type46 = viewport +alias46 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp new file mode 100644 index 0000000..6e0d17e --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__0__SMOOTH-ADV__MEGATRON.slangp @@ -0,0 +1,399 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +float_framebuffer29 = true +alias29 = "PrePass" + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +float_framebuffer30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader32 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear32 = "false" +scale_type32 = "source" +scale32 = "1.0" +wrap_mode32 = "clamp_to_border" +mipmap_input32 = "false" +alias32 = "SourceSDR" +float_framebuffer32 = "true" + +shader33 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear33 = "false" +scale_type33 = "source" +scale33 = "1.0" +wrap_mode33 = "clamp_to_border" +mipmap_input33 = "false" +alias33 = "SourceHDR" +float_framebuffer33 = "true" + +shader34 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear34 = "false" +wrap_mode34 = "clamp_to_border" +mipmap_input34 = "false" +scale_type34 = "viewport" +float_framebuffer34 = "true" +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes-hdr.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp new file mode 100644 index 0000000..6545e94 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-RESHADE-FX__GDV.slangp @@ -0,0 +1,485 @@ +shaders = 51 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = "../../../../../reshade/shaders/bloom/BloomPass0.slang" +filter_linear18 = "true" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "SamplerBloom1" +srgb_framebuffer18 = "false" +scale_type_x18 = "source" +scale_x18 = "4.000000" +scale_type_y18 = "source" +scale_y18 = "4.000000" +float_framebuffer18 = "true" + +shader19 = "../../../../../reshade/shaders/bloom/BloomPass1.slang" +filter_linear19 = "true" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SamplerBloom2" +srgb_framebuffer19 = "false" +float_framebuffer19 = "true" + +shader20 = "../../../../../reshade/shaders/bloom/BloomPass2.slang" +filter_linear20 = "true" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "SamplerBloom3" +float_framebuffer20 = "true" + +shader21 = "../../../../../reshade/shaders/bloom/BloomPass3.slang" +filter_linear21 = "true" +wrap_mode21 = "clamp_to_border" +mipmap_input21 = "false" +alias21 = "SamplerBloom4" +float_framebuffer21 = "true" + +shader22 = "../../../../../reshade/shaders/bloom/BloomPass4.slang" +filter_linear22 = "true" +wrap_mode22 = "clamp_to_border" +mipmap_input22 = "false" +alias22 = "SamplerBloom5" +float_framebuffer22 = "true" + +shader23 = "../../../../../reshade/shaders/bloom/LensFlarePass0.slang" +filter_linear23 = "true" +wrap_mode23 = "clamp_to_border" +mipmap_input23 = "false" +alias23 = "LensFlare1" +float_framebuffer23 = "true" + +shader24 = "../../../../../reshade/shaders/bloom/LensFlarePass1.slang" +filter_linear24 = "true" +wrap_mode24 = "clamp_to_border" +mipmap_input24 = "false" +alias24 = "LensFlare2" +float_framebuffer24 = "true" + +shader25 = "../../../../../reshade/shaders/bloom/LensFlarePass2.slang" +filter_linear25 = "true" +wrap_mode25 = "clamp_to_border" +mipmap_input25 = "false" +alias25 = "LensFlare3" +float_framebuffer25 = "true" + +shader26 = "../../../../../reshade/shaders/bloom/LightingCombine.slang" +filter_linear26 = "true" +wrap_mode26 = "clamp_to_border" +mipmap_input26 = "false" +alias26 = "" +scale_type_x26 = "source" +scale_x26 = "0.250000" +scale_type_y26 = "source" +scale_y26 = "0.250000" +float_framebuffer26 = "true" + +shader27 = ../../../shaders/base/stock.slang +alias27 = "PreCRTPass" + +shader28 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear28 = true +scale_type28 = source +scale28 = 1.0 +alias28 = "AfterglowPass" + +shader29 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear29 = true +scale_type29 = source +mipmap_input29 = true +scale29 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader30 = ../../../shaders/dogway/hsm-grade.slang +filter_linear30 = false +scale_type30 = source +scale30 = 1.0 +alias30 = "ColorCorrectPass" + +shader31 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 + +shader32 = ../../../shaders/base/stock.slang +filter_linear32 = true +scale_type32 = source +scale_x32 = 1.0 +scale_y32 = 1.0 +alias32 = "PrePass" +mipmap_input32 = true + +shader33 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +mipmap_input33 = true +alias33 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader34 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear34 = true +scale_type34 = source +scale34 = 1.0 +float_framebuffer34 = true +alias34 = "LinearizePass" + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 800.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 800.0 +scale_type_y36 = absolute +scale_y36 = 600.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 800.0 +scale_type_y37 = absolute +scale_y37 = 600.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = source +scale_x38 = 1.0 +scale_type_y38 = source +scale_y38 = 1.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader44 = ../../../shaders/base/linearize-crt.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +# scale_x44 = 480 +# scale_y44 = 270 +# scale_x44 = 960 +# scale_y44 = 540 +scale_x44 = 800 +scale_y44 = 600 +float_framebuffer44 = true +alias44 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader45 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input45 = true +filter_linear45 = true +float_framebuffer45 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader46 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear46 = true +float_framebuffer46 = true +alias46 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader47 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input47 = true +filter_linear47 = true +scale_type47 = absolute +scale_x47 = 128 +scale_y47 = 128 +float_framebuffer47 = true +alias47 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader48 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input48 = true +filter_linear48 = true +scale_type48 = absolute +scale_x48 = 12 +scale_y48 = 12 +float_framebuffer48 = true +alias48 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader49 = ../../../shaders/base/reflection.slang +scale_type49 = viewport +alias49 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader50 = ../../../shaders/base/combine-passes.slang +scale_type50 = viewport +alias50 = "CombinePass" +# Define textures to be used by the different passes +textures = "Dirt;Sprite;SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +Dirt = ../../../../../reshade/shaders/bloom/LensDB.png +Dirt_wrap_mode = "clamp_to_border" +Dirt_mipmap = "false" + +Sprite = ../../../../../reshade/shaders/bloom/LensSprite.png +Sprite_wrap_mode = "clamp_to_border" +Sprite_mipmap = "false" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Reshade-FX +SGPT_BLEND_OPTION = 1 + +bLensdirtEnable_toggle = "1.000000" +bAnamFlareEnable_toggle = "1.000000" +bChapFlareEnable_toggle = "1.000000" +bGodrayEnable_toggle = "1.000000" +iBloomMixmode = "1.000000" +fBloomAmount = "1.500000" +fBloomSaturation = "1.100000" +fBloomTint_r = "1.000000" +fBloomTint_g = "0.500000" +fBloomTint_b = "0.800000" +iLensdirtMixmode = "1.000000" +fAnamFlareWideness = "1.200000" +fAnamFlareAmount = "2.500000" +fChapFlareIntensity = "10.000000" +fGodrayDecay = "0.999900" +fGodrayWeight = "0.400000" +fGodrayThreshold = "0.850000" +iGodraySamples = "48.000000" +fFlareLuminance = "0.875000" +fFlareBlur = "10000.000000" +fFlareIntensity = "1.570000" +fFlareTint_r = "1.000000" +fFlareTint_g = "1.000000" +glow = "0.000000" +gamma_c = "1.100000" +brightboost1 = "1.300000" +scanline2 = "15.000000" +beam_min = "1.999999" +shadowMask = "10.000000" +deconrr = "-1.000000" +deconrb = "1.000000" +deconrry = "-1.000000" +deconrby = "1.000000" +post_br = "1.100000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..a9f7a1f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,486 @@ +shaders = 51 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader44 = ../../../shaders/base/linearize-crt.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +# scale_x44 = 480 +# scale_y44 = 270 +# scale_x44 = 960 +# scale_y44 = 540 +scale_x44 = 800 +scale_y44 = 600 +float_framebuffer44 = true +alias44 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader45 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input45 = true +filter_linear45 = true +float_framebuffer45 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader46 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear46 = true +float_framebuffer46 = true +alias46 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader47 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input47 = true +filter_linear47 = true +scale_type47 = absolute +scale_x47 = 128 +scale_y47 = 128 +float_framebuffer47 = true +alias47 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader48 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input48 = true +filter_linear48 = true +scale_type48 = absolute +scale_x48 = 12 +scale_y48 = 12 +float_framebuffer48 = true +alias48 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader49 = ../../../shaders/base/reflection.slang +scale_type49 = viewport +alias49 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader50 = ../../../shaders/base/combine-passes.slang +scale_type50 = viewport +alias50 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..175f3a8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV-SUPER-XBR__GDV.slangp @@ -0,0 +1,457 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = GlowPass + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = BloomPass + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader39 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersUnderCRTPass" + +shader40 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader41 = ../../../shaders/base/linearize-crt.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +# scale_x41 = 480 +# scale_y41 = 270 +# scale_x41 = 960 +# scale_y41 = 540 +scale_x41 = 800 +scale_y41 = 600 +float_framebuffer41 = true +alias41 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader42 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input42 = true +filter_linear42 = true +float_framebuffer42 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear43 = true +float_framebuffer43 = true +alias43 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader44 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +scale_x44 = 128 +scale_y44 = 128 +float_framebuffer44 = true +alias44 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 12 +scale_y45 = 12 +float_framebuffer45 = true +alias45 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader46 = ../../../shaders/base/reflection.slang +scale_type46 = viewport +alias46 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader47 = ../../../shaders/base/combine-passes.slang +scale_type47 = viewport +alias47 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__EASYMODE.slangp new file mode 100644 index 0000000..c556fc3 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__EASYMODE.slangp @@ -0,0 +1,341 @@ +shaders = 40 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear26 = false +srgb_framebuffer26 = true + +shader27 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear27 = false +srgb_framebuffer27 = true + +shader28 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear28 = false +srgb_framebuffer28 = true + +# Easymode's Shader! +shader29 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "CRTPass" + +g_gamma_out = 2.45 + +shader30 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader31 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "BR_LayersUnderCRTPass" + +shader32 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader33 = ../../../shaders/base/linearize-crt.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +# scale_x33 = 480 +# scale_y33 = 270 +# scale_x33 = 960 +# scale_y33 = 540 +scale_x33 = 800 +scale_y33 = 600 +float_framebuffer33 = true +alias33 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader34 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input34 = true +filter_linear34 = true +float_framebuffer34 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader35 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear35 = true +float_framebuffer35 = true +alias35 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader36 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +scale_x36 = 128 +scale_y36 = 128 +float_framebuffer36 = true +alias36 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader37 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input37 = true +filter_linear37 = true +scale_type37 = absolute +scale_x37 = 12 +scale_y37 = 12 +float_framebuffer37 = true +alias37 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader38 = ../../../shaders/base/reflection.slang +scale_type38 = viewport +alias38 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader39 = ../../../shaders/base/combine-passes.slang +scale_type39 = viewport +alias39 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Easymode Parameters +gamma_out = 2.2 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..021aeef --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI-NTSC.slangp @@ -0,0 +1,351 @@ +shaders = 40 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/base/delinearize.slang +scale_type28 = source +float_framebuffer28 = "true" + +shader29 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type29 = viewport +scale_x29 = 1.0 +scale_y29 = 1.0 +filter_linear29 = true +float_framebuffer29 = "true" +alias29 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader30 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader31 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "BR_LayersUnderCRTPass" + +shader32 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader33 = ../../../shaders/base/linearize-crt.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +# scale_x33 = 480 +# scale_y33 = 270 +# scale_x33 = 960 +# scale_y33 = 540 +scale_x33 = 800 +scale_y33 = 600 +float_framebuffer33 = true +alias33 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader34 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input34 = true +filter_linear34 = true +float_framebuffer34 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader35 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear35 = true +float_framebuffer35 = true +alias35 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader36 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +scale_x36 = 128 +scale_y36 = 128 +float_framebuffer36 = true +alias36 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader37 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input37 = true +filter_linear37 = true +scale_type37 = absolute +scale_x37 = 12 +scale_y37 = 12 +float_framebuffer37 = true +alias37 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader38 = ../../../shaders/base/reflection.slang +scale_type38 = viewport +alias38 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader39 = ../../../shaders/base/combine-passes.slang +scale_type39 = viewport +alias39 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI.slangp new file mode 100644 index 0000000..3f496d6 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-MINI.slangp @@ -0,0 +1,332 @@ +shaders = 38 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +scale_type26 = source +float_framebuffer26 = "true" + +shader27 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type27 = viewport +scale_x27 = 1.0 +scale_y27 = 1.0 +filter_linear27 = true +float_framebuffer27 = "true" +alias27 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader28 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader29 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "BR_LayersUnderCRTPass" + +shader30 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection.slang +scale_type36 = viewport +alias36 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader37 = ../../../shaders/base/combine-passes.slang +scale_type37 = viewport +alias37 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-NTSC.slangp new file mode 100644 index 0000000..16070dd --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV-NTSC.slangp @@ -0,0 +1,394 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV.slangp new file mode 100644 index 0000000..e1620e8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__GDV.slangp @@ -0,0 +1,366 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__LCD-GRID.slangp new file mode 100644 index 0000000..70c54b8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__LCD-GRID.slangp @@ -0,0 +1,327 @@ +shaders = 38 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +float_framebuffer26 = "true" + +shader27 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear27 = "false" +scale_type27 = "viewport" +scale27 = "1.0" +float_framebuffer27 = "true" +alias27 = "CRTPass" + +shader28 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader29 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "BR_LayersUnderCRTPass" + +shader30 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection.slang +scale_type36 = viewport +alias36 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader37 = ../../../shaders/base/combine-passes.slang +scale_type37 = viewport +alias37 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..0cfe0dd --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON-NTSC.slangp @@ -0,0 +1,369 @@ +shaders = 41 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +float_framebuffer25 = true +alias25 = "PrePass" + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +float_framebuffer26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader28 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear28 = "false" +scale_type28 = "source" +scale28 = "1.0" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +alias28 = "SourceSDR" +float_framebuffer28 = "true" + +shader29 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear29 = "false" +scale_type29 = "source" +scale29 = "1.0" +wrap_mode29 = "clamp_to_border" +mipmap_input29 = "false" +alias29 = "SourceHDR" +float_framebuffer29 = "true" + +shader30 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear30 = "false" +wrap_mode30 = "clamp_to_border" +mipmap_input30 = "false" +scale_type30 = "viewport" +float_framebuffer30 = "true" +alias30 = "CRTPass" + +shader31 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader32 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "BR_LayersUnderCRTPass" + +shader33 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader34 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +# scale_x34 = 480 +# scale_y34 = 270 +# scale_x34 = 960 +# scale_y34 = 540 +scale_x34 = 800 +scale_y34 = 600 +float_framebuffer34 = true +alias34 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader35 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input35 = true +filter_linear35 = true +float_framebuffer35 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear36 = true +float_framebuffer36 = true +alias36 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader37 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input37 = true +filter_linear37 = true +scale_type37 = absolute +scale_x37 = 128 +scale_y37 = 128 +float_framebuffer37 = true +alias37 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 12 +scale_y38 = 12 +float_framebuffer38 = true +alias38 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader39 = ../../../shaders/base/reflection.slang +scale_type39 = viewport +alias39 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader40 = ../../../shaders/base/combine-passes-hdr.slang +scale_type40 = viewport +alias40 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON.slangp new file mode 100644 index 0000000..49409d9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__1__ADV__MEGATRON.slangp @@ -0,0 +1,350 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +float_framebuffer23 = true +alias23 = "PrePass" + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +float_framebuffer24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader26 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear26 = "false" +scale_type26 = "source" +scale26 = "1.0" +wrap_mode26 = "clamp_to_border" +mipmap_input26 = "false" +alias26 = "SourceSDR" +float_framebuffer26 = "true" + +shader27 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear27 = "false" +scale_type27 = "source" +scale27 = "1.0" +wrap_mode27 = "clamp_to_border" +mipmap_input27 = "false" +alias27 = "SourceHDR" +float_framebuffer27 = "true" + +shader28 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear28 = "false" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +scale_type28 = "viewport" +float_framebuffer28 = "true" +alias28 = "CRTPass" + +shader29 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader30 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersUnderCRTPass" + +shader31 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader32 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +# scale_x32 = 480 +# scale_y32 = 270 +# scale_x32 = 960 +# scale_y32 = 540 +scale_x32 = 800 +scale_y32 = 600 +float_framebuffer32 = true +alias32 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input33 = true +filter_linear33 = true +float_framebuffer33 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader34 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear34 = true +float_framebuffer34 = true +alias34 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 128 +scale_y35 = 128 +float_framebuffer35 = true +alias35 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader36 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +scale_x36 = 12 +scale_y36 = 12 +float_framebuffer36 = true +alias36 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader37 = ../../../shaders/base/reflection.slang +scale_type37 = viewport +alias37 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader38 = ../../../shaders/base/combine-passes-hdr.slang +scale_type38 = viewport +alias38 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp new file mode 100644 index 0000000..c893fb9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-RESHADE-FX__GDV.slangp @@ -0,0 +1,503 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = "../../../../../reshade/shaders/bloom/BloomPass0.slang" +filter_linear18 = "true" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "SamplerBloom1" +srgb_framebuffer18 = "false" +scale_type_x18 = "source" +scale_x18 = "4.000000" +scale_type_y18 = "source" +scale_y18 = "4.000000" +float_framebuffer18 = "true" + +shader19 = "../../../../../reshade/shaders/bloom/BloomPass1.slang" +filter_linear19 = "true" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SamplerBloom2" +srgb_framebuffer19 = "false" +float_framebuffer19 = "true" + +shader20 = "../../../../../reshade/shaders/bloom/BloomPass2.slang" +filter_linear20 = "true" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "SamplerBloom3" +float_framebuffer20 = "true" + +shader21 = "../../../../../reshade/shaders/bloom/BloomPass3.slang" +filter_linear21 = "true" +wrap_mode21 = "clamp_to_border" +mipmap_input21 = "false" +alias21 = "SamplerBloom4" +float_framebuffer21 = "true" + +shader22 = "../../../../../reshade/shaders/bloom/BloomPass4.slang" +filter_linear22 = "true" +wrap_mode22 = "clamp_to_border" +mipmap_input22 = "false" +alias22 = "SamplerBloom5" +float_framebuffer22 = "true" + +shader23 = "../../../../../reshade/shaders/bloom/LensFlarePass0.slang" +filter_linear23 = "true" +wrap_mode23 = "clamp_to_border" +mipmap_input23 = "false" +alias23 = "LensFlare1" +float_framebuffer23 = "true" + +shader24 = "../../../../../reshade/shaders/bloom/LensFlarePass1.slang" +filter_linear24 = "true" +wrap_mode24 = "clamp_to_border" +mipmap_input24 = "false" +alias24 = "LensFlare2" +float_framebuffer24 = "true" + +shader25 = "../../../../../reshade/shaders/bloom/LensFlarePass2.slang" +filter_linear25 = "true" +wrap_mode25 = "clamp_to_border" +mipmap_input25 = "false" +alias25 = "LensFlare3" +float_framebuffer25 = "true" + +shader26 = "../../../../../reshade/shaders/bloom/LightingCombine.slang" +filter_linear26 = "true" +wrap_mode26 = "clamp_to_border" +mipmap_input26 = "false" +alias26 = "" +scale_type_x26 = "source" +scale_x26 = "0.250000" +scale_type_y26 = "source" +scale_y26 = "0.250000" +float_framebuffer26 = "true" + +shader27 = ../../../shaders/base/stock.slang +alias27 = "PreCRTPass" + +shader28 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear28 = true +scale_type28 = source +scale28 = 1.0 +alias28 = "AfterglowPass" + +shader29 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear29 = true +scale_type29 = source +mipmap_input29 = true +scale29 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader30 = ../../../shaders/dogway/hsm-grade.slang +filter_linear30 = false +scale_type30 = source +scale30 = 1.0 +alias30 = "ColorCorrectPass" + +shader31 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 + +shader32 = ../../../shaders/base/stock.slang +filter_linear32 = true +scale_type32 = source +scale_x32 = 1.0 +scale_y32 = 1.0 +alias32 = "PrePass" +mipmap_input32 = true + +shader33 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +mipmap_input33 = true +alias33 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader34 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear34 = true +scale_type34 = source +scale34 = 1.0 +float_framebuffer34 = true +alias34 = "LinearizePass" + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 800.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 800.0 +scale_type_y36 = absolute +scale_y36 = 600.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 800.0 +scale_type_y37 = absolute +scale_y37 = 600.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = source +scale_x38 = 1.0 +scale_type_y38 = source +scale_y38 = 1.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader42 = ../../../shaders/base/linearize-crt.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +# scale_x42 = 480 +# scale_y42 = 270 +# scale_x42 = 960 +# scale_y42 = 540 +scale_x42 = 800 +scale_y42 = 600 +float_framebuffer42 = true +alias42 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input43 = true +filter_linear43 = true +float_framebuffer43 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader44 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear44 = true +float_framebuffer44 = true +alias44 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 128 +scale_y45 = 128 +float_framebuffer45 = true +alias45 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader46 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input46 = true +filter_linear46 = true +scale_type46 = absolute +scale_x46 = 12 +scale_y46 = 12 +float_framebuffer46 = true +alias46 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader47 = ../../../shaders/base/reflection-glass.slang +scale_type47 = viewport +srgb_framebuffer47 = true +alias47 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "Dirt;Sprite;SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +Dirt = ../../../../../reshade/shaders/bloom/LensDB.png +Dirt_wrap_mode = "clamp_to_border" +Dirt_mipmap = "false" + +Sprite = ../../../../../reshade/shaders/bloom/LensSprite.png +Sprite_wrap_mode = "clamp_to_border" +Sprite_mipmap = "false" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Reshade-FX +SGPT_BLEND_OPTION = 1 + +bLensdirtEnable_toggle = "1.000000" +bAnamFlareEnable_toggle = "1.000000" +bChapFlareEnable_toggle = "1.000000" +bGodrayEnable_toggle = "1.000000" +iBloomMixmode = "1.000000" +fBloomAmount = "1.500000" +fBloomSaturation = "1.100000" +fBloomTint_r = "1.000000" +fBloomTint_g = "0.500000" +fBloomTint_b = "0.800000" +iLensdirtMixmode = "1.000000" +fAnamFlareWideness = "1.200000" +fAnamFlareAmount = "2.500000" +fChapFlareIntensity = "10.000000" +fGodrayDecay = "0.999900" +fGodrayWeight = "0.400000" +fGodrayThreshold = "0.850000" +iGodraySamples = "48.000000" +fFlareLuminance = "0.875000" +fFlareBlur = "10000.000000" +fFlareIntensity = "1.570000" +fFlareTint_r = "1.000000" +fFlareTint_g = "1.000000" +glow = "0.000000" +gamma_c = "1.100000" +brightboost1 = "1.300000" +scanline2 = "15.000000" +beam_min = "1.999999" +shadowMask = "10.000000" +deconrr = "-1.000000" +deconrb = "1.000000" +deconrry = "-1.000000" +deconrby = "1.000000" +post_br = "1.100000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..3a59fc6 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,504 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader42 = ../../../shaders/base/linearize-crt.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +# scale_x42 = 480 +# scale_y42 = 270 +# scale_x42 = 960 +# scale_y42 = 540 +scale_x42 = 800 +scale_y42 = 600 +float_framebuffer42 = true +alias42 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input43 = true +filter_linear43 = true +float_framebuffer43 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader44 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear44 = true +float_framebuffer44 = true +alias44 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 128 +scale_y45 = 128 +float_framebuffer45 = true +alias45 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader46 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input46 = true +filter_linear46 = true +scale_type46 = absolute +scale_x46 = 12 +scale_y46 = 12 +float_framebuffer46 = true +alias46 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader47 = ../../../shaders/base/reflection-glass.slang +scale_type47 = viewport +srgb_framebuffer47 = true +alias47 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..176f731 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS-SUPER-XBR__GDV.slangp @@ -0,0 +1,475 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = GlowPass + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = BloomPass + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader39 = ../../../shaders/base/linearize-crt.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +# scale_x39 = 480 +# scale_y39 = 270 +# scale_x39 = 960 +# scale_y39 = 540 +scale_x39 = 800 +scale_y39 = 600 +float_framebuffer39 = true +alias39 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input40 = true +filter_linear40 = true +float_framebuffer40 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader41 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear41 = true +float_framebuffer41 = true +alias41 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 128 +scale_y42 = 128 +float_framebuffer42 = true +alias42 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader43 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input43 = true +filter_linear43 = true +scale_type43 = absolute +scale_x43 = 12 +scale_y43 = 12 +float_framebuffer43 = true +alias43 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader44 = ../../../shaders/base/reflection-glass.slang +scale_type44 = viewport +srgb_framebuffer44 = true +alias44 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp new file mode 100644 index 0000000..96d1240 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__EASYMODE.slangp @@ -0,0 +1,359 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear26 = false +srgb_framebuffer26 = true + +shader27 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear27 = false +srgb_framebuffer27 = true + +shader28 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear28 = false +srgb_framebuffer28 = true + +# Easymode's Shader! +shader29 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "CRTPass" + +g_gamma_out = 2.45 + +shader30 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection-glass.slang +scale_type36 = viewport +srgb_framebuffer36 = true +alias36 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Easymode Parameters +gamma_out = 2.2 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..283ad3b --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI-NTSC.slangp @@ -0,0 +1,369 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/base/delinearize.slang +scale_type28 = source +float_framebuffer28 = "true" + +shader29 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type29 = viewport +scale_x29 = 1.0 +scale_y29 = 1.0 +filter_linear29 = true +float_framebuffer29 = "true" +alias29 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader30 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection-glass.slang +scale_type36 = viewport +srgb_framebuffer36 = true +alias36 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp new file mode 100644 index 0000000..d98ced4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-MINI.slangp @@ -0,0 +1,350 @@ +shaders = 35 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +scale_type26 = source +float_framebuffer26 = "true" + +shader27 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type27 = viewport +scale_x27 = 1.0 +scale_y27 = 1.0 +filter_linear27 = true +float_framebuffer27 = "true" +alias27 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader28 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection-glass.slang +scale_type34 = viewport +srgb_framebuffer34 = true +alias34 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp new file mode 100644 index 0000000..c6aef87 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV-NTSC.slangp @@ -0,0 +1,412 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader36 = ../../../shaders/base/linearize-crt.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +# scale_x36 = 480 +# scale_y36 = 270 +# scale_x36 = 960 +# scale_y36 = 540 +scale_x36 = 800 +scale_y36 = 600 +float_framebuffer36 = true +alias36 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input37 = true +filter_linear37 = true +float_framebuffer37 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader38 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear38 = true +float_framebuffer38 = true +alias38 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 128 +scale_y39 = 128 +float_framebuffer39 = true +alias39 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader40 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input40 = true +filter_linear40 = true +scale_type40 = absolute +scale_x40 = 12 +scale_y40 = 12 +float_framebuffer40 = true +alias40 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader41 = ../../../shaders/base/reflection-glass.slang +scale_type41 = viewport +srgb_framebuffer41 = true +alias41 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV.slangp new file mode 100644 index 0000000..6b1c7c8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__GDV.slangp @@ -0,0 +1,384 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader33 = ../../../shaders/base/linearize-crt.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +# scale_x33 = 480 +# scale_y33 = 270 +# scale_x33 = 960 +# scale_y33 = 540 +scale_x33 = 800 +scale_y33 = 600 +float_framebuffer33 = true +alias33 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader34 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input34 = true +filter_linear34 = true +float_framebuffer34 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader35 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear35 = true +float_framebuffer35 = true +alias35 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader36 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +scale_x36 = 128 +scale_y36 = 128 +float_framebuffer36 = true +alias36 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader37 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input37 = true +filter_linear37 = true +scale_type37 = absolute +scale_x37 = 12 +scale_y37 = 12 +float_framebuffer37 = true +alias37 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader38 = ../../../shaders/base/reflection-glass.slang +scale_type38 = viewport +srgb_framebuffer38 = true +alias38 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp new file mode 100644 index 0000000..326608b --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__LCD-GRID.slangp @@ -0,0 +1,345 @@ +shaders = 35 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +float_framebuffer26 = "true" + +shader27 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear27 = "false" +scale_type27 = "viewport" +scale27 = "1.0" +float_framebuffer27 = "true" +alias27 = "CRTPass" + +shader28 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection-glass.slang +scale_type34 = viewport +srgb_framebuffer34 = true +alias34 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..3dc5f4f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON-NTSC.slangp @@ -0,0 +1,391 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +float_framebuffer25 = true +alias25 = "PrePass" + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +float_framebuffer26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader28 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear28 = "false" +scale_type28 = "source" +scale28 = "1.0" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +alias28 = "SourceSDR" +float_framebuffer28 = "true" + +shader29 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear29 = "false" +scale_type29 = "source" +scale29 = "1.0" +wrap_mode29 = "clamp_to_border" +mipmap_input29 = "false" +alias29 = "SourceHDR" +float_framebuffer29 = "true" + +shader30 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear30 = "false" +wrap_mode30 = "clamp_to_border" +mipmap_input30 = "false" +scale_type30 = "viewport" +float_framebuffer30 = "true" +alias30 = "CRTPass" + +shader31 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader32 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +# scale_x32 = 480 +# scale_y32 = 270 +# scale_x32 = 960 +# scale_y32 = 540 +scale_x32 = 800 +scale_y32 = 600 +float_framebuffer32 = true +alias32 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input33 = true +filter_linear33 = true +float_framebuffer33 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader34 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear34 = true +float_framebuffer34 = true +alias34 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 128 +scale_y35 = 128 +float_framebuffer35 = true +alias35 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader36 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +scale_x36 = 12 +scale_y36 = 12 +float_framebuffer36 = true +alias36 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader37 = ../../../shaders/base/reflection-glass-hdr.slang +scale_type37 = viewport +alias37 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader38 = ../../../shaders/base/output-hdr.slang +scale_type38 = viewport +alias38 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp new file mode 100644 index 0000000..a347807 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-GLASS__MEGATRON.slangp @@ -0,0 +1,372 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +float_framebuffer23 = true +alias23 = "PrePass" + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +float_framebuffer24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader26 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear26 = "false" +scale_type26 = "source" +scale26 = "1.0" +wrap_mode26 = "clamp_to_border" +mipmap_input26 = "false" +alias26 = "SourceSDR" +float_framebuffer26 = "true" + +shader27 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear27 = "false" +scale_type27 = "source" +scale27 = "1.0" +wrap_mode27 = "clamp_to_border" +mipmap_input27 = "false" +alias27 = "SourceHDR" +float_framebuffer27 = "true" + +shader28 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear28 = "false" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +scale_type28 = "viewport" +float_framebuffer28 = "true" +alias28 = "CRTPass" + +shader29 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader30 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input30 = true +filter_linear30 = true +scale_type30 = absolute +# scale_x30 = 480 +# scale_y30 = 270 +# scale_x30 = 960 +# scale_y30 = 540 +scale_x30 = 800 +scale_y30 = 600 +float_framebuffer30 = true +alias30 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input31 = true +filter_linear31 = true +float_framebuffer31 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear32 = true +float_framebuffer32 = true +alias32 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 128 +scale_y33 = 128 +float_framebuffer33 = true +alias33 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 12 +scale_y34 = 12 +float_framebuffer34 = true +alias34 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader35 = ../../../shaders/base/reflection-glass-hdr.slang +scale_type35 = viewport +alias35 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader36 = ../../../shaders/base/output-hdr.slang +scale_type36 = viewport +alias36 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..1e271f4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,428 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = "GlowPass" + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = "BloomPass" + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..6c6be53 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT-SUPER-XBR__GDV.slangp @@ -0,0 +1,399 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = "GlowPass" + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = "BloomPass" + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader39 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersUnderCRTPass" + +shader40 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp new file mode 100644 index 0000000..ab07832 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV-NTSC.slangp @@ -0,0 +1,336 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = "GlowPass" + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = "BloomPass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader38 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type38 = viewport +alias38 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp new file mode 100644 index 0000000..4a53be4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp @@ -0,0 +1,308 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = "GlowPass" + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = "BloomPass" + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..bfd8b2e --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON-NTSC.slangp @@ -0,0 +1,311 @@ +shaders = 35 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +float_framebuffer25 = true +alias25 = "PrePass" + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +float_framebuffer26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader28 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear28 = "false" +scale_type28 = "source" +scale28 = "1.0" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +alias28 = "SourceSDR" +float_framebuffer28 = "true" + +shader29 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear29 = "false" +scale_type29 = "source" +scale29 = "1.0" +wrap_mode29 = "clamp_to_border" +mipmap_input29 = "false" +alias29 = "SourceHDR" +float_framebuffer29 = "true" + +shader30 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear30 = "false" +wrap_mode30 = "clamp_to_border" +mipmap_input30 = "false" +scale_type30 = "viewport" +float_framebuffer30 = "true" +alias30 = "CRTPass" + +shader31 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader32 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "BR_LayersUnderCRTPass" + +shader33 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader34 = ../../../shaders/base/combine-passes-no-reflect-hdr.slang +scale_type34 = viewport +alias34 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp new file mode 100644 index 0000000..ffc45da --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-NO-REFLECT__MEGATRON.slangp @@ -0,0 +1,292 @@ +shaders = 33 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +float_framebuffer23 = true +alias23 = "PrePass" + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +float_framebuffer24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader26 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear26 = "false" +scale_type26 = "source" +scale26 = "1.0" +wrap_mode26 = "clamp_to_border" +mipmap_input26 = "false" +alias26 = "SourceSDR" +float_framebuffer26 = "true" + +shader27 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear27 = "false" +scale_type27 = "source" +scale27 = "1.0" +wrap_mode27 = "clamp_to_border" +mipmap_input27 = "false" +alias27 = "SourceHDR" +float_framebuffer27 = "true" + +shader28 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear28 = "false" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +scale_type28 = "viewport" +float_framebuffer28 = "true" +alias28 = "CRTPass" + +shader29 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader30 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersUnderCRTPass" + +shader31 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader32 = ../../../shaders/base/combine-passes-no-reflect-hdr.slang +scale_type32 = viewport +alias32 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..04df12d --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,414 @@ +shaders = 43 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = "GlowPass" + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = "BloomPass" + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader42 = ../../../shaders/base/output-sdr.slang +scale_type42 = viewport +alias42 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..ff88abd --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY-SUPER-XBR__GDV.slangp @@ -0,0 +1,385 @@ +shaders = 40 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +# filter_linear16 = "false" +# wrap_mode16 = "clamp_to_border" +# mipmap_input16 = "false" +# float_framebuffer16 = "false" +# srgb_framebuffer16 = "true" +alias16 = XbrSource + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "2.000000" +scale_type_y18 = "source" +scale_y18 = "2.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "" +float_framebuffer20 = "false" +srgb_framebuffer20 = "true" +scale_type_x20 = "source" +scale_x20 = "1.000000" +scale_type_y20 = "source" +scale_y20 = "1.000000" + +shader21 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear21 = false +scale_type_x21 = source +scale_x21 = 1 +scale_type_y21 = source +scale_y21 = 0.5 +wrap_mode21 = "clamp_to_edge" + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = "GlowPass" + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = "BloomPass" + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader39 = ../../../shaders/base/output-sdr.slang +scale_type39 = viewport +alias39 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..7fc9cb8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI-NTSC.slangp @@ -0,0 +1,279 @@ +shaders = 32 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/base/delinearize.slang +scale_type28 = source +float_framebuffer28 = "true" + +shader29 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type29 = viewport +scale_x29 = 1.0 +scale_y29 = 1.0 +filter_linear29 = true +float_framebuffer29 = "true" +alias29 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader30 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader31 = ../../../shaders/base/output-sdr.slang +scale_type31 = viewport +alias31 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp new file mode 100644 index 0000000..003f2fa --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-MINI.slangp @@ -0,0 +1,260 @@ +shaders = 30 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +scale_type26 = source +float_framebuffer26 = "true" + +shader27 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type27 = viewport +scale_x27 = 1.0 +scale_y27 = 1.0 +filter_linear27 = true +float_framebuffer27 = "true" +alias27 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader28 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader29 = ../../../shaders/base/output-sdr.slang +scale_type29 = viewport +alias29 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp new file mode 100644 index 0000000..4c38622 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV-NTSC.slangp @@ -0,0 +1,322 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = "GlowPass" + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = "BloomPass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader36 = ../../../shaders/base/output-sdr.slang +scale_type36 = viewport +alias36 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp new file mode 100644 index 0000000..8fca319 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__GDV.slangp @@ -0,0 +1,294 @@ +shaders = 34 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = "GlowPass" + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = "BloomPass" + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader33 = ../../../shaders/base/output-sdr.slang +scale_type33 = viewport +alias33 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..81ef18b --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON-NTSC.slangp @@ -0,0 +1,297 @@ +shaders = 33 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +float_framebuffer25 = true +alias25 = "PrePass" + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +float_framebuffer26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader28 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear28 = "false" +scale_type28 = "source" +scale28 = "1.0" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +alias28 = "SourceSDR" +float_framebuffer28 = "true" + +shader29 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear29 = "false" +scale_type29 = "source" +scale29 = "1.0" +wrap_mode29 = "clamp_to_border" +mipmap_input29 = "false" +alias29 = "SourceHDR" +float_framebuffer29 = "true" + +shader30 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear30 = "false" +wrap_mode30 = "clamp_to_border" +mipmap_input30 = "false" +scale_type30 = "viewport" +float_framebuffer30 = "true" +alias30 = "CRTPass" + +shader31 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input31 = true +scale_type31 = viewport +float_framebuffer31 = true +alias31 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader32 = ../../../shaders/base/output-hdr.slang +scale_type32 = viewport +alias32 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp new file mode 100644 index 0000000..a8d9b61 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__2__ADV-SCREEN-ONLY__MEGATRON.slangp @@ -0,0 +1,278 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +float_framebuffer23 = true +alias23 = "PrePass" + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +float_framebuffer24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader26 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear26 = "false" +scale_type26 = "source" +scale26 = "1.0" +wrap_mode26 = "clamp_to_border" +mipmap_input26 = "false" +alias26 = "SourceSDR" +float_framebuffer26 = "true" + +shader27 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear27 = "false" +scale_type27 = "source" +scale27 = "1.0" +wrap_mode27 = "clamp_to_border" +mipmap_input27 = "false" +alias27 = "SourceHDR" +float_framebuffer27 = "true" + +shader28 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear28 = "false" +wrap_mode28 = "clamp_to_border" +mipmap_input28 = "false" +scale_type28 = "viewport" +float_framebuffer28 = "true" +alias28 = "CRTPass" + +shader29 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/output-hdr.slang +scale_type30 = viewport +alias30 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..aa4c6e4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,502 @@ +shaders = 47 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/base/stock.slang +alias25 = "PrePass0" + +shader26 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear26 = false +float_framebuffer26 = true +scale_type_x26 = source +scale_type_y26 = source +scale_x26 = 4.0 +scale_y26 = 1.0 +frame_count_mod26 = 2 +alias26 = NPass1 + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer27 = true +filter_linear27 = true +scale_type27 = source +scale_x27 = 0.5 +scale_y27 = 1.0 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/base/stock.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 +alias30 = "PrePass" +mipmap_input30 = true + +shader31 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +mipmap_input31 = true +alias31 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader32 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +float_framebuffer32 = true +alias32 = "LinearizePass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear33 = true +scale_type_x33 = viewport +scale_x33 = 1.0 +scale_type_y33 = source +scale_y33 = 1.0 +float_framebuffer33 = true +alias33 = Pass1 + +shader34 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 640.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = absolute +scale_y35 = 480.0 +float_framebuffer35 = true +alias35 = GlowPass + +shader36 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true +alias37 = BloomPass + +shader38 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear38 = true +scale_type38 = viewport +scale_x38 = 1.0 +scale_y38 = 1.0 +float_framebuffer38 = true + +shader39 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true +alias39 = "CRTPass" + +shader40 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader41 = ../../../shaders/base/linearize-crt.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +# scale_x41 = 480 +# scale_y41 = 270 +# scale_x41 = 960 +# scale_y41 = 540 +scale_x41 = 800 +scale_y41 = 600 +float_framebuffer41 = true +alias41 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader42 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input42 = true +filter_linear42 = true +float_framebuffer42 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear43 = true +float_framebuffer43 = true +alias43 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader44 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +scale_x44 = 128 +scale_y44 = 128 +float_framebuffer44 = true +alias44 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 12 +scale_y45 = 12 +float_framebuffer45 = true +alias45 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader46 = ../../../shaders/base/reflection-glass.slang +scale_type46 = viewport +srgb_framebuffer46 = true +alias46 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..b5d7bc2 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS-SUPER-XBR__GDV.slangp @@ -0,0 +1,459 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 + +shader26 = ../../../shaders/base/stock.slang +filter_linear26 = true +scale_type26 = source +scale_x26 = 1.0 +scale_y26 = 1.0 +alias26 = "PrePass" +mipmap_input26 = true + +shader27 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +mipmap_input27 = true +alias27 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader28 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear28 = true +scale_type28 = source +scale28 = 1.0 +float_framebuffer28 = true +alias28 = "LinearizePass" + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 800.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 800.0 +scale_type_y30 = absolute +scale_y30 = 600.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 800.0 +scale_type_y31 = absolute +scale_y31 = 600.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = source +scale_x32 = 1.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader36 = ../../../shaders/base/linearize-crt.slang +mipmap_input36 = true +filter_linear36 = true +scale_type36 = absolute +# scale_x36 = 480 +# scale_y36 = 270 +# scale_x36 = 960 +# scale_y36 = 540 +scale_x36 = 800 +scale_y36 = 600 +float_framebuffer36 = true +alias36 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input37 = true +filter_linear37 = true +float_framebuffer37 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader38 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear38 = true +float_framebuffer38 = true +alias38 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 128 +scale_y39 = 128 +float_framebuffer39 = true +alias39 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader40 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input40 = true +filter_linear40 = true +scale_type40 = absolute +scale_x40 = 12 +scale_y40 = 12 +float_framebuffer40 = true +alias40 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader41 = ../../../shaders/base/reflection-glass.slang +scale_type41 = viewport +srgb_framebuffer41 = true +alias41 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..9f3782d --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI-NTSC.slangp @@ -0,0 +1,335 @@ +shaders = 28 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader22 = ../../../shaders/base/linearize-crt.slang +mipmap_input22 = true +filter_linear22 = true +scale_type22 = absolute +# scale_x22 = 480 +# scale_y22 = 270 +# scale_x22 = 960 +# scale_y22 = 540 +scale_x22 = 800 +scale_y22 = 600 +float_framebuffer22 = true +alias22 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader23 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input23 = true +filter_linear23 = true +float_framebuffer23 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader24 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear24 = true +float_framebuffer24 = true +alias24 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader25 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input25 = true +filter_linear25 = true +scale_type25 = absolute +scale_x25 = 128 +scale_y25 = 128 +float_framebuffer25 = true +alias25 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader26 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input26 = true +filter_linear26 = true +scale_type26 = absolute +scale_x26 = 12 +scale_y26 = 12 +float_framebuffer26 = true +alias26 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader27 = ../../../shaders/base/reflection-glass.slang +scale_type27 = viewport +srgb_framebuffer27 = true +alias27 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp new file mode 100644 index 0000000..8bf2496 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-MINI.slangp @@ -0,0 +1,302 @@ +shaders = 24 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader18 = ../../../shaders/base/linearize-crt.slang +mipmap_input18 = true +filter_linear18 = true +scale_type18 = absolute +# scale_x18 = 480 +# scale_y18 = 270 +# scale_x18 = 960 +# scale_y18 = 540 +scale_x18 = 800 +scale_y18 = 600 +float_framebuffer18 = true +alias18 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader19 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input19 = true +filter_linear19 = true +float_framebuffer19 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader20 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear20 = true +float_framebuffer20 = true +alias20 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader21 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input21 = true +filter_linear21 = true +scale_type21 = absolute +scale_x21 = 128 +scale_y21 = 128 +float_framebuffer21 = true +alias21 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader22 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input22 = true +filter_linear22 = true +scale_type22 = absolute +scale_x22 = 12 +scale_y22 = 12 +float_framebuffer22 = true +alias22 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader23 = ../../../shaders/base/reflection-glass.slang +scale_type23 = viewport +srgb_framebuffer23 = true +alias23 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp new file mode 100644 index 0000000..71bee35 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV-NTSC.slangp @@ -0,0 +1,378 @@ +shaders = 33 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader27 = ../../../shaders/base/linearize-crt.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +# scale_x27 = 480 +# scale_y27 = 270 +# scale_x27 = 960 +# scale_y27 = 540 +scale_x27 = 800 +scale_y27 = 600 +float_framebuffer27 = true +alias27 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader28 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input28 = true +filter_linear28 = true +float_framebuffer28 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader29 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear29 = true +float_framebuffer29 = true +alias29 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader30 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input30 = true +filter_linear30 = true +scale_type30 = absolute +scale_x30 = 128 +scale_y30 = 128 +float_framebuffer30 = true +alias30 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader31 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +scale_x31 = 12 +scale_y31 = 12 +float_framebuffer31 = true +alias31 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader32 = ../../../shaders/base/reflection-glass.slang +scale_type32 = viewport +srgb_framebuffer32 = true +alias32 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV.slangp new file mode 100644 index 0000000..1f0f6a7 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__GDV.slangp @@ -0,0 +1,336 @@ +shaders = 28 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader22 = ../../../shaders/base/linearize-crt.slang +mipmap_input22 = true +filter_linear22 = true +scale_type22 = absolute +# scale_x22 = 480 +# scale_y22 = 270 +# scale_x22 = 960 +# scale_y22 = 540 +scale_x22 = 800 +scale_y22 = 600 +float_framebuffer22 = true +alias22 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader23 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input23 = true +filter_linear23 = true +float_framebuffer23 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader24 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear24 = true +float_framebuffer24 = true +alias24 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader25 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input25 = true +filter_linear25 = true +scale_type25 = absolute +scale_x25 = 128 +scale_y25 = 128 +float_framebuffer25 = true +alias25 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader26 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input26 = true +filter_linear26 = true +scale_type26 = absolute +scale_x26 = 12 +scale_y26 = 12 +float_framebuffer26 = true +alias26 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader27 = ../../../shaders/base/reflection-glass.slang +scale_type27 = viewport +srgb_framebuffer27 = true +alias27 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp new file mode 100644 index 0000000..97a3dcc --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__LCD-GRID.slangp @@ -0,0 +1,297 @@ +shaders = 24 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader18 = ../../../shaders/base/linearize-crt.slang +mipmap_input18 = true +filter_linear18 = true +scale_type18 = absolute +# scale_x18 = 480 +# scale_y18 = 270 +# scale_x18 = 960 +# scale_y18 = 540 +scale_x18 = 800 +scale_y18 = 600 +float_framebuffer18 = true +alias18 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader19 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input19 = true +filter_linear19 = true +float_framebuffer19 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader20 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear20 = true +float_framebuffer20 = true +alias20 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader21 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input21 = true +filter_linear21 = true +scale_type21 = absolute +scale_x21 = 128 +scale_y21 = 128 +float_framebuffer21 = true +alias21 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader22 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input22 = true +filter_linear22 = true +scale_type22 = absolute +scale_x22 = 12 +scale_y22 = 12 +float_framebuffer22 = true +alias22 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader23 = ../../../shaders/base/reflection-glass.slang +scale_type23 = viewport +srgb_framebuffer23 = true +alias23 = "ReflectionPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..6293917 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON-NTSC.slangp @@ -0,0 +1,357 @@ +shaders = 30 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +float_framebuffer16 = true +alias16 = "PrePass" + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +float_framebuffer17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader19 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear19 = "false" +scale_type19 = "source" +scale19 = "1.0" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SourceSDR" +float_framebuffer19 = "true" + +shader20 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear20 = "false" +scale_type20 = "source" +scale20 = "1.0" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "SourceHDR" +float_framebuffer20 = "true" + +shader21 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear21 = "false" +wrap_mode21 = "clamp_to_border" +mipmap_input21 = "false" +scale_type21 = "viewport" +float_framebuffer21 = "true" +alias21 = "CRTPass" + +shader22 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader23 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +# scale_x23 = 480 +# scale_y23 = 270 +# scale_x23 = 960 +# scale_y23 = 540 +scale_x23 = 800 +scale_y23 = 600 +float_framebuffer23 = true +alias23 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader24 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input24 = true +filter_linear24 = true +float_framebuffer24 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear25 = true +float_framebuffer25 = true +alias25 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader26 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input26 = true +filter_linear26 = true +scale_type26 = absolute +scale_x26 = 128 +scale_y26 = 128 +float_framebuffer26 = true +alias26 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 12 +scale_y27 = 12 +float_framebuffer27 = true +alias27 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader28 = ../../../shaders/base/reflection-glass-hdr.slang +scale_type28 = viewport +alias28 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader29 = ../../../shaders/base/output-hdr.slang +scale_type29 = viewport +alias29 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp new file mode 100644 index 0000000..bbe0e3f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-GLASS__MEGATRON.slangp @@ -0,0 +1,324 @@ +shaders = 26 + +shader0 = ../../../shaders/base/add-params-glass.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-glass.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +float_framebuffer12 = true +alias12 = "PrePass" + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +float_framebuffer13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader15 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear15 = "false" +scale_type15 = "source" +scale15 = "1.0" +wrap_mode15 = "clamp_to_border" +mipmap_input15 = "false" +alias15 = "SourceSDR" +float_framebuffer15 = "true" + +shader16 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear16 = "false" +scale_type16 = "source" +scale16 = "1.0" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +alias16 = "SourceHDR" +float_framebuffer16 = "true" + +shader17 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +scale_type17 = "viewport" +float_framebuffer17 = "true" +alias17 = "CRTPass" + +shader18 = ../../../shaders/base/post-crt-prep-glass.slang +mipmap_input18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "PostCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader19 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input19 = true +filter_linear19 = true +scale_type19 = absolute +# scale_x19 = 480 +# scale_y19 = 270 +# scale_x19 = 960 +# scale_y19 = 540 +scale_x19 = 800 +scale_y19 = 600 +float_framebuffer19 = true +alias19 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader20 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input20 = true +filter_linear20 = true +float_framebuffer20 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear21 = true +float_framebuffer21 = true +alias21 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader22 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input22 = true +filter_linear22 = true +scale_type22 = absolute +scale_x22 = 128 +scale_y22 = 128 +float_framebuffer22 = true +alias22 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 12 +scale_y23 = 12 +float_framebuffer23 = true +alias23 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader24 = ../../../shaders/base/reflection-glass-hdr.slang +scale_type24 = viewport +alias24 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader25 = ../../../shaders/base/output-hdr.slang +scale_type25 = viewport +alias25 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/TopLayerImageGradient_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/Placeholder_Transparent_16x16.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Parameters +HSM_TUBE_BLACK_EDGE_SHARPNESS = "90.0000" +HSM_TUBE_BLACK_EDGE_THICKNESS = -7 +HSM_BG_OPACITY = "1.000000" +HSM_GLASS_BORDER_ON = "1.000000" +HSM_BZL_WIDTH = 3000 +HSM_BZL_HEIGHT = 3000 +HSM_BZL_INNER_EDGE_THICKNESS = 350 +HSM_BZL_INNER_EDGE_SHARPNESS = 30 +HSM_BZL_INNER_CORNER_RADIUS_SCALE = "100.000000" +HSM_BZL_INNER_EDGE_SHADOW = "0.000000" +HSM_FRM_OPACITY = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "35.00000" +HSM_REFLECT_GLOBAL_GAMMA_ADJUST = "0.900000" +HSM_REFLECT_BEZEL_INNER_EDGE_AMOUNT = "60.0000" +HSM_REFLECT_BEZEL_INNER_EDGE_FULLSCREEN_GLOW = "40.0000" +HSM_REFLECT_FULLSCREEN_GLOW = "30.000000" +HSM_REFLECT_FULLSCREEN_GLOW_GAMMA = "1.500000" +HSM_REFLECT_FADE_AMOUNT = "20.0000" +HSM_REFLECT_RADIAL_FADE_WIDTH = "500.000000" +HSM_REFLECT_RADIAL_FADE_HEIGHT = "300.000000" +HSM_REFLECT_LATERAL_OUTER_FADE_POSITION = "500.000000" +HSM_REFLECT_CORNER_FADE = "0.000000" +HSM_REFLECT_BLUR_MIN = "30.0000" +HSM_REFLECT_BLUR_MAX = "60.0000" +HSM_REFLECT_NOISE_AMOUNT = "100.000000" +HSM_REFLECT_NOISE_SAMPLES = "4.000000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "15.0000" +HSM_BG_BRIGHTNESS = "0.000000" +HSM_SCREEN_VIGNETTE_STRENGTH = "20.000000" +HSM_SCREEN_VIGNETTE_POWER = "4.000000" +HSM_SCREEN_VIGNETTE_IN_REFLECTION = "0.000000" + +g_vignette = "0.0" + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..a7405d9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,393 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection.slang +scale_type34 = viewport +alias34 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..6d02eff --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD-SUPER-XBR__GDV.slangp @@ -0,0 +1,409 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +# filter_linear12 = "false" +# wrap_mode12 = "clamp_to_border" +# mipmap_input12 = "false" +# float_framebuffer12 = "false" +# srgb_framebuffer12 = "true" +alias12 = XbrSource + +shader13 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear13 = "false" +wrap_mode13 = "clamp_to_border" +mipmap_input13 = "false" +float_framebuffer13 = "false" +srgb_framebuffer13 = "true" + +shader14 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear14 = "false" +wrap_mode14 = "clamp_to_border" +mipmap_input14 = "false" +alias14 = "" +float_framebuffer14 = "false" +srgb_framebuffer14 = "true" +scale_type_x14 = "source" +scale_x14 = "2.000000" +scale_type_y14 = "source" +scale_y14 = "2.000000" + +shader15 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear15 = "false" +wrap_mode15 = "clamp_to_border" +mipmap_input15 = "false" +alias15 = "" +float_framebuffer15 = "false" +srgb_framebuffer15 = "true" +scale_type_x15 = "source" +scale_x15 = "1.000000" +scale_type_y15 = "source" +scale_y15 = "1.000000" + +shader16 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +alias16 = "" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" +scale_type_x16 = "source" +scale_x16 = "1.000000" +scale_type_y16 = "source" +scale_y16 = "1.000000" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear17 = false +scale_type_x17 = source +scale_x17 = 1 +scale_type_y17 = source +scale_y17 = 0.5 +wrap_mode17 = "clamp_to_edge" + +shader18 = ../../../shaders/base/stock.slang +filter_linear18 = true +scale_type18 = source +scale_x18 = 1.0 +scale_y18 = 1.0 +alias18 = "PrePass" +mipmap_input18 = true + +shader19 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +mipmap_input19 = true +alias19 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader20 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear20 = true +scale_type20 = source +scale20 = 1.0 +float_framebuffer20 = true +alias20 = "LinearizePass" + +shader21 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 800.0 +scale_type_y21 = source +scale_y21 = 1.0 +float_framebuffer21 = true + +shader22 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 800.0 +scale_type_y22 = absolute +scale_y22 = 600.0 +float_framebuffer22 = true +alias22 = GlowPass + +shader23 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 800.0 +scale_type_y23 = absolute +scale_y23 = 600.0 +float_framebuffer23 = true + +shader24 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear24 = true +scale_type_x24 = source +scale_x24 = 1.0 +scale_type_y24 = source +scale_y24 = 1.0 +float_framebuffer24 = true +alias24 = BloomPass + +shader25 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true + +shader26 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear26 = true +scale_type26 = viewport +scale_x26 = 1.0 +scale_y26 = 1.0 +float_framebuffer26 = true +alias26 = "CRTPass" + +shader27 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader28 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersUnderCRTPass" + +shader29 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader30 = ../../../shaders/base/linearize-crt.slang +mipmap_input30 = true +filter_linear30 = true +scale_type30 = absolute +# scale_x30 = 480 +# scale_y30 = 270 +# scale_x30 = 960 +# scale_y30 = 540 +scale_x30 = 800 +scale_y30 = 600 +float_framebuffer30 = true +alias30 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input31 = true +filter_linear31 = true +float_framebuffer31 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear32 = true +float_framebuffer32 = true +alias32 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 128 +scale_y33 = 128 +float_framebuffer33 = true +alias33 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 12 +scale_y34 = 12 +float_framebuffer34 = true +alias34 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader35 = ../../../shaders/base/reflection.slang +scale_type35 = viewport +alias35 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader36 = ../../../shaders/base/combine-passes.slang +scale_type36 = viewport +alias36 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__EASYMODE.slangp new file mode 100644 index 0000000..b7040ff --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__EASYMODE.slangp @@ -0,0 +1,293 @@ +shaders = 29 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear15 = false +srgb_framebuffer15 = true + +shader16 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear16 = false +srgb_framebuffer16 = true + +shader17 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear17 = false +srgb_framebuffer17 = true + +# Easymode's Shader! +shader18 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "CRTPass" + +g_gamma_out = 2.45 + +shader19 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader20 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "BR_LayersUnderCRTPass" + +shader21 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader22 = ../../../shaders/base/linearize-crt.slang +mipmap_input22 = true +filter_linear22 = true +scale_type22 = absolute +# scale_x22 = 480 +# scale_y22 = 270 +# scale_x22 = 960 +# scale_y22 = 540 +scale_x22 = 800 +scale_y22 = 600 +float_framebuffer22 = true +alias22 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader23 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input23 = true +filter_linear23 = true +float_framebuffer23 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader24 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear24 = true +float_framebuffer24 = true +alias24 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader25 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input25 = true +filter_linear25 = true +scale_type25 = absolute +scale_x25 = 128 +scale_y25 = 128 +float_framebuffer25 = true +alias25 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader26 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input26 = true +filter_linear26 = true +scale_type26 = absolute +scale_x26 = 12 +scale_y26 = 12 +float_framebuffer26 = true +alias26 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader27 = ../../../shaders/base/reflection.slang +scale_type27 = viewport +alias27 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader28 = ../../../shaders/base/combine-passes.slang +scale_type28 = viewport +alias28 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Easymode Parameters +gamma_out = 2.2 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..00e37a4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC.slangp @@ -0,0 +1,317 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI.slangp new file mode 100644 index 0000000..6f50af5 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-MINI.slangp @@ -0,0 +1,284 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-NTSC.slangp new file mode 100644 index 0000000..a9a6e85 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV-NTSC.slangp @@ -0,0 +1,360 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection.slang +scale_type34 = viewport +alias34 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV.slangp new file mode 100644 index 0000000..e376e3d --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__GDV.slangp @@ -0,0 +1,318 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__LCD-GRID.slangp new file mode 100644 index 0000000..c77c650 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__LCD-GRID.slangp @@ -0,0 +1,279 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..d30f64e --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp @@ -0,0 +1,335 @@ +shaders = 32 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +float_framebuffer16 = true +alias16 = "PrePass" + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +float_framebuffer17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader19 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear19 = "false" +scale_type19 = "source" +scale19 = "1.0" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SourceSDR" +float_framebuffer19 = "true" + +shader20 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear20 = "false" +scale_type20 = "source" +scale20 = "1.0" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "SourceHDR" +float_framebuffer20 = "true" + +shader21 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear21 = "false" +wrap_mode21 = "clamp_to_border" +mipmap_input21 = "false" +scale_type21 = "viewport" +float_framebuffer21 = "true" +alias21 = "CRTPass" + +shader22 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader23 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersUnderCRTPass" + +shader24 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear24 = true +scale_type24 = viewport +float_framebuffer24 = true +alias24 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader25 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input25 = true +filter_linear25 = true +scale_type25 = absolute +# scale_x25 = 480 +# scale_y25 = 270 +# scale_x25 = 960 +# scale_y25 = 540 +scale_x25 = 800 +scale_y25 = 600 +float_framebuffer25 = true +alias25 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input26 = true +filter_linear26 = true +float_framebuffer26 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader27 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear27 = true +float_framebuffer27 = true +alias27 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 128 +scale_y28 = 128 +float_framebuffer28 = true +alias28 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader29 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +scale_x29 = 12 +scale_y29 = 12 +float_framebuffer29 = true +alias29 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader30 = ../../../shaders/base/reflection.slang +scale_type30 = viewport +alias30 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader31 = ../../../shaders/base/combine-passes-hdr.slang +scale_type31 = viewport +alias31 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON.slangp new file mode 100644 index 0000000..9b93eaf --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__3__STD__MEGATRON.slangp @@ -0,0 +1,302 @@ +shaders = 28 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +float_framebuffer12 = true +alias12 = "PrePass" + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +float_framebuffer13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader15 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear15 = "false" +scale_type15 = "source" +scale15 = "1.0" +wrap_mode15 = "clamp_to_border" +mipmap_input15 = "false" +alias15 = "SourceSDR" +float_framebuffer15 = "true" + +shader16 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear16 = "false" +scale_type16 = "source" +scale16 = "1.0" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +alias16 = "SourceHDR" +float_framebuffer16 = "true" + +shader17 = "../../../shaders/megatron/crt-sony-megatron.slang" +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +scale_type17 = "viewport" +float_framebuffer17 = "true" +alias17 = "CRTPass" + +shader18 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader19 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersUnderCRTPass" + +shader20 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader21 = ../../../shaders/base/linearize-crt-hdr.slang +mipmap_input21 = true +filter_linear21 = true +scale_type21 = absolute +# scale_x21 = 480 +# scale_y21 = 270 +# scale_x21 = 960 +# scale_y21 = 540 +scale_x21 = 800 +scale_y21 = 600 +float_framebuffer21 = true +alias21 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input22 = true +filter_linear22 = true +float_framebuffer22 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader23 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear23 = true +float_framebuffer23 = true +alias23 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 128 +scale_y24 = 128 +float_framebuffer24 = true +alias24 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader25 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input25 = true +filter_linear25 = true +scale_type25 = absolute +scale_x25 = 12 +scale_y25 = 12 +float_framebuffer25 = true +alias25 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader26 = ../../../shaders/base/reflection.slang +scale_type26 = viewport +alias26 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader27 = ../../../shaders/base/combine-passes-hdr.slang +scale_type27 = viewport +alias27 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..db123ec --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,426 @@ +shaders = 44 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/base/stock.slang +alias25 = "PrePass0" + +shader26 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear26 = false +float_framebuffer26 = true +scale_type_x26 = source +scale_type_y26 = source +scale_x26 = 4.0 +scale_y26 = 1.0 +frame_count_mod26 = 2 +alias26 = NPass1 + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer27 = true +filter_linear27 = true +scale_type27 = source +scale_x27 = 0.5 +scale_y27 = 1.0 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/base/stock.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 +alias30 = "PrePass" +mipmap_input30 = true + +shader31 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +mipmap_input31 = true +alias31 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader32 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +float_framebuffer32 = true +alias32 = "LinearizePass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear33 = true +scale_type_x33 = viewport +scale_x33 = 1.0 +scale_type_y33 = source +scale_y33 = 1.0 +float_framebuffer33 = true +alias33 = Pass1 + +shader34 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 640.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = absolute +scale_y35 = 480.0 +float_framebuffer35 = true +alias35 = "GlowPass" + +shader36 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true +alias37 = "BloomPass" + +shader38 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear38 = true +scale_type38 = viewport +scale_x38 = 1.0 +scale_y38 = 1.0 +float_framebuffer38 = true + +shader39 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true +alias39 = "CRTPass" + +shader40 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader41 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "BR_LayersUnderCRTPass" + +shader42 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader43 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type43 = viewport +alias43 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..648e735 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT-SUPER-XBR__GDV.slangp @@ -0,0 +1,383 @@ +shaders = 39 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 + +shader26 = ../../../shaders/base/stock.slang +filter_linear26 = true +scale_type26 = source +scale_x26 = 1.0 +scale_y26 = 1.0 +alias26 = "PrePass" +mipmap_input26 = true + +shader27 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +mipmap_input27 = true +alias27 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader28 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear28 = true +scale_type28 = source +scale28 = 1.0 +float_framebuffer28 = true +alias28 = "LinearizePass" + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 800.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 800.0 +scale_type_y30 = absolute +scale_y30 = 600.0 +float_framebuffer30 = true +alias30 = "GlowPass" + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 800.0 +scale_type_y31 = absolute +scale_y31 = 600.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = source +scale_x32 = 1.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true +alias32 = "BloomPass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader38 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type38 = viewport +alias38 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp new file mode 100644 index 0000000..6c0ec17 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__EASYMODE.slangp @@ -0,0 +1,235 @@ +shaders = 23 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear15 = false +srgb_framebuffer15 = true + +shader16 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear16 = false +srgb_framebuffer16 = true + +shader17 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear17 = false +srgb_framebuffer17 = true + +# Easymode's Shader! +shader18 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "CRTPass" + +g_gamma_out = 2.45 + +shader19 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader20 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "BR_LayersUnderCRTPass" + +shader21 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader22 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type22 = viewport +alias22 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Easymode Parameters +gamma_out = 2.2 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..47f9eb9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI-NTSC.slangp @@ -0,0 +1,259 @@ +shaders = 25 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader24 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type24 = viewport +alias24 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp new file mode 100644 index 0000000..318d100 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-MINI.slangp @@ -0,0 +1,226 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader20 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type20 = viewport +alias20 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp new file mode 100644 index 0000000..8e3e86e --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV-NTSC.slangp @@ -0,0 +1,302 @@ +shaders = 30 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = "GlowPass" + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = "BloomPass" + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader29 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type29 = viewport +alias29 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp new file mode 100644 index 0000000..7885c09 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp @@ -0,0 +1,260 @@ +shaders = 25 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = "GlowPass" + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = "BloomPass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader24 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type24 = viewport +alias24 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp new file mode 100644 index 0000000..1b84fdb --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp @@ -0,0 +1,221 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader20 = ../../../shaders/base/combine-passes-no-reflect.slang +scale_type20 = viewport +alias20 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..f5c755d --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON-NTSC.slangp @@ -0,0 +1,277 @@ +shaders = 26 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +float_framebuffer16 = true +alias16 = "PrePass" + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +float_framebuffer17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader19 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear19 = "false" +scale_type19 = "source" +scale19 = "1.0" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SourceSDR" +float_framebuffer19 = "true" + +shader20 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear20 = "false" +scale_type20 = "source" +scale20 = "1.0" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "SourceHDR" +float_framebuffer20 = "true" + +shader21 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear21 = "false" +wrap_mode21 = "clamp_to_border" +mipmap_input21 = "false" +scale_type21 = "viewport" +float_framebuffer21 = "true" +alias21 = "CRTPass" + +shader22 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader23 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersUnderCRTPass" + +shader24 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear24 = true +scale_type24 = viewport +float_framebuffer24 = true +alias24 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader25 = ../../../shaders/base/combine-passes-no-reflect-hdr.slang +scale_type25 = viewport +alias25 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp new file mode 100644 index 0000000..bfc5d85 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-NO-REFLECT__MEGATRON.slangp @@ -0,0 +1,244 @@ +shaders = 22 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +float_framebuffer12 = true +alias12 = "PrePass" + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +float_framebuffer13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader15 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear15 = "false" +scale_type15 = "source" +scale15 = "1.0" +wrap_mode15 = "clamp_to_border" +mipmap_input15 = "false" +alias15 = "SourceSDR" +float_framebuffer15 = "true" + +shader16 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear16 = "false" +scale_type16 = "source" +scale16 = "1.0" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +alias16 = "SourceHDR" +float_framebuffer16 = "true" + +shader17 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +scale_type17 = "viewport" +float_framebuffer17 = "true" +alias17 = "CRTPass" + +shader18 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader19 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersUnderCRTPass" + +shader20 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "BR_LayersOverCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader21 = ../../../shaders/base/combine-passes-no-reflect-hdr.slang +scale_type21 = viewport +alias21 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..48e481a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,412 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/base/stock.slang +alias25 = "PrePass0" + +shader26 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear26 = false +float_framebuffer26 = true +scale_type_x26 = source +scale_type_y26 = source +scale_x26 = 4.0 +scale_y26 = 1.0 +frame_count_mod26 = 2 +alias26 = NPass1 + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer27 = true +filter_linear27 = true +scale_type27 = source +scale_x27 = 0.5 +scale_y27 = 1.0 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/base/stock.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 +alias30 = "PrePass" +mipmap_input30 = true + +shader31 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +mipmap_input31 = true +alias31 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader32 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +float_framebuffer32 = true +alias32 = "LinearizePass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear33 = true +scale_type_x33 = viewport +scale_x33 = 1.0 +scale_type_y33 = source +scale_y33 = 1.0 +float_framebuffer33 = true +alias33 = Pass1 + +shader34 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 640.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = absolute +scale_y35 = 480.0 +float_framebuffer35 = true +alias35 = "GlowPass" + +shader36 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true +alias37 = "BloomPass" + +shader38 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear38 = true +scale_type38 = viewport +scale_x38 = 1.0 +scale_y38 = 1.0 +float_framebuffer38 = true + +shader39 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true +alias39 = "CRTPass" + +shader40 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/output-sdr.slang +scale_type41 = viewport +alias41 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..f3cf010 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY-SUPER-XBR__GDV.slangp @@ -0,0 +1,369 @@ +shaders = 37 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 + +shader26 = ../../../shaders/base/stock.slang +filter_linear26 = true +scale_type26 = source +scale_x26 = 1.0 +scale_y26 = 1.0 +alias26 = "PrePass" +mipmap_input26 = true + +shader27 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +mipmap_input27 = true +alias27 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader28 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear28 = true +scale_type28 = source +scale28 = 1.0 +float_framebuffer28 = true +alias28 = "LinearizePass" + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 800.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 800.0 +scale_type_y30 = absolute +scale_y30 = 600.0 +float_framebuffer30 = true +alias30 = "GlowPass" + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 800.0 +scale_type_y31 = absolute +scale_y31 = 600.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = source +scale_x32 = 1.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true +alias32 = "BloomPass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader36 = ../../../shaders/base/output-sdr.slang +scale_type36 = viewport +alias36 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp new file mode 100644 index 0000000..aa0c718 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__EASYMODE.slangp @@ -0,0 +1,221 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear15 = false +srgb_framebuffer15 = true + +shader16 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear16 = false +srgb_framebuffer16 = true + +shader17 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear17 = false +srgb_framebuffer17 = true + +# Easymode's Shader! +shader18 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "CRTPass" + +g_gamma_out = 2.45 + +shader19 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader20 = ../../../shaders/base/output-sdr.slang +scale_type20 = viewport +alias20 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Easymode Parameters +gamma_out = 2.2 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..f57863a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI-NTSC.slangp @@ -0,0 +1,245 @@ +shaders = 23 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader22 = ../../../shaders/base/output-sdr.slang +scale_type22 = viewport +alias22 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp new file mode 100644 index 0000000..2664fd0 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-MINI.slangp @@ -0,0 +1,212 @@ +shaders = 19 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader18 = ../../../shaders/base/output-sdr.slang +scale_type18 = viewport +alias18 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp new file mode 100644 index 0000000..e3bc802 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV-NTSC.slangp @@ -0,0 +1,288 @@ +shaders = 28 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = "GlowPass" + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = "BloomPass" + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass2-no-reflect.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader27 = ../../../shaders/base/output-sdr.slang +scale_type27 = viewport +alias27 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp new file mode 100644 index 0000000..48c8372 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__GDV.slangp @@ -0,0 +1,246 @@ +shaders = 23 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = "GlowPass" + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = "BloomPass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-no-reflect.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence-no-reflect.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader22 = ../../../shaders/base/output-sdr.slang +scale_type22 = viewport +alias22 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp new file mode 100644 index 0000000..e43f205 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__LCD-GRID.slangp @@ -0,0 +1,207 @@ +shaders = 19 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader18 = ../../../shaders/base/output-sdr.slang +scale_type18 = viewport +alias18 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..252a7ce --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON-NTSC.slangp @@ -0,0 +1,263 @@ +shaders = 24 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +float_framebuffer16 = true +alias16 = "PrePass" + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +float_framebuffer17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader19 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear19 = "false" +scale_type19 = "source" +scale19 = "1.0" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SourceSDR" +float_framebuffer19 = "true" + +shader20 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear20 = "false" +scale_type20 = "source" +scale20 = "1.0" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +alias20 = "SourceHDR" +float_framebuffer20 = "true" + +shader21 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear21 = "false" +wrap_mode21 = "clamp_to_border" +mipmap_input21 = "false" +scale_type21 = "viewport" +float_framebuffer21 = "true" +alias21 = "CRTPass" + +shader22 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader23 = ../../../shaders/base/output-hdr.slang +scale_type23 = viewport +alias23 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp new file mode 100644 index 0000000..9a18014 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__4__STD-SCREEN-ONLY__MEGATRON.slangp @@ -0,0 +1,230 @@ +shaders = 20 + +shader0 = ../../../shaders/base/add-params-no-reflect.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-no-reflect-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std-no-reflect.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +float_framebuffer12 = true +alias12 = "PrePass" + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +float_framebuffer13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader15 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear15 = "false" +scale_type15 = "source" +scale15 = "1.0" +wrap_mode15 = "clamp_to_border" +mipmap_input15 = "false" +alias15 = "SourceSDR" +float_framebuffer15 = "true" + +shader16 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear16 = "false" +scale_type16 = "source" +scale16 = "1.0" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +alias16 = "SourceHDR" +float_framebuffer16 = "true" + +shader17 = "../../../shaders/megatron/crt-sony-megatron-no-reflect.slang" +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +scale_type17 = "viewport" +float_framebuffer17 = "true" +alias17 = "CRTPass" + +shader18 = ../../../shaders/base/post-crt-prep-no-reflect.slang +mipmap_input18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader19 = ../../../shaders/base/output-hdr.slang +scale_type19 = viewport +alias19 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp new file mode 100644 index 0000000..8074950 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV-NTSC.slangp @@ -0,0 +1,346 @@ +shaders = 41 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/base/stock.slang +alias25 = "PrePass0" + +shader26 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear26 = false +float_framebuffer26 = true +scale_type_x26 = source +scale_type_y26 = source +scale_x26 = 4.0 +scale_y26 = 1.0 +frame_count_mod26 = 2 +alias26 = NPass1 + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer27 = true +filter_linear27 = true +scale_type27 = source +scale_x27 = 0.5 +scale_y27 = 1.0 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/base/stock.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 +alias30 = "PrePass" +mipmap_input30 = true + +shader31 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +mipmap_input31 = true +alias31 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader32 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +float_framebuffer32 = true +alias32 = "LinearizePass" + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear33 = true +scale_type_x33 = viewport +scale_x33 = 1.0 +scale_type_y33 = source +scale_y33 = 1.0 +float_framebuffer33 = true +alias33 = Pass1 + +shader34 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 640.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = absolute +scale_y35 = 480.0 +float_framebuffer35 = true +alias35 = GlowPass + +shader36 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true +alias37 = BloomPass + +shader38 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear38 = true +scale_type38 = viewport +scale_x38 = 1.0 +scale_y38 = 1.0 +float_framebuffer38 = true + +shader39 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true +alias39 = "CRTPass" + +shader40 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp new file mode 100644 index 0000000..f353e6f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO-SUPER-XBR__GDV.slangp @@ -0,0 +1,303 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias13 = "DeditherPass" + +shader14 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias14 = "DeditherPass" + +shader15 = ../../../shaders/base/stock.slang +# filter_linear15 = "false" +# wrap_mode15 = "clamp_to_border" +# mipmap_input15 = "false" +# float_framebuffer15 = "false" +# srgb_framebuffer15 = "true" +alias15 = XbrSource + +shader16 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass0.slang +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +float_framebuffer16 = "false" +srgb_framebuffer16 = "true" + +shader17 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass1.slang +filter_linear17 = "false" +wrap_mode17 = "clamp_to_border" +mipmap_input17 = "false" +alias17 = "" +float_framebuffer17 = "false" +srgb_framebuffer17 = "true" +scale_type_x17 = "source" +scale_x17 = "2.000000" +scale_type_y17 = "source" +scale_y17 = "2.000000" + +shader18 = ../../../shaders/hyllian/crt-super-xbr/super-xbr-pass2.slang +filter_linear18 = "false" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "" +float_framebuffer18 = "false" +srgb_framebuffer18 = "true" +scale_type_x18 = "source" +scale_x18 = "1.000000" +scale_type_y18 = "source" +scale_y18 = "1.000000" + +shader19 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-X.slang +filter_linear19 = "false" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "" +float_framebuffer19 = "false" +srgb_framebuffer19 = "true" +scale_type_x19 = "source" +scale_x19 = "1.000000" +scale_type_y19 = "source" +scale_y19 = "1.000000" + +shader20 = ../../../shaders/hyllian/crt-super-xbr/custom-bicubic-y.slang +filter_linear20 = false +scale_type_x20 = source +scale_x20 = 1 +scale_type_y20 = source +scale_y20 = 0.5 +wrap_mode20 = "clamp_to_edge" + +shader21 = ../../../shaders/base/stock.slang +alias21 = "PreCRTPass" + +shader22 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear22 = true +scale_type22 = source +scale22 = 1.0 +alias22 = "AfterglowPass" + +shader23 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear23 = true +scale_type23 = source +mipmap_input23 = true +scale23 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader24 = ../../../shaders/dogway/hsm-grade.slang +filter_linear24 = false +scale_type24 = source +scale24 = 1.0 +alias24 = "ColorCorrectPass" + +shader25 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 + +shader26 = ../../../shaders/base/stock.slang +filter_linear26 = true +scale_type26 = source +scale_x26 = 1.0 +scale_y26 = 1.0 +alias26 = "PrePass" +mipmap_input26 = true + +shader27 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +mipmap_input27 = true +alias27 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader28 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear28 = true +scale_type28 = source +scale28 = 1.0 +float_framebuffer28 = true +alias28 = "LinearizePass" + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 800.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 800.0 +scale_type_y30 = absolute +scale_y30 = 600.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 800.0 +scale_type_y31 = absolute +scale_y31 = 600.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = source +scale_x32 = 1.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence-potato.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +SHARPSMOOTHER_ON = 1 +max_w = 0.05 +min_w = 0 +smoot = 0.4 +lumad = 0.5 +mtric = 0.3 + +SUPERXBR_ON = 1 + +ntsc_scale = 0.45 + +SHARPEN = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 0 + +# gamma_c = 0.9 +# gsl = -1 +# scanline1 = 3 +# shadowMask = 3 +# maskDark = 0.4 +# maskLight = 1.2 +# mask_gamma = 4 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__EASYMODE.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__EASYMODE.slangp new file mode 100644 index 0000000..69018c6 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__EASYMODE.slangp @@ -0,0 +1,152 @@ +shaders = 19 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 +alias11 = "PrePass" +mipmap_input11 = true + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" + +shader14 = ../../../shaders/easymode/hsm-crt-easymode-blur_horiz.slang +filter_linear14 = false +srgb_framebuffer14 = true + +shader15 = ../../../shaders/easymode/hsm-crt-easymode-blur_vert.slang +filter_linear15 = false +srgb_framebuffer15 = true + +shader16 = ../../../shaders/easymode/hsm-crt-easymode-threshold.slang +filter_linear16 = false +srgb_framebuffer16 = true + +# Easymode's Shader! +shader17 = ../../../shaders/easymode/hsm-crt-easymode-halation.slang +filter_linear17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "CRTPass" + +g_gamma_out = 2.45 + +shader18 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Easymode Parameters +gamma_out = 2.2 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp new file mode 100644 index 0000000..f75ff01 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC.slangp @@ -0,0 +1,152 @@ +shaders = 18 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader6 = ../../../shaders/dogway/hsm-grade.slang +filter_linear6 = false +scale_type6 = source +scale6 = 1.0 +alias6 = "ColorCorrectPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PrePass0" + +shader8 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear8 = false +float_framebuffer8 = true +scale_type_x8 = source +scale_type_y8 = source +scale_x8 = 4.0 +scale_y8 = 1.0 +frame_count_mod8 = 2 +alias8 = NPass1 + +shader9 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer9 = true +filter_linear9 = true +scale_type9 = source +scale_x9 = 0.5 +scale_y9 = 1.0 + +shader10 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI.slangp new file mode 100644 index 0000000..e90ded7 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-MINI.slangp @@ -0,0 +1,119 @@ +shaders = 14 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader6 = ../../../shaders/dogway/hsm-grade.slang +filter_linear6 = false +scale_type6 = source +scale6 = 1.0 +alias6 = "ColorCorrectPass" + +shader7 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear7 = true +scale_type7 = source +scale_x7 = 1.0 +scale_y7 = 1.0 + +shader8 = ../../../shaders/base/stock.slang +filter_linear8 = true +scale_type8 = source +scale_x8 = 1.0 +scale_y8 = 1.0 +alias8 = "PrePass" +mipmap_input8 = true + +shader9 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear9 = true +scale_type9 = source +scale9 = 1.0 +mipmap_input9 = true +alias9 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader10 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear10 = true +scale_type10 = source +scale10 = 1.0 +float_framebuffer10 = true +alias10 = "LinearizePass" + +shader11 = ../../../shaders/base/delinearize.slang +scale_type11 = source +float_framebuffer11 = "true" + +shader12 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type12 = viewport +scale_x12 = 1.0 +scale_y12 = 1.0 +filter_linear12 = true +float_framebuffer12 = "true" +alias12 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader13 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input13 = true +scale_type13 = viewport +float_framebuffer13 = true +alias13 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-NTSC.slangp new file mode 100644 index 0000000..d0bcd5a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV-NTSC.slangp @@ -0,0 +1,219 @@ +shaders = 26 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/base/stock.slang +alias10 = "PrePass0" + +shader11 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear11 = false +float_framebuffer11 = true +scale_type_x11 = source +scale_type_y11 = source +scale_x11 = 4.0 +scale_y11 = 1.0 +frame_count_mod11 = 2 +alias11 = NPass1 + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer12 = true +filter_linear12 = true +scale_type12 = source +scale_x12 = 0.5 +scale_y12 = 1.0 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear13 = true +scale_type13 = source +scale_x13 = 1.0 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/base/stock.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 +alias15 = "PrePass" +mipmap_input15 = true + +shader16 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear16 = true +scale_type16 = source +scale16 = 1.0 +mipmap_input16 = true +alias16 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader17 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = "LinearizePass" + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear18 = true +scale_type_x18 = viewport +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = Pass1 + +shader19 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear19 = true +scale_type_x19 = absolute +scale_x19 = 640.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = absolute +scale_y20 = 480.0 +float_framebuffer20 = true +alias20 = GlowPass + +shader21 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true + +shader22 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true +alias22 = BloomPass + +shader23 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear23 = true +scale_type23 = viewport +scale_x23 = 1.0 +scale_y23 = 1.0 +float_framebuffer23 = true + +shader24 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true +alias24 = "CRTPass" + +shader25 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input25 = true +scale_type25 = viewport +float_framebuffer25 = true +alias25 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV.slangp new file mode 100644 index 0000000..55f039f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__GDV.slangp @@ -0,0 +1,177 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 +alias11 = "PrePass" +mipmap_input11 = true + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" + +shader14 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear14 = true +scale_type_x14 = absolute +scale_x14 = 800.0 +scale_type_y14 = source +scale_y14 = 1.0 +float_framebuffer14 = true + +shader15 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = absolute +scale_y15 = 600.0 +float_framebuffer15 = true +alias15 = GlowPass + +shader16 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear17 = true +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +float_framebuffer17 = true +alias17 = BloomPass + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear18 = true +scale_type18 = viewport +scale_x18 = 1.0 +scale_y18 = 1.0 +float_framebuffer18 = true + +shader19 = ../../../shaders/guest/hsm-deconvergence-potato.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = "CRTPass" + +shader20 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__LCD-GRID.slangp new file mode 100644 index 0000000..c6d4331 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__LCD-GRID.slangp @@ -0,0 +1,138 @@ +shaders = 17 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 +alias11 = "PrePass" +mipmap_input11 = true + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" + +shader14 = ../../../shaders/base/delinearize.slang +float_framebuffer14 = "true" + +shader15 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear15 = "false" +scale_type15 = "viewport" +scale15 = "1.0" +float_framebuffer15 = "true" +alias15 = "CRTPass" + +shader16 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input16 = true +scale_type16 = viewport +float_framebuffer16 = true +alias16 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp new file mode 100644 index 0000000..a1cc223 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON-NTSC.slangp @@ -0,0 +1,199 @@ +shaders = 23 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/base/stock.slang +alias10 = "PrePass0" + +shader11 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear11 = false +float_framebuffer11 = true +scale_type_x11 = source +scale_type_y11 = source +scale_x11 = 4.0 +scale_y11 = 1.0 +frame_count_mod11 = 2 +alias11 = NPass1 + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer12 = true +filter_linear12 = true +scale_type12 = source +scale_x12 = 0.5 +scale_y12 = 1.0 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear13 = true +scale_type13 = source +scale_x13 = 1.0 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/base/stock.slang +float_framebuffer15 = true +alias15 = "PrePass" + +shader16 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear16 = true +scale_type16 = source +scale16 = 1.0 +mipmap_input16 = true +float_framebuffer16 = true +alias16 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader17 = ../../../shaders/guest/hsm-interlace.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader18 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear18 = "false" +scale_type18 = "source" +scale18 = "1.0" +wrap_mode18 = "clamp_to_border" +mipmap_input18 = "false" +alias18 = "SourceSDR" +float_framebuffer18 = "true" + +shader19 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear19 = "false" +scale_type19 = "source" +scale19 = "1.0" +wrap_mode19 = "clamp_to_border" +mipmap_input19 = "false" +alias19 = "SourceHDR" +float_framebuffer19 = "true" + +shader20 = "../../../shaders/megatron/crt-sony-megatron-potato.slang" +filter_linear20 = "false" +wrap_mode20 = "clamp_to_border" +mipmap_input20 = "false" +scale_type20 = "viewport" +float_framebuffer20 = "true" +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-potato-megatron.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader22 = ../../../shaders/base/output-hdr.slang +scale_type22 = viewport +alias22 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON.slangp new file mode 100644 index 0000000..b485556 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets/Root_Presets/MBZ__5__POTATO__MEGATRON.slangp @@ -0,0 +1,166 @@ +shaders = 19 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/base/stock.slang +filter_linear1 = false +srgb_framebuffer1 = true +scale_type1 = source +scale_x1 = 1 +scale_y1 = 1 +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +float_framebuffer11 = true +alias11 = "PrePass" + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +float_framebuffer12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" +feedback_pass = "0" + +# Sony Megatron Colour Video Monitor by Major Pain The Cactus +shader14 = "../../../shaders/megatron/crt-sony-megatron-source-pass.slang" +filter_linear14 = "false" +scale_type14 = "source" +scale14 = "1.0" +wrap_mode14 = "clamp_to_border" +mipmap_input14 = "false" +alias14 = "SourceSDR" +float_framebuffer14 = "true" + +shader15 = "../../../shaders/megatron/crt-sony-megatron-hdr-pass.slang" +filter_linear15 = "false" +scale_type15 = "source" +scale15 = "1.0" +wrap_mode15 = "clamp_to_border" +mipmap_input15 = "false" +alias15 = "SourceHDR" +float_framebuffer15 = "true" + +shader16 = "../../../shaders/megatron/crt-sony-megatron-potato.slang" +filter_linear16 = "false" +wrap_mode16 = "clamp_to_border" +mipmap_input16 = "false" +scale_type16 = "viewport" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-potato-megatron.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Combine Passes ---------------------------------------------------------------- +shader18 = ../../../shaders/base/output-hdr.slang +scale_type18 = viewport +alias18 = "OutputPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# Sony Megatron Color Monitor +hcrt_hdr = "0.000000" + +HSM_INT_SCALE_MODE = "1.000000" +HSM_CRT_CURVATURE_SCALE = "0.000000" +HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "100.000000" +HSM_REFLECT_GLOBAL_AMOUNT = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp index 8af9b07..0306fad 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp @@ -1,453 +1,2 @@ -shaders = 52 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -shader17 = ../../shaders/base/stock.slang -alias17 = refpass - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = scalefx_pass0 - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -float_framebuffer12 = true - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 - -shader22 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear22 = false -scale_type22 = source -scale22 = 3 - -shader23 = ../../shaders/base/stock.slang -alias23 = "PreCRTPass" - -shader24 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -alias24 = "AfterglowPass" - -shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear25 = true -scale_type25 = source -mipmap_input25 = true -scale25 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader26 = ../../shaders/dogway/hsm-grade.slang -filter_linear26 = false -scale_type26 = source -scale26 = 1.0 -alias26 = "ColorCorrectPass" - -shader27 = ../../shaders/base/stock.slang -alias27 = "PrePass0" - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear28 = false -float_framebuffer28 = true -scale_type_x28 = source -scale_type_y28 = source -scale_x28 = 4.0 -scale_y28 = 1.0 -frame_count_mod28 = 2 -alias28 = NPass1 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer29 = true -filter_linear29 = true -scale_type29 = source -scale_x29 = 0.5 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 - -shader32 = ../../shaders/base/stock.slang -filter_linear32 = true -scale_type32 = source -scale_x32 = 1.0 -scale_y32 = 1.0 -alias32 = "PrePass" -mipmap_input32 = true - -shader33 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -mipmap_input33 = true -alias33 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear34 = true -scale_type34 = source -scale34 = 1.0 -float_framebuffer34 = true -alias34 = "LinearizePass" - -shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear35 = true -scale_type_x35 = viewport -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = Pass1 - -shader36 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = source -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true -alias37 = GlowPass - -shader38 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true - -shader39 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear39 = true -scale_type_x39 = absolute -scale_x39 = 640.0 -scale_type_y39 = absolute -scale_y39 = 480.0 -float_framebuffer39 = true -alias39 = BloomPass - -shader40 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true - -shader41 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear41 = true -scale_type41 = viewport -scale_x41 = 1.0 -scale_y41 = 1.0 -float_framebuffer41 = true -alias41 = "CRTPass" - -shader42 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader43 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersUnderCRTPass" - -shader44 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear44 = true -scale_type44 = viewport -float_framebuffer44 = true -alias44 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader45 = ../../shaders/base/linearize-crt.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -// scale_x45 = 480 -// scale_y45 = 270 -// scale_x45 = 960 -// scale_y45 = 540 -scale_x45 = 800 -scale_y45 = 600 -float_framebuffer45 = true -alias45 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader46 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input46 = true -filter_linear46 = true -float_framebuffer46 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader47 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear47 = true -float_framebuffer47 = true -alias47 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader48 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input48 = true -filter_linear48 = true -scale_type48 = absolute -scale_x48 = 128 -scale_y48 = 128 -float_framebuffer48 = true -alias48 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader49 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input49 = true -filter_linear49 = true -scale_type49 = absolute -scale_x49 = 12 -scale_y49 = 12 -float_framebuffer49 = true -alias49 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader50 = ../../shaders/base/reflection.slang -scale_type50 = viewport -alias50 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader51 = ../../shaders/base/combine-passes.slang -scale_type51 = viewport -alias51 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp index c9d28d3..693562d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp @@ -1,453 +1,2 @@ -shaders = 52 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -shader17 = ../../shaders/base/stock.slang -alias17 = refpass - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = scalefx_pass0 - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -float_framebuffer12 = true - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 - -shader22 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear22 = false -scale_type22 = source -scale22 = 3 - -shader23 = ../../shaders/base/stock.slang -alias23 = "PreCRTPass" - -shader24 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear24 = true -scale_type24 = source -scale24 = 1.0 -alias24 = "AfterglowPass" - -shader25 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear25 = true -scale_type25 = source -mipmap_input25 = true -scale25 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader26 = ../../shaders/dogway/hsm-grade.slang -filter_linear26 = false -scale_type26 = source -scale26 = 1.0 -alias26 = "ColorCorrectPass" - -shader27 = ../../shaders/base/stock.slang -alias27 = "PrePass0" - -shader28 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear28 = false -float_framebuffer28 = true -scale_type_x28 = source -scale_type_y28 = source -scale_x28 = 4.0 -scale_y28 = 1.0 -frame_count_mod28 = 2 -alias28 = NPass1 - -shader29 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer29 = true -filter_linear29 = true -scale_type29 = source -scale_x29 = 0.5 -scale_y29 = 1.0 - -shader30 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 - -shader31 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear31 = true -scale_type31 = source -scale_x31 = 1.0 -scale_y31 = 1.0 - -shader32 = ../../shaders/base/stock.slang -filter_linear32 = true -scale_type32 = source -scale_x32 = 1.0 -scale_y32 = 1.0 -alias32 = "PrePass" -mipmap_input32 = true - -shader33 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear33 = true -scale_type33 = source -scale33 = 1.0 -mipmap_input33 = true -alias33 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader34 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear34 = true -scale_type34 = source -scale34 = 1.0 -float_framebuffer34 = true -alias34 = "LinearizePass" - -shader35 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear35 = true -scale_type_x35 = viewport -scale_x35 = 1.0 -scale_type_y35 = source -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = Pass1 - -shader36 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear36 = true -scale_type_x36 = absolute -scale_x36 = 640.0 -scale_type_y36 = source -scale_y36 = 1.0 -float_framebuffer36 = true - -shader37 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear37 = true -scale_type_x37 = absolute -scale_x37 = 640.0 -scale_type_y37 = absolute -scale_y37 = 480.0 -float_framebuffer37 = true -alias37 = GlowPass - -shader38 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear38 = true -scale_type_x38 = absolute -scale_x38 = 640.0 -scale_type_y38 = absolute -scale_y38 = 480.0 -float_framebuffer38 = true - -shader39 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear39 = true -scale_type_x39 = absolute -scale_x39 = 640.0 -scale_type_y39 = absolute -scale_y39 = 480.0 -float_framebuffer39 = true -alias39 = BloomPass - -shader40 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear40 = true -scale_type40 = viewport -scale_x40 = 1.0 -scale_y40 = 1.0 -float_framebuffer40 = true - -shader41 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear41 = true -scale_type41 = viewport -scale_x41 = 1.0 -scale_y41 = 1.0 -float_framebuffer41 = true -alias41 = "CRTPass" - -shader42 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input42 = true -scale_type42 = viewport -float_framebuffer42 = true -alias42 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader43 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear43 = true -scale_type43 = viewport -float_framebuffer43 = true -alias43 = "BR_LayersUnderCRTPass" - -shader44 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear44 = true -scale_type44 = viewport -float_framebuffer44 = true -alias44 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader45 = ../../shaders/base/linearize-crt.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -// scale_x45 = 480 -// scale_y45 = 270 -// scale_x45 = 960 -// scale_y45 = 540 -scale_x45 = 800 -scale_y45 = 600 -float_framebuffer45 = true -alias45 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader46 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input46 = true -filter_linear46 = true -float_framebuffer46 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader47 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear47 = true -float_framebuffer47 = true -alias47 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader48 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input48 = true -filter_linear48 = true -scale_type48 = absolute -scale_x48 = 128 -scale_y48 = 128 -float_framebuffer48 = true -alias48 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader49 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input49 = true -filter_linear49 = true -scale_type49 = absolute -scale_x49 = 12 -scale_y49 = 12 -float_framebuffer49 = true -alias49 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader50 = ../../shaders/base/reflection.slang -scale_type50 = viewport -alias50 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader51 = ../../shaders/base/combine-passes.slang -scale_type51 = viewport -alias51 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp index 10f4bba..c4c710b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp @@ -1,447 +1,2 @@ -shaders = 49 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 400 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 400 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -shader17 = ../../shaders/base/stock.slang -alias17 = refpass - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = scalefx_pass0 - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -float_framebuffer12 = true - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 - -shader22 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear22 = false -scale_type22 = source -scale22 = 3 - -// GTU TV Processing -shader23 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type23 = source -scale23 = 1.0 -float_framebuffer23 = true - -shader24 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x24 = source -scale_x24 = 1.0 -scale_type_y24 = source -scale_y24 = 1.0 -filter_linear24 = false -float_framebuffer24 = true - -shader25 = ../../shaders/base/stock.slang -alias25 = "PreCRTPass" - -shader26 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -alias26 = "AfterglowPass" - -shader27 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear27 = true -scale_type27 = source -mipmap_input27 = true -scale27 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader28 = ../../shaders/dogway/hsm-grade.slang -filter_linear28 = false -scale_type28 = source -scale28 = 1.0 -alias28 = "ColorCorrectPass" - -shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/base/stock.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 -alias30 = "PrePass" -mipmap_input30 = true - -shader31 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -mipmap_input31 = true -alias31 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -float_framebuffer32 = true -alias32 = "LinearizePass" - -shader33 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = source -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true -alias34 = GlowPass - -shader35 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 800.0 -scale_type_y35 = absolute -scale_y35 = 600.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear36 = true -scale_type_x36 = source -scale_x36 = 1.0 -scale_type_y36 = source -scale_y36 = 1.0 -float_framebuffer36 = true -alias36 = BloomPass - -shader37 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear38 = true -scale_type38 = viewport -scale_x38 = 1.0 -scale_y38 = 1.0 -float_framebuffer38 = true -alias38 = "CRTPass" - -shader39 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader40 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "BR_LayersUnderCRTPass" - -shader41 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader42 = ../../shaders/base/linearize-crt.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -// scale_x42 = 480 -// scale_y42 = 270 -// scale_x42 = 960 -// scale_y42 = 540 -scale_x42 = 800 -scale_y42 = 600 -float_framebuffer42 = true -alias42 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input43 = true -filter_linear43 = true -float_framebuffer43 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader44 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear44 = true -float_framebuffer44 = true -alias44 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 128 -scale_y45 = 128 -float_framebuffer45 = true -alias45 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader46 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input46 = true -filter_linear46 = true -scale_type46 = absolute -scale_x46 = 12 -scale_y46 = 12 -float_framebuffer46 = true -alias46 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader47 = ../../shaders/base/reflection.slang -scale_type47 = viewport -alias47 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader48 = ../../shaders/base/combine-passes.slang -scale_type48 = viewport -alias48 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// 3DS Parameters -HSM_FLIP_VIEWPORT_VERTICAL = 1 -HSM_ASPECT_RATIO_MODE = 5 -HSM_INT_SCALE_MODE = 0 -HSM_NON_INTEGER_SCALE = 88.888 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_DUALSCREEN_MODE = 1 -HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 -HSM_2ND_SCREEN_CROP_PERCENT_LEFT = "10" -HSM_2ND_SCREEN_CROP_PERCENT_RIGHT = "10" -HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8" - -HSM_CURVATURE_MODE = 0 -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 - -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp index 6e81d35..ca48a72 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp @@ -1,426 +1,2 @@ -shaders = 49 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -shader17 = ../../shaders/base/stock.slang -alias17 = refpass - -shader18 = ../../shaders/scalefx/hsm-scalefx-pass0.slang -filter_linear18 = false -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = scalefx_pass0 - -shader19 = ../../shaders/scalefx/hsm-scalefx-pass1.slang -filter_linear19 = false -scale_type19 = source -scale19 = 1.0 -float_framebuffer12 = true - -shader20 = ../../shaders/scalefx/hsm-scalefx-pass2.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 - -shader21 = ../../shaders/scalefx/hsm-scalefx-pass3.slang -filter_linear21 = false -scale_type21 = source -scale21 = 1.0 - -shader22 = ../../shaders/scalefx/hsm-scalefx-pass4.slang -filter_linear22 = false -scale_type22 = source -scale22 = 3 - -// GTU TV Processing -shader23 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type23 = source -scale23 = 1.0 -float_framebuffer23 = true - -shader24 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x24 = source -scale_x24 = 1.0 -scale_type_y24 = source -scale_y24 = 1.0 -filter_linear24 = false -float_framebuffer24 = true - -shader25 = ../../shaders/base/stock.slang -alias25 = "PreCRTPass" - -shader26 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -alias26 = "AfterglowPass" - -shader27 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear27 = true -scale_type27 = source -mipmap_input27 = true -scale27 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader28 = ../../shaders/dogway/hsm-grade.slang -filter_linear28 = false -scale_type28 = source -scale28 = 1.0 -alias28 = "ColorCorrectPass" - -shader29 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear29 = true -scale_type29 = source -scale_x29 = 1.0 -scale_y29 = 1.0 - -shader30 = ../../shaders/base/stock.slang -filter_linear30 = true -scale_type30 = source -scale_x30 = 1.0 -scale_y30 = 1.0 -alias30 = "PrePass" -mipmap_input30 = true - -shader31 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear31 = true -scale_type31 = source -scale31 = 1.0 -mipmap_input31 = true -alias31 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader32 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear32 = true -scale_type32 = source -scale32 = 1.0 -float_framebuffer32 = true -alias32 = "LinearizePass" - -shader33 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 800.0 -scale_type_y33 = source -scale_y33 = 1.0 -float_framebuffer33 = true - -shader34 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear34 = true -scale_type_x34 = absolute -scale_x34 = 800.0 -scale_type_y34 = absolute -scale_y34 = 600.0 -float_framebuffer34 = true -alias34 = GlowPass - -shader35 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear35 = true -scale_type_x35 = absolute -scale_x35 = 800.0 -scale_type_y35 = absolute -scale_y35 = 600.0 -float_framebuffer35 = true - -shader36 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear36 = true -scale_type_x36 = source -scale_x36 = 1.0 -scale_type_y36 = source -scale_y36 = 1.0 -float_framebuffer36 = true -alias36 = BloomPass - -shader37 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear37 = true -scale_type37 = viewport -scale_x37 = 1.0 -scale_y37 = 1.0 -float_framebuffer37 = true - -shader38 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear38 = true -scale_type38 = viewport -scale_x38 = 1.0 -scale_y38 = 1.0 -float_framebuffer38 = true -alias38 = "CRTPass" - -shader39 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input39 = true -scale_type39 = viewport -float_framebuffer39 = true -alias39 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader40 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear40 = true -scale_type40 = viewport -float_framebuffer40 = true -alias40 = "BR_LayersUnderCRTPass" - -shader41 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear41 = true -scale_type41 = viewport -float_framebuffer41 = true -alias41 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader42 = ../../shaders/base/linearize-crt.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -// scale_x42 = 480 -// scale_y42 = 270 -// scale_x42 = 960 -// scale_y42 = 540 -scale_x42 = 800 -scale_y42 = 600 -float_framebuffer42 = true -alias42 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader43 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input43 = true -filter_linear43 = true -float_framebuffer43 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader44 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear44 = true -float_framebuffer44 = true -alias44 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader45 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input45 = true -filter_linear45 = true -scale_type45 = absolute -scale_x45 = 128 -scale_y45 = 128 -float_framebuffer45 = true -alias45 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader46 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input46 = true -filter_linear46 = true -scale_type46 = absolute -scale_x46 = 12 -scale_y46 = 12 -float_framebuffer46 = true -alias46 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader47 = ../../shaders/base/reflection.slang -scale_type47 = viewport -alias47 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader48 = ../../shaders/base/combine-passes.slang -scale_type48 = viewport -alias48 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// SMOOTH-ADV -SGPT_BLEND_OPTION = 1 - -HSM_SCALEFX_ON = 1 - -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 -HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 -HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 -HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 - -ntsc_scale = 0.33 - -// Lottes mask, a bit like a slot mask effect -shadowMask = 1 -mask_bloom = 0.3 - -// Mask Size is Auto, so it will look the same at 1080p and 4K -masksize = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp index 3909696..55d414a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp @@ -1,405 +1,2 @@ -shaders = 46 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -shader17 = ../../shaders/base/stock.slang -alias17 = "PreCRTPass" - -shader18 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -alias18 = "AfterglowPass" - -shader19 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear19 = true -scale_type19 = source -mipmap_input19 = true -scale19 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader20 = ../../shaders/dogway/hsm-grade.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 -alias20 = "ColorCorrectPass" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PrePass0" - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear22 = false -float_framebuffer22 = true -scale_type_x22 = source -scale_type_y22 = source -scale_x22 = 4.0 -scale_y22 = 1.0 -frame_count_mod22 = 2 -alias22 = NPass1 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer23 = true -filter_linear23 = true -scale_type23 = source -scale_x23 = 0.5 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 - -shader26 = ../../shaders/base/stock.slang -filter_linear26 = true -scale_type26 = source -scale_x26 = 1.0 -scale_y26 = 1.0 -alias26 = "PrePass" -mipmap_input26 = true - -shader27 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -mipmap_input27 = true -alias27 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -float_framebuffer28 = true -alias28 = "LinearizePass" - -shader29 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear29 = true -scale_type_x29 = viewport -scale_x29 = 1.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true -alias29 = Pass1 - -shader30 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 640.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true - -shader31 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 640.0 -scale_type_y31 = absolute -scale_y31 = 480.0 -float_framebuffer31 = true -alias31 = GlowPass - -shader32 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 640.0 -scale_type_y32 = absolute -scale_y32 = 480.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 640.0 -scale_type_y33 = absolute -scale_y33 = 480.0 -float_framebuffer33 = true -alias33 = BloomPass - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear35 = true -scale_type35 = viewport -scale_x35 = 1.0 -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = "CRTPass" - -shader36 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader37 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersUnderCRTPass" - -shader38 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader39 = ../../shaders/base/linearize-crt.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -// scale_x39 = 480 -// scale_y39 = 270 -// scale_x39 = 960 -// scale_y39 = 540 -scale_x39 = 800 -scale_y39 = 600 -float_framebuffer39 = true -alias39 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input40 = true -filter_linear40 = true -float_framebuffer40 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader41 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear41 = true -float_framebuffer41 = true -alias41 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 128 -scale_y42 = 128 -float_framebuffer42 = true -alias42 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader43 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input43 = true -filter_linear43 = true -scale_type43 = absolute -scale_x43 = 12 -scale_y43 = 12 -float_framebuffer43 = true -alias43 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader44 = ../../shaders/base/reflection.slang -scale_type44 = viewport -alias44 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader45 = ../../shaders/base/combine-passes.slang -scale_type45 = viewport -alias45 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp index f184414..5322890 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp @@ -1,405 +1,2 @@ -shaders = 46 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -shader17 = ../../shaders/base/stock.slang -alias17 = "PreCRTPass" - -shader18 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -alias18 = "AfterglowPass" - -shader19 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear19 = true -scale_type19 = source -mipmap_input19 = true -scale19 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader20 = ../../shaders/dogway/hsm-grade.slang -filter_linear20 = false -scale_type20 = source -scale20 = 1.0 -alias20 = "ColorCorrectPass" - -shader21 = ../../shaders/base/stock.slang -alias21 = "PrePass0" - -shader22 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear22 = false -float_framebuffer22 = true -scale_type_x22 = source -scale_type_y22 = source -scale_x22 = 4.0 -scale_y22 = 1.0 -frame_count_mod22 = 2 -alias22 = NPass1 - -shader23 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer23 = true -filter_linear23 = true -scale_type23 = source -scale_x23 = 0.5 -scale_y23 = 1.0 - -shader24 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 - -shader25 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear25 = true -scale_type25 = source -scale_x25 = 1.0 -scale_y25 = 1.0 - -shader26 = ../../shaders/base/stock.slang -filter_linear26 = true -scale_type26 = source -scale_x26 = 1.0 -scale_y26 = 1.0 -alias26 = "PrePass" -mipmap_input26 = true - -shader27 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear27 = true -scale_type27 = source -scale27 = 1.0 -mipmap_input27 = true -alias27 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader28 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear28 = true -scale_type28 = source -scale28 = 1.0 -float_framebuffer28 = true -alias28 = "LinearizePass" - -shader29 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear29 = true -scale_type_x29 = viewport -scale_x29 = 1.0 -scale_type_y29 = source -scale_y29 = 1.0 -float_framebuffer29 = true -alias29 = Pass1 - -shader30 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear30 = true -scale_type_x30 = absolute -scale_x30 = 640.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true - -shader31 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear31 = true -scale_type_x31 = absolute -scale_x31 = 640.0 -scale_type_y31 = absolute -scale_y31 = 480.0 -float_framebuffer31 = true -alias31 = GlowPass - -shader32 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear32 = true -scale_type_x32 = absolute -scale_x32 = 640.0 -scale_type_y32 = absolute -scale_y32 = 480.0 -float_framebuffer32 = true - -shader33 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear33 = true -scale_type_x33 = absolute -scale_x33 = 640.0 -scale_type_y33 = absolute -scale_y33 = 480.0 -float_framebuffer33 = true -alias33 = BloomPass - -shader34 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear34 = true -scale_type34 = viewport -scale_x34 = 1.0 -scale_y34 = 1.0 -float_framebuffer34 = true - -shader35 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear35 = true -scale_type35 = viewport -scale_x35 = 1.0 -scale_y35 = 1.0 -float_framebuffer35 = true -alias35 = "CRTPass" - -shader36 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input36 = true -scale_type36 = viewport -float_framebuffer36 = true -alias36 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader37 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear37 = true -scale_type37 = viewport -float_framebuffer37 = true -alias37 = "BR_LayersUnderCRTPass" - -shader38 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear38 = true -scale_type38 = viewport -float_framebuffer38 = true -alias38 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader39 = ../../shaders/base/linearize-crt.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -// scale_x39 = 480 -// scale_y39 = 270 -// scale_x39 = 960 -// scale_y39 = 540 -scale_x39 = 800 -scale_y39 = 600 -float_framebuffer39 = true -alias39 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader40 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input40 = true -filter_linear40 = true -float_framebuffer40 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader41 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear41 = true -float_framebuffer41 = true -alias41 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader42 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input42 = true -filter_linear42 = true -scale_type42 = absolute -scale_x42 = 128 -scale_y42 = 128 -float_framebuffer42 = true -alias42 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader43 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input43 = true -filter_linear43 = true -scale_type43 = absolute -scale_x43 = 12 -scale_y43 = 12 -float_framebuffer43 = true -alias43 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader44 = ../../shaders/base/reflection.slang -scale_type44 = viewport -alias44 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader45 = ../../shaders/base/combine-passes.slang -scale_type45 = viewport -alias45 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..3dd9459 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp new file mode 100644 index 0000000..645c7fd --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..e27e9a2 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-1080p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-1080p.slangp index a1fa3f0..f3ad37f 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-1080p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-1080p.slangp @@ -1,377 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 1440 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 1440 -scale_y2 = 1080 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-1080p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-224p.slangp index 077ce93..76c67b3 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-224p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-224p.slangp @@ -1,377 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 224 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-224p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-240p.slangp index 2ae0610..264f3ab 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-240p.slangp @@ -1,377 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp index 97233fc..b4aa9a4 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp @@ -1,398 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 400 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 400 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// 3DS Parameters -HSM_FLIP_VIEWPORT_VERTICAL = 1 -HSM_ASPECT_RATIO_MODE = 5 -HSM_INT_SCALE_MODE = 0 -HSM_NON_INTEGER_SCALE = 88.888 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_DUALSCREEN_MODE = 1 -HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 -HSM_2ND_SCREEN_CROP_PERCENT_LEFT = "10" -HSM_2ND_SCREEN_CROP_PERCENT_RIGHT = "10" -HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8" - -HSM_CURVATURE_MODE = 0 -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 - -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-480p.slangp index 6c1f719..82eecfa 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-480p.slangp @@ -1,377 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp index e833254..10c4b18 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp @@ -1,393 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 256 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 256 -scale_y2 = 384 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NDS Parameters -HSM_ASPECT_RATIO_MODE = 5 - -HSM_INT_SCALE_MODE = 0 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_DUALSCREEN_MODE = 1 - -HSM_CURVATURE_MODE = 0 - -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp index c80790c..c93cb3d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp @@ -1,391 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 480 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 480 -scale_y2 = 272 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// PSP Parameters -HSM_ASPECT_RATIO_MODE = 5 - -HSM_INT_SCALE_MODE = 0 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_CURVATURE_MODE = 0 - -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp index 0d88c27..37a8940 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp @@ -1,391 +1,2 @@ -shaders = 43 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 960 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 960 -scale_y2 = 544 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear27 = true -scale_type_x27 = absolute -scale_x27 = 800.0 -scale_type_y27 = source -scale_y27 = 1.0 -float_framebuffer27 = true - -shader28 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear28 = true -scale_type_x28 = absolute -scale_x28 = 800.0 -scale_type_y28 = absolute -scale_y28 = 600.0 -float_framebuffer28 = true -alias28 = GlowPass - -shader29 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear29 = true -scale_type_x29 = absolute -scale_x29 = 800.0 -scale_type_y29 = absolute -scale_y29 = 600.0 -float_framebuffer29 = true - -shader30 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear30 = true -scale_type_x30 = source -scale_x30 = 1.0 -scale_type_y30 = source -scale_y30 = 1.0 -float_framebuffer30 = true -alias30 = BloomPass - -shader31 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear31 = true -scale_type31 = viewport -scale_x31 = 1.0 -scale_y31 = 1.0 -float_framebuffer31 = true - -shader32 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear32 = true -scale_type32 = viewport -scale_x32 = 1.0 -scale_y32 = 1.0 -float_framebuffer32 = true -alias32 = "CRTPass" - -shader33 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input33 = true -scale_type33 = viewport -float_framebuffer33 = true -alias33 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader34 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear34 = true -scale_type34 = viewport -float_framebuffer34 = true -alias34 = "BR_LayersUnderCRTPass" - -shader35 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear35 = true -scale_type35 = viewport -float_framebuffer35 = true -alias35 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader36 = ../../shaders/base/linearize-crt.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -// scale_x36 = 480 -// scale_y36 = 270 -// scale_x36 = 960 -// scale_y36 = 540 -scale_x36 = 800 -scale_y36 = 600 -float_framebuffer36 = true -alias36 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader37 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input37 = true -filter_linear37 = true -float_framebuffer37 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader38 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear38 = true -float_framebuffer38 = true -alias38 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader39 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input39 = true -filter_linear39 = true -scale_type39 = absolute -scale_x39 = 128 -scale_y39 = 128 -float_framebuffer39 = true -alias39 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader40 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input40 = true -filter_linear40 = true -scale_type40 = absolute -scale_x40 = 12 -scale_y40 = 12 -float_framebuffer40 = true -alias40 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader41 = ../../shaders/base/reflection.slang -scale_type41 = viewport -alias41 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader42 = ../../shaders/base/combine-passes.slang -scale_type42 = viewport -alias42 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// PSP Parameters -HSM_ASPECT_RATIO_MODE = 5 - -HSM_INT_SCALE_MODE = 0 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_CURVATURE_MODE = 0 - -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp new file mode 100644 index 0000000..ca4a317 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp new file mode 100644 index 0000000..409e853 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp new file mode 100644 index 0000000..4ee244b --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..f20fd12 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp new file mode 100644 index 0000000..04a384c --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..df3f526 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp index fc8b27b..69e34a4 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp @@ -1,359 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 400 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 400 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-adv.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/base/delinearize.slang -float_framebuffer27 = "true" - -shader28 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear28 = "false" -scale_type28 = "viewport" -scale28 = "1.0" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader30 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersUnderCRTPass" - -shader31 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader32 = ../../shaders/base/linearize-crt.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -// scale_x32 = 480 -// scale_y32 = 270 -// scale_x32 = 960 -// scale_y32 = 540 -scale_x32 = 800 -scale_y32 = 600 -float_framebuffer32 = true -alias32 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input33 = true -filter_linear33 = true -float_framebuffer33 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear34 = true -float_framebuffer34 = true -alias34 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 128 -scale_y35 = 128 -float_framebuffer35 = true -alias35 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 12 -scale_y36 = 12 -float_framebuffer36 = true -alias36 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader37 = ../../shaders/base/reflection.slang -scale_type37 = viewport -alias37 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// 3DS Parameters -HSM_FLIP_VIEWPORT_VERTICAL = 1 -HSM_ASPECT_RATIO_MODE = 5 -HSM_INT_SCALE_MODE = 0 -HSM_NON_INTEGER_SCALE = 88.888 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_DUALSCREEN_MODE = 1 -HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 -HSM_2ND_SCREEN_CROP_PERCENT_LEFT = "10" -HSM_2ND_SCREEN_CROP_PERCENT_RIGHT = "10" -HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8" - -HSM_CURVATURE_MODE = 0 -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 - -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp index 3ea12dc..1065f8b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp @@ -1,354 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 256 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 256 -scale_y2 = 384 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-adv.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/base/delinearize.slang -float_framebuffer27 = "true" - -shader28 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear28 = "false" -scale_type28 = "viewport" -scale28 = "1.0" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader30 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersUnderCRTPass" - -shader31 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader32 = ../../shaders/base/linearize-crt.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -// scale_x32 = 480 -// scale_y32 = 270 -// scale_x32 = 960 -// scale_y32 = 540 -scale_x32 = 800 -scale_y32 = 600 -float_framebuffer32 = true -alias32 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input33 = true -filter_linear33 = true -float_framebuffer33 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear34 = true -float_framebuffer34 = true -alias34 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 128 -scale_y35 = 128 -float_framebuffer35 = true -alias35 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 12 -scale_y36 = 12 -float_framebuffer36 = true -alias36 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader37 = ../../shaders/base/reflection.slang -scale_type37 = viewport -alias37 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NDS Parameters -HSM_ASPECT_RATIO_MODE = 5 - -HSM_INT_SCALE_MODE = 0 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_DUALSCREEN_MODE = 1 - -HSM_CURVATURE_MODE = 0 - -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp index 802573a..f739fe6 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp @@ -1,352 +1,2 @@ -shaders = 39 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 480 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 480 -scale_y2 = 272 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-adv.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/dedither/dedither-gamma-prep-1-before.slang -alias7 = LinearGamma - -shader8 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang -filter_linear8 = false -scale_type8 = source -scale8 = 1.0 - -shader9 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang -filter_linear9 = false -scale_type9 = source -scale9 = 1.0 - -shader10 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = CB_Output - -shader11 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 - -shader12 = ../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang -filter_linear12 = false - -shader13 = ../../shaders/dedither/dedither-gamma-prep-2-after.slang - -shader14 = ../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang - -shader15 = ../../shaders/guest/extras/hsm-g-sharp_resampler.slang -alias15 = "DeditherPass" - -shader16 = ../../shaders/guest/extras/hsm-sharpsmoother.slang -// alias16 = "DeditherPass" - -// GTU TV Processing -shader17 = ../../shaders/gtu/hsm-gtu-pass1.slang -scale_type17 = source -scale17 = 1.0 -float_framebuffer17 = true - -shader18 = ../../shaders/gtu/hsm-gtu-pass2.slang -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -filter_linear18 = false -float_framebuffer18 = true - -shader19 = ../../shaders/base/stock.slang -alias19 = "PreCRTPass" - -shader20 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear20 = true -scale_type20 = source -scale20 = 1.0 -alias20 = "AfterglowPass" - -shader21 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear21 = true -scale_type21 = source -mipmap_input21 = true -scale21 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader22 = ../../shaders/dogway/hsm-grade.slang -filter_linear22 = false -scale_type22 = source -scale22 = 1.0 -alias22 = "ColorCorrectPass" - -shader23 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear23 = true -scale_type23 = source -scale_x23 = 1.0 -scale_y23 = 1.0 - -shader24 = ../../shaders/base/stock.slang -filter_linear24 = true -scale_type24 = source -scale_x24 = 1.0 -scale_y24 = 1.0 -alias24 = "PrePass" -mipmap_input24 = true - -shader25 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear25 = true -scale_type25 = source -scale25 = 1.0 -mipmap_input25 = true -alias25 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader26 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear26 = true -scale_type26 = source -scale26 = 1.0 -float_framebuffer26 = true -alias26 = "LinearizePass" - -shader27 = ../../shaders/base/delinearize.slang -float_framebuffer27 = "true" - -shader28 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear28 = "false" -scale_type28 = "viewport" -scale28 = "1.0" -float_framebuffer28 = "true" -alias28 = "CRTPass" - -shader29 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader30 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear30 = true -scale_type30 = viewport -float_framebuffer30 = true -alias30 = "BR_LayersUnderCRTPass" - -shader31 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear31 = true -scale_type31 = viewport -float_framebuffer31 = true -alias31 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader32 = ../../shaders/base/linearize-crt.slang -mipmap_input32 = true -filter_linear32 = true -scale_type32 = absolute -// scale_x32 = 480 -// scale_y32 = 270 -// scale_x32 = 960 -// scale_y32 = 540 -scale_x32 = 800 -scale_y32 = 600 -float_framebuffer32 = true -alias32 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader33 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input33 = true -filter_linear33 = true -float_framebuffer33 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader34 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear34 = true -float_framebuffer34 = true -alias34 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader35 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input35 = true -filter_linear35 = true -scale_type35 = absolute -scale_x35 = 128 -scale_y35 = 128 -float_framebuffer35 = true -alias35 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader36 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input36 = true -filter_linear36 = true -scale_type36 = absolute -scale_x36 = 12 -scale_y36 = 12 -float_framebuffer36 = true -alias36 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader37 = ../../shaders/base/reflection.slang -scale_type37 = viewport -alias37 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader38 = ../../shaders/base/combine-passes.slang -scale_type38 = viewport -alias38 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// PSP Parameters -HSM_ASPECT_RATIO_MODE = 5 - -HSM_INT_SCALE_MODE = 0 -HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 - -HSM_CURVATURE_MODE = 0 - -HSM_GLOBAL_CORNER_RADIUS = 4 -HSM_TUBE_BLACK_EDGE_THICKNESS = 50 -HSM_BZL_WIDTH = 160 -HSM_BZL_HEIGHT = 150 -HSM_FRM_THICKNESS = 100 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp index d4dd829..2c84fe0 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp @@ -1,325 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/base/stock.slang -alias12 = "PrePass0" - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear13 = false -float_framebuffer13 = true -scale_type_x13 = source -scale_type_y13 = source -scale_x13 = 4.0 -scale_y13 = 1.0 -frame_count_mod13 = 2 -alias13 = NPass1 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer14 = true -filter_linear14 = true -scale_type14 = source -scale_x14 = 0.5 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 - -shader17 = ../../shaders/base/stock.slang -filter_linear17 = true -scale_type17 = source -scale_x17 = 1.0 -scale_y17 = 1.0 -alias17 = "PrePass" -mipmap_input17 = true - -shader18 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -mipmap_input18 = true -alias18 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader19 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -float_framebuffer19 = true -alias19 = "LinearizePass" - -shader20 = ../../shaders/base/delinearize.slang -scale_type20 = source -float_framebuffer20 = "true" - -shader21 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -filter_linear21 = true -float_framebuffer21 = "true" -alias21 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" +#reference "Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp index f309c7c..a9449e8 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp @@ -1,328 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/base/stock.slang -alias12 = "PrePass0" - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear13 = false -float_framebuffer13 = true -scale_type_x13 = source -scale_type_y13 = source -scale_x13 = 4.0 -scale_y13 = 1.0 -frame_count_mod13 = 2 -alias13 = NPass1 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer14 = true -filter_linear14 = true -scale_type14 = source -scale_x14 = 0.5 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 - -shader17 = ../../shaders/base/stock.slang -filter_linear17 = true -scale_type17 = source -scale_x17 = 1.0 -scale_y17 = 1.0 -alias17 = "PrePass" -mipmap_input17 = true - -shader18 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -mipmap_input18 = true -alias18 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader19 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -float_framebuffer19 = true -alias19 = "LinearizePass" - -shader20 = ../../shaders/base/delinearize.slang -scale_type20 = source -float_framebuffer20 = "true" - -shader21 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -filter_linear21 = true -float_framebuffer21 = "true" -alias21 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..ba2245f --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..bdb6a7c --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp index 5269a09..2356264 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp @@ -1,292 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 1440 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 1440 -scale_y2 = 1080 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -scale_type16 = source -float_framebuffer16 = "true" - -shader17 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type17 = viewport -scale_x17 = 1.0 -scale_y17 = 1.0 -filter_linear17 = true -float_framebuffer17 = "true" -alias17 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp index 92dcabc..f8eeb25 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp @@ -1,292 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -scale_type16 = source -float_framebuffer16 = "true" - -shader17 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type17 = viewport -scale_x17 = 1.0 -scale_y17 = 1.0 -filter_linear17 = true -float_framebuffer17 = "true" -alias17 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp index 47d3aeb..da17c9a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp @@ -1,295 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -scale_type16 = source -float_framebuffer16 = "true" - -shader17 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang -scale_type17 = viewport -scale_x17 = 1.0 -scale_y17 = 1.0 -filter_linear17 = true -float_framebuffer17 = "true" -alias17 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..528fec4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..2cd3f90 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..70a31aa --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp index e999725..8389881 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp @@ -1,371 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/base/stock.slang -alias12 = "PrePass0" - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear13 = false -float_framebuffer13 = true -scale_type_x13 = source -scale_type_y13 = source -scale_x13 = 4.0 -scale_y13 = 1.0 -frame_count_mod13 = 2 -alias13 = NPass1 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer14 = true -filter_linear14 = true -scale_type14 = source -scale_x14 = 0.5 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 - -shader17 = ../../shaders/base/stock.slang -filter_linear17 = true -scale_type17 = source -scale_x17 = 1.0 -scale_y17 = 1.0 -alias17 = "PrePass" -mipmap_input17 = true - -shader18 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -mipmap_input18 = true -alias18 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader19 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -float_framebuffer19 = true -alias19 = "LinearizePass" - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear20 = true -scale_type_x20 = viewport -scale_x20 = 1.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = Pass1 - -shader21 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = source -scale_y21 = 1.0 -float_framebuffer21 = true - -shader22 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true -alias22 = GlowPass - -shader23 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true - -shader24 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear24 = true -scale_type_x24 = absolute -scale_x24 = 640.0 -scale_type_y24 = absolute -scale_y24 = 480.0 -float_framebuffer24 = true -alias24 = BloomPass - -shader25 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true - -shader26 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear26 = true -scale_type26 = viewport -scale_x26 = 1.0 -scale_y26 = 1.0 -float_framebuffer26 = true -alias26 = "CRTPass" - -shader27 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input27 = true -scale_type27 = viewport -float_framebuffer27 = true -alias27 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader28 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "BR_LayersUnderCRTPass" - -shader29 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader30 = ../../shaders/base/linearize-crt.slang -mipmap_input30 = true -filter_linear30 = true -scale_type30 = absolute -// scale_x30 = 480 -// scale_y30 = 270 -// scale_x30 = 960 -// scale_y30 = 540 -scale_x30 = 800 -scale_y30 = 600 -float_framebuffer30 = true -alias30 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input31 = true -filter_linear31 = true -float_framebuffer31 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear32 = true -float_framebuffer32 = true -alias32 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 128 -scale_y33 = 128 -float_framebuffer33 = true -alias33 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 12 -scale_y34 = 12 -float_framebuffer34 = true -alias34 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader35 = ../../shaders/base/reflection.slang -scale_type35 = viewport -alias35 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/combine-passes.slang -scale_type36 = viewport -alias36 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp index 488c4f4..f17c636 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp @@ -1,371 +1,2 @@ -shaders = 37 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/base/stock.slang -alias12 = "PrePass0" - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear13 = false -float_framebuffer13 = true -scale_type_x13 = source -scale_type_y13 = source -scale_x13 = 4.0 -scale_y13 = 1.0 -frame_count_mod13 = 2 -alias13 = NPass1 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer14 = true -filter_linear14 = true -scale_type14 = source -scale_x14 = 0.5 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 - -shader17 = ../../shaders/base/stock.slang -filter_linear17 = true -scale_type17 = source -scale_x17 = 1.0 -scale_y17 = 1.0 -alias17 = "PrePass" -mipmap_input17 = true - -shader18 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -mipmap_input18 = true -alias18 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader19 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear19 = true -scale_type19 = source -scale19 = 1.0 -float_framebuffer19 = true -alias19 = "LinearizePass" - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear20 = true -scale_type_x20 = viewport -scale_x20 = 1.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = Pass1 - -shader21 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = source -scale_y21 = 1.0 -float_framebuffer21 = true - -shader22 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true -alias22 = GlowPass - -shader23 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true - -shader24 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear24 = true -scale_type_x24 = absolute -scale_x24 = 640.0 -scale_type_y24 = absolute -scale_y24 = 480.0 -float_framebuffer24 = true -alias24 = BloomPass - -shader25 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true - -shader26 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear26 = true -scale_type26 = viewport -scale_x26 = 1.0 -scale_y26 = 1.0 -float_framebuffer26 = true -alias26 = "CRTPass" - -shader27 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input27 = true -scale_type27 = viewport -float_framebuffer27 = true -alias27 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader28 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear28 = true -scale_type28 = viewport -float_framebuffer28 = true -alias28 = "BR_LayersUnderCRTPass" - -shader29 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear29 = true -scale_type29 = viewport -float_framebuffer29 = true -alias29 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader30 = ../../shaders/base/linearize-crt.slang -mipmap_input30 = true -filter_linear30 = true -scale_type30 = absolute -// scale_x30 = 480 -// scale_y30 = 270 -// scale_x30 = 960 -// scale_y30 = 540 -scale_x30 = 800 -scale_y30 = 600 -float_framebuffer30 = true -alias30 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader31 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input31 = true -filter_linear31 = true -float_framebuffer31 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader32 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear32 = true -float_framebuffer32 = true -alias32 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader33 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input33 = true -filter_linear33 = true -scale_type33 = absolute -scale_x33 = 128 -scale_y33 = 128 -float_framebuffer33 = true -alias33 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader34 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input34 = true -filter_linear34 = true -scale_type34 = absolute -scale_x34 = 12 -scale_y34 = 12 -float_framebuffer34 = true -alias34 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader35 = ../../shaders/base/reflection.slang -scale_type35 = viewport -alias35 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader36 = ../../shaders/base/combine-passes.slang -scale_type36 = viewport -alias36 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..d5f9405 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..c729037 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-1080p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-1080p.slangp index 2b6ac7f..cbdf022 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-1080p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-1080p.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 1440 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 1440 -scale_y2 = 1080 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-1080p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-224p.slangp index f3d08d4..b839624 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-224p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-224p.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 224 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-224p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-240p.slangp index 4f9c48f..df4c89a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-240p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-240p.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 320 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 320 -scale_y2 = 240 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp index 4763d5a..7ddc111 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 1600 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 1600 -scale_y2 = 1920 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp index afd94d2..5de06ca 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 400 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 400 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-480p.slangp index c0a11a2..54b956d 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-480p.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp index 43d856a..73ec093 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 1280 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 1280 -scale_y2 = 1920 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp index 49b8ca1..5c22e15 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 256 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 256 -scale_y2 = 384 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp index 62eed98..5da2772 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 480 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 480 -scale_y2 = 272 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp index 9f9316c..20a4784 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp @@ -1,329 +1,2 @@ -shaders = 32 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 960 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 960 -scale_y2 = 544 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = source -scale_y16 = 1.0 -float_framebuffer16 = true - -shader17 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true -alias17 = GlowPass - -shader18 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear18 = true -scale_type_x18 = absolute -scale_x18 = 800.0 -scale_type_y18 = absolute -scale_y18 = 600.0 -float_framebuffer18 = true - -shader19 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear19 = true -scale_type_x19 = source -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = BloomPass - -shader20 = ../../shaders/guest/hsm-crt-guest-advanced.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear21 = true -scale_type21 = viewport -scale_x21 = 1.0 -scale_y21 = 1.0 -float_framebuffer21 = true -alias21 = "CRTPass" - -shader22 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input22 = true -scale_type22 = viewport -float_framebuffer22 = true -alias22 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader23 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear23 = true -scale_type23 = viewport -float_framebuffer23 = true -alias23 = "BR_LayersUnderCRTPass" - -shader24 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear24 = true -scale_type24 = viewport -float_framebuffer24 = true -alias24 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader25 = ../../shaders/base/linearize-crt.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -// scale_x25 = 480 -// scale_y25 = 270 -// scale_x25 = 960 -// scale_y25 = 540 -scale_x25 = 800 -scale_y25 = 600 -float_framebuffer25 = true -alias25 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader26 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input26 = true -filter_linear26 = true -float_framebuffer26 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader27 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear27 = true -float_framebuffer27 = true -alias27 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader28 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input28 = true -filter_linear28 = true -scale_type28 = absolute -scale_x28 = 128 -scale_y28 = 128 -float_framebuffer28 = true -alias28 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader29 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input29 = true -filter_linear29 = true -scale_type29 = absolute -scale_x29 = 12 -scale_y29 = 12 -float_framebuffer29 = true -alias29 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader30 = ../../shaders/base/reflection.slang -scale_type30 = viewport -alias30 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader31 = ../../shaders/base/combine-passes.slang -scale_type31 = viewport -alias31 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp new file mode 100644 index 0000000..6064b07 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp new file mode 100644 index 0000000..14a8437 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..0f78670 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp new file mode 100644 index 0000000..9fdb476 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..d81e566 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..387b728 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp index 68610d6..6dc9654 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp @@ -1,290 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 400 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 400 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -float_framebuffer16 = "true" - -shader17 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear17 = "false" -scale_type17 = "viewport" -scale17 = "1.0" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp index bc6b7af..6f835d2 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp @@ -1,290 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 256 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 256 -scale_y2 = 384 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -float_framebuffer16 = "true" - -shader17 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear17 = "false" -scale_type17 = "viewport" -scale17 = "1.0" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp index cf37ff1..67edc65 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp @@ -1,290 +1,2 @@ -shaders = 28 - -shader0 = ../../shaders/base/add-params-all.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 480 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 480 -scale_y2 = 272 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-all-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-std.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "DeditherPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PreCRTPass" - -shader9 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -alias9 = "AfterglowPass" - -shader10 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear10 = true -scale_type10 = source -mipmap_input10 = true -scale10 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader11 = ../../shaders/dogway/hsm-grade.slang -filter_linear11 = false -scale_type11 = source -scale11 = 1.0 -alias11 = "ColorCorrectPass" - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -float_framebuffer16 = "true" - -shader17 = ../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang -filter_linear17 = "false" -scale_type17 = "viewport" -scale17 = "1.0" -float_framebuffer17 = "true" -alias17 = "CRTPass" - -shader18 = ../../shaders/base/post-crt-prep-image-layers.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" - -// Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- - -shader19 = ../../shaders/base/bezel-images-under-crt.slang -filter_linear19 = true -scale_type19 = viewport -float_framebuffer19 = true -alias19 = "BR_LayersUnderCRTPass" - -shader20 = ../../shaders/base/bezel-images-over-crt.slang -filter_linear20 = true -scale_type20 = viewport -float_framebuffer20 = true -alias20 = "BR_LayersOverCRTPass" - -// Reduce Resolution ---------------------------------------------------------------- -// Reduce the resolution to a small static size regardless of final resolution -// Allows consistent look and faster at different final resolutions for blur -// Mipmap option allows downscaling without artifacts -shader21 = ../../shaders/base/linearize-crt.slang -mipmap_input21 = true -filter_linear21 = true -scale_type21 = absolute -// scale_x21 = 480 -// scale_y21 = 270 -// scale_x21 = 960 -// scale_y21 = 540 -scale_x21 = 800 -scale_y21 = 600 -float_framebuffer21 = true -alias21 = "BR_MirrorLowResPass" - -// Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- -shader22 = ../../shaders/base/blur-outside-screen-horiz.slang -mipmap_input22 = true -filter_linear22 = true -float_framebuffer22 = true - -// Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- -shader23 = ../../shaders/base/blur-outside-screen-vert.slang -filter_linear23 = true -float_framebuffer23 = true -alias23 = "BR_MirrorBlurredPass" - -// Reduce resolution ---------------------------------------------------------------- -// Reduced to a very small amount so we can create a blur which will create a glow from the screen -// Mipmap option allows smoother downscaling -shader24 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input24 = true -filter_linear24 = true -scale_type24 = absolute -scale_x24 = 128 -scale_y24 = 128 -float_framebuffer24 = true -alias24 = "BR_MirrorReflectionDiffusedPass" - -// Add Diffused glow all around the screen ---------------------------------------------------------------- -// Blurred so much that it's non directional -// Mipmap option allows downscaling without artifacts -shader25 = ../../../../blurs/shaders/royale/blur9x9.slang -mipmap_input25 = true -filter_linear25 = true -scale_type25 = absolute -scale_x25 = 12 -scale_y25 = 12 -float_framebuffer25 = true -alias25 = "BR_MirrorFullscreenGlowPass" - -// Bezel Reflection ---------------------------------------------------------------- -shader26 = ../../shaders/base/reflection.slang -scale_type26 = viewport -alias26 = "ReflectionPass" - -// Combine Passes ---------------------------------------------------------------- -shader27 = ../../shaders/base/combine-passes.slang -scale_type27 = viewport -alias27 = "CombinePass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -IntroImage = ../../shaders/textures/IntroImage_MegaBezelLogo.png -IntroImage_linear = true -IntroImage_mipmap = 1 - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -TubeDiffuseImage = ../../shaders/textures/Tube_Diffuse_2390x1792.png -TubeDiffuseImage_linear = true -TubeDiffuseImage_mipmap = 1 - -TubeColoredGelImage = ../../shaders/textures/Colored_Gel_Rainbow.png -TubeColoredGelImage_linear = true -TubeColoredGelImage_mipmap = 1 - -TubeShadowImage = ../../shaders/textures/Tube_Shadow_1600x1200.png -TubeShadowImage_linear = true -TubeShadowImage_mipmap = 1 - -TubeStaticReflectionImage = ../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png -TubeStaticReflectionImage_linear = true -TubeStaticReflectionImage_mipmap = 1 - -ReflectionMaskImage = ../../shaders/textures/Placeholder_White_16x16.png -ReflectionMaskImage_linear = true -ReflectionMaskImage_mipmap = 1 - -FrameTextureImage = ../../shaders/textures/FrameTexture_2800x2120.png -FrameTextureImage_linear = true -FrameTextureImage_mipmap = 1 - -BackgroundImage = ../../shaders/textures/BackgroundImage_Carbon_3840x2160.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -CabinetGlassImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -CabinetGlassImage_linear = true -CabinetGlassImage_mipmap = 1 - -DeviceImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceImage_linear = true -DeviceImage_mipmap = 1 - -DeviceVertImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceVertImage_linear = true -DeviceVertImage_mipmap = 1 - -DeviceLEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DeviceLEDImage_linear = true -DeviceLEDImage_mipmap = 1 - -DecalImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -DecalImage_linear = true -DecalImage_mipmap = 1 - -NightLightingImage = ../../shaders/textures/NightLightingClose_1920x1080.png -NightLightingImage_linear = true -NightLightingImage_mipmap = 1 - -NightLighting2Image = ../../shaders/textures/NightLightingFar_1920x1080.png -NightLighting2Image_linear = true -NightLighting2Image_mipmap = 1 - -LEDImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -LEDImage_linear = true -LEDImage_mipmap = 1 - -TopLayerImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -TopLayerImage_linear = true -TopLayerImage_mipmap = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// DREZ Parameters -SHARPEN = 0 +#reference "Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp new file mode 100644 index 0000000..4a3020c --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp index 9d31c34..e475db0 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp @@ -1,162 +1,2 @@ -shaders = 19 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro-potato.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader7 = ../../shaders/dogway/hsm-grade.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 -alias7 = "ColorCorrectPass" - -shader8 = ../../shaders/base/stock.slang -alias8 = "PrePass0" - -shader9 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear9 = false -float_framebuffer9 = true -scale_type_x9 = source -scale_type_y9 = source -scale_x9 = 4.0 -scale_y9 = 1.0 -frame_count_mod9 = 2 -alias9 = NPass1 - -shader10 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer10 = true -filter_linear10 = true -scale_type10 = source -scale_x10 = 0.5 -scale_y10 = 1.0 - -shader11 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 - -shader13 = ../../shaders/base/stock.slang -filter_linear13 = true -scale_type13 = source -scale_x13 = 1.0 -scale_y13 = 1.0 -alias13 = "PrePass" -mipmap_input13 = true - -shader14 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -mipmap_input14 = true -alias14 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader15 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear15 = true -scale_type15 = source -scale15 = 1.0 -float_framebuffer15 = true -alias15 = "LinearizePass" - -shader16 = ../../shaders/base/delinearize.slang -scale_type16 = source -float_framebuffer16 = "true" - -shader17 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang -scale_type17 = viewport -scale_x17 = 1.0 -scale_y17 = 1.0 -filter_linear17 = true -float_framebuffer17 = "true" -alias17 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader18 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input18 = true -scale_type18 = viewport -float_framebuffer18 = true -alias18 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" -// hcrt_gamma_in = "2.250000" -// hcrt_gamma_out = "2.250000" +#reference "Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..204740e --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp index b7cc689..1d6c33b 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp @@ -1,123 +1,2 @@ -shaders = 14 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro-potato.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader7 = ../../shaders/dogway/hsm-grade.slang -filter_linear7 = false -scale_type7 = source -scale7 = 1.0 -alias7 = "ColorCorrectPass" - -shader8 = ../../shaders/base/stock.slang -filter_linear8 = true -scale_type8 = source -scale_x8 = 1.0 -scale_y8 = 1.0 -alias8 = "PrePass" -mipmap_input8 = true - -shader9 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear9 = true -scale_type9 = source -scale9 = 1.0 -mipmap_input9 = true -alias9 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader10 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear10 = true -scale_type10 = source -scale10 = 1.0 -float_framebuffer10 = true -alias10 = "LinearizePass" - -shader11 = ../../shaders/base/delinearize.slang -scale_type11 = source -float_framebuffer11 = "true" - -shader12 = ../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang -scale_type12 = viewport -scale_x12 = 1.0 -scale_y12 = 1.0 -filter_linear12 = true -float_framebuffer12 = "true" -alias12 = "CRTPass" - -g_sat = 0.15 -g_gamma_out = 2.45 - -shader13 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input13 = true -scale_type13 = viewport -float_framebuffer13 = true -alias13 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// hcrt_gamma_in = "2.250000" -// hcrt_gamma_out = "2.250000" +#reference "Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..c321e13 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp index d3af01b..fefa9e5 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp @@ -1,229 +1,2 @@ -shaders = 27 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro-potato.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/base/stock.slang -alias11 = "PrePass0" - -shader12 = ../../shaders/guest/ntsc/hsm-ntsc-pass1.slang -filter_linear12 = false -float_framebuffer12 = true -scale_type_x12 = source -scale_type_y12 = source -scale_x12 = 4.0 -scale_y12 = 1.0 -frame_count_mod12 = 2 -alias12 = NPass1 - -shader13 = ../../shaders/guest/ntsc/hsm-ntsc-pass2.slang -float_framebuffer13 = true -filter_linear13 = true -scale_type13 = source -scale_x13 = 0.5 -scale_y13 = 1.0 - -shader14 = ../../shaders/guest/ntsc/hsm-ntsc-pass3.slang -filter_linear14 = true -scale_type14 = source -scale_x14 = 1.0 -scale_y14 = 1.0 - -shader15 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear15 = true -scale_type15 = source -scale_x15 = 1.0 -scale_y15 = 1.0 - -shader16 = ../../shaders/base/stock.slang -filter_linear16 = true -scale_type16 = source -scale_x16 = 1.0 -scale_y16 = 1.0 -alias16 = "PrePass" -mipmap_input16 = true - -shader17 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear17 = true -scale_type17 = source -scale17 = 1.0 -mipmap_input17 = true -alias17 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader18 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear18 = true -scale_type18 = source -scale18 = 1.0 -float_framebuffer18 = true -alias18 = "LinearizePass" - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang -filter_linear19 = true -scale_type_x19 = viewport -scale_x19 = 1.0 -scale_type_y19 = source -scale_y19 = 1.0 -float_framebuffer19 = true -alias19 = Pass1 - -shader20 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear20 = true -scale_type_x20 = absolute -scale_x20 = 640.0 -scale_type_y20 = source -scale_y20 = 1.0 -float_framebuffer20 = true - -shader21 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear21 = true -scale_type_x21 = absolute -scale_x21 = 640.0 -scale_type_y21 = absolute -scale_y21 = 480.0 -float_framebuffer21 = true -alias21 = GlowPass - -shader22 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear22 = true -scale_type_x22 = absolute -scale_x22 = 640.0 -scale_type_y22 = absolute -scale_y22 = 480.0 -float_framebuffer22 = true - -shader23 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear23 = true -scale_type_x23 = absolute -scale_x23 = 640.0 -scale_type_y23 = absolute -scale_y23 = 480.0 -float_framebuffer23 = true -alias23 = BloomPass - -shader24 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang -filter_linear24 = true -scale_type24 = viewport -scale_x24 = 1.0 -scale_y24 = 1.0 -float_framebuffer24 = true - -shader25 = ../../shaders/guest/hsm-deconvergence.slang -filter_linear25 = true -scale_type25 = viewport -scale_x25 = 1.0 -scale_y25 = 1.0 -float_framebuffer25 = true -alias25 = "CRTPass" - -shader26 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input26 = true -scale_type26 = viewport -float_framebuffer26 = true -alias26 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 - -// NTSC Parameters -GAMMA_INPUT = 2.0 -gamma_out = 1.95 -HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" -h_sharp = "15.000000" -s_sharp = "1.500000" -// hcrt_gamma_in = "2.250000" -// hcrt_gamma_out = "2.250000" +#reference "Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..c833ac0 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..b07db75 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-480p.slangp index 30e8e32..4d4a40a 100644 --- a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-480p.slangp @@ -1,187 +1,2 @@ -shaders = 22 - -shader0 = ../../shaders/base/add-params-potato.slang -alias0 = "CorePass" - -shader1 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-x.slang -filter_linear1 = false -scale_type_x1 = absolute -scale_x1 = 640 -scale_type_y1 = viewport -scaley0 = 1.0 -wrap_mode1 = "clamp_to_edge" - -shader2 = ../../shaders/hyllian/cubic/hsm-drez-b-spline-y.slang -filter_linear2 = false -scale_type2 = absolute -scale_x2 = 640 -scale_y2 = 480 -wrap_mode2 = "clamp_to_edge" -alias2 = "DerezedPass" - -shader3 = ../../shaders/base/add-negative-crop-area.slang -filter_linear3 = false -mipmap_input3 = false -srgb_framebuffer3 = true -scale_type3 = source -scale_x3 = 1 -scale_y3 = 1 -alias3 = "NegativeCropAddedPass" - -shader4 = ../../shaders/base/cache-info-screen-scale-params.slang -filter_linear4 = false -scale_type4 = source -scale4 = 1.0 -alias4 = "InfoCachePass" - -shader5 = ../../shaders/base/text-potato.slang -filter_linear5 = false -float_framebuffer5 = true -scale_type5 = source -scale5 = 1.0 -alias5 = "TextPass" - -shader6 = ../../shaders/base/intro-potato.slang -filter_linear6 = false -float_framebuffer6 = true -scale_type6 = source -scale6 = 1.0 -alias6 = "IntroPass" - -shader7 = ../../shaders/base/stock.slang -alias7 = "PreCRTPass" - -shader8 = ../../shaders/guest/hsm-afterglow0.slang -filter_linear8 = true -scale_type8 = source -scale8 = 1.0 -alias8 = "AfterglowPass" - -shader9 = ../../shaders/guest/hsm-pre-shaders-afterglow.slang -filter_linear9 = true -scale_type9 = source -mipmap_input9 = true -scale9 = 1.0 - -// Color Correction with Dogway's awesome Grade shader -// Grade is after Afterglow so that brightening the black level does not break the afterglow -shader10 = ../../shaders/dogway/hsm-grade.slang -filter_linear10 = false -scale_type10 = source -scale10 = 1.0 -alias10 = "ColorCorrectPass" - -shader11 = ../../shaders/guest/hsm-custom-fast-sharpen.slang -filter_linear11 = true -scale_type11 = source -scale_x11 = 1.0 -scale_y11 = 1.0 - -shader12 = ../../shaders/base/stock.slang -filter_linear12 = true -scale_type12 = source -scale_x12 = 1.0 -scale_y12 = 1.0 -alias12 = "PrePass" -mipmap_input12 = true - -shader13 = ../../shaders/guest/hsm-avg-lum.slang -filter_linear13 = true -scale_type13 = source -scale13 = 1.0 -mipmap_input13 = true -alias13 = "AvgLumPass" - -// Pass referenced by subsequent blurring passes and crt pass -shader14 = ../../shaders/guest/hsm-interlace-and-linearize.slang -filter_linear14 = true -scale_type14 = source -scale14 = 1.0 -float_framebuffer14 = true -alias14 = "LinearizePass" - -shader15 = ../../shaders/guest/hsm-gaussian_horizontal.slang -filter_linear15 = true -scale_type_x15 = absolute -scale_x15 = 800.0 -scale_type_y15 = source -scale_y15 = 1.0 -float_framebuffer15 = true - -shader16 = ../../shaders/guest/hsm-gaussian_vertical.slang -filter_linear16 = true -scale_type_x16 = absolute -scale_x16 = 800.0 -scale_type_y16 = absolute -scale_y16 = 600.0 -float_framebuffer16 = true -alias16 = GlowPass - -shader17 = ../../shaders/guest/hsm-bloom_horizontal.slang -filter_linear17 = true -scale_type_x17 = absolute -scale_x17 = 800.0 -scale_type_y17 = absolute -scale_y17 = 600.0 -float_framebuffer17 = true - -shader18 = ../../shaders/guest/hsm-bloom_vertical.slang -filter_linear18 = true -scale_type_x18 = source -scale_x18 = 1.0 -scale_type_y18 = source -scale_y18 = 1.0 -float_framebuffer18 = true -alias18 = BloomPass - -shader19 = ../../shaders/guest/hsm-crt-guest-advanced-potato.slang -filter_linear19 = true -scale_type19 = viewport -scale_x19 = 1.0 -scale_y19 = 1.0 -float_framebuffer19 = true - -shader20 = ../../shaders/guest/hsm-deconvergence-potato.slang -filter_linear20 = true -scale_type20 = viewport -scale_x20 = 1.0 -scale_y20 = 1.0 -float_framebuffer20 = true -alias20 = "CRTPass" - -shader21 = ../../shaders/base/post-crt-prep-potato.slang -mipmap_input21 = true -scale_type21 = viewport -float_framebuffer21 = true -alias21 = "PostCRTPass" -// Define textures to be used by the different passes -textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" - -SamplerLUT1 = ../../shaders/guest/lut/trinitron-lut.png -SamplerLUT1_linear = true -SamplerLUT2 = ../../shaders/guest/lut/inv-trinitron-lut.png -SamplerLUT2_linear = true -SamplerLUT3 = ../../shaders/guest/lut/nec-lut.png -SamplerLUT3_linear = true -SamplerLUT4 = ../../shaders/guest/lut/ntsc-lut.png -SamplerLUT4_linear = true - -ScreenPlacementImage = ../../shaders/textures/Placeholder_Transparent_16x16.png -ScreenPlacementImage_linear = false - -BackgroundImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background.png -BackgroundImage_linear = true -BackgroundImage_mipmap = 1 - -BackgroundVertImage = ../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png -BackgroundVertImage_linear = true -BackgroundVertImage_mipmap = 1 - -// Parameters -HSM_ASPECT_RATIO_MODE = 1 - -// Use for matching vanilla GDV-Advanced -// HSM_ASPECT_RATIO_MODE = 6 -// HSM_CURVATURE_MODE = 0 -// hcrt_gamma_in = "2.250000" -// hcrt_gamma_out = "2.250000" +#reference "Root_Presets/MBZ__5__POTATO__GDV__DREZ-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..958783d --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..3c3ecfc --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,2 @@ +#reference "Root_Presets/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp" +#reference "../../resource/param_values/base/auto-settings.params" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp new file mode 100644 index 0000000..de217f7 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-240p.slangp @@ -0,0 +1,448 @@ +shaders = 51 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader44 = ../../../shaders/base/linearize-crt.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +# scale_x44 = 480 +# scale_y44 = 270 +# scale_x44 = 960 +# scale_y44 = 540 +scale_x44 = 800 +scale_y44 = 600 +float_framebuffer44 = true +alias44 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader45 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input45 = true +filter_linear45 = true +float_framebuffer45 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader46 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear46 = true +float_framebuffer46 = true +alias46 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader47 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input47 = true +filter_linear47 = true +scale_type47 = absolute +scale_x47 = 128 +scale_y47 = 128 +float_framebuffer47 = true +alias47 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader48 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input48 = true +filter_linear48 = true +scale_type48 = absolute +scale_x48 = 12 +scale_y48 = 12 +float_framebuffer48 = true +alias48 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader49 = ../../../shaders/base/reflection.slang +scale_type49 = viewport +alias49 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader50 = ../../../shaders/base/combine-passes.slang +scale_type50 = viewport +alias50 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp new file mode 100644 index 0000000..af3d803 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV-NTSC__DREZ-480p.slangp @@ -0,0 +1,448 @@ +shaders = 51 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +shader22 = ../../../shaders/base/stock.slang +alias22 = "PreCRTPass" + +shader23 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear23 = true +scale_type23 = source +scale23 = 1.0 +alias23 = "AfterglowPass" + +shader24 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear24 = true +scale_type24 = source +mipmap_input24 = true +scale24 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader25 = ../../../shaders/dogway/hsm-grade.slang +filter_linear25 = false +scale_type25 = source +scale25 = 1.0 +alias25 = "ColorCorrectPass" + +shader26 = ../../../shaders/base/stock.slang +alias26 = "PrePass0" + +shader27 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear27 = false +float_framebuffer27 = true +scale_type_x27 = source +scale_type_y27 = source +scale_x27 = 4.0 +scale_y27 = 1.0 +frame_count_mod27 = 2 +alias27 = NPass1 + +shader28 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer28 = true +filter_linear28 = true +scale_type28 = source +scale_x28 = 0.5 +scale_y28 = 1.0 + +shader29 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 + +shader30 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear30 = true +scale_type30 = source +scale_x30 = 1.0 +scale_y30 = 1.0 + +shader31 = ../../../shaders/base/stock.slang +filter_linear31 = true +scale_type31 = source +scale_x31 = 1.0 +scale_y31 = 1.0 +alias31 = "PrePass" +mipmap_input31 = true + +shader32 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear32 = true +scale_type32 = source +scale32 = 1.0 +mipmap_input32 = true +alias32 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader33 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear33 = true +scale_type33 = source +scale33 = 1.0 +float_framebuffer33 = true +alias33 = "LinearizePass" + +shader34 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear34 = true +scale_type_x34 = viewport +scale_x34 = 1.0 +scale_type_y34 = source +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = Pass1 + +shader35 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear35 = true +scale_type_x35 = absolute +scale_x35 = 640.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true + +shader36 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear36 = true +scale_type_x36 = absolute +scale_x36 = 640.0 +scale_type_y36 = absolute +scale_y36 = 480.0 +float_framebuffer36 = true +alias36 = GlowPass + +shader37 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear37 = true +scale_type_x37 = absolute +scale_x37 = 640.0 +scale_type_y37 = absolute +scale_y37 = 480.0 +float_framebuffer37 = true + +shader38 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear38 = true +scale_type_x38 = absolute +scale_x38 = 640.0 +scale_type_y38 = absolute +scale_y38 = 480.0 +float_framebuffer38 = true +alias38 = BloomPass + +shader39 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear39 = true +scale_type39 = viewport +scale_x39 = 1.0 +scale_y39 = 1.0 +float_framebuffer39 = true + +shader40 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear40 = true +scale_type40 = viewport +scale_x40 = 1.0 +scale_y40 = 1.0 +float_framebuffer40 = true +alias40 = "CRTPass" + +shader41 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input41 = true +scale_type41 = viewport +float_framebuffer41 = true +alias41 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader42 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear42 = true +scale_type42 = viewport +float_framebuffer42 = true +alias42 = "BR_LayersUnderCRTPass" + +shader43 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear43 = true +scale_type43 = viewport +float_framebuffer43 = true +alias43 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader44 = ../../../shaders/base/linearize-crt.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +# scale_x44 = 480 +# scale_y44 = 270 +# scale_x44 = 960 +# scale_y44 = 540 +scale_x44 = 800 +scale_y44 = 600 +float_framebuffer44 = true +alias44 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader45 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input45 = true +filter_linear45 = true +float_framebuffer45 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader46 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear46 = true +float_framebuffer46 = true +alias46 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader47 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input47 = true +filter_linear47 = true +scale_type47 = absolute +scale_x47 = 128 +scale_y47 = 128 +float_framebuffer47 = true +alias47 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader48 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input48 = true +filter_linear48 = true +scale_type48 = absolute +scale_x48 = 12 +scale_y48 = 12 +float_framebuffer48 = true +alias48 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader49 = ../../../shaders/base/reflection.slang +scale_type49 = viewport +alias49 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader50 = ../../../shaders/base/combine-passes.slang +scale_type50 = viewport +alias50 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp new file mode 100644 index 0000000..fbbf984 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-3DS-400x480.slangp @@ -0,0 +1,440 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 400 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = GlowPass + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = BloomPass + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader39 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersUnderCRTPass" + +shader40 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader41 = ../../../shaders/base/linearize-crt.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +# scale_x41 = 480 +# scale_y41 = 270 +# scale_x41 = 960 +# scale_y41 = 540 +scale_x41 = 800 +scale_y41 = 600 +float_framebuffer41 = true +alias41 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader42 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input42 = true +filter_linear42 = true +float_framebuffer42 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear43 = true +float_framebuffer43 = true +alias43 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader44 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +scale_x44 = 128 +scale_y44 = 128 +float_framebuffer44 = true +alias44 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 12 +scale_y45 = 12 +float_framebuffer45 = true +alias45 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader46 = ../../../shaders/base/reflection.slang +scale_type46 = viewport +alias46 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader47 = ../../../shaders/base/combine-passes.slang +scale_type47 = viewport +alias47 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# 3DS Parameters +HSM_FLIP_VIEWPORT_VERTICAL = 1 +HSM_ASPECT_RATIO_MODE = 5 +HSM_INT_SCALE_MODE = 0 +HSM_NON_INTEGER_SCALE = 88.888 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_DUALSCREEN_MODE = 1 +HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 +HSM_2ND_SCREEN_CROP_PERCENT_LEFT = "10" +HSM_2ND_SCREEN_CROP_PERCENT_RIGHT = "10" +HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8" + +HSM_CURVATURE_MODE = 0 +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 + +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp new file mode 100644 index 0000000..fb66b73 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__0__SMOOTH-ADV__GDV__DREZ-480p.slangp @@ -0,0 +1,419 @@ +shaders = 48 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = refpass + +shader17 = ../../../shaders/scalefx/hsm-scalefx-pass0.slang +filter_linear17 = false +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = scalefx_pass0 + +shader18 = ../../../shaders/scalefx/hsm-scalefx-pass1.slang +filter_linear18 = false +scale_type18 = source +scale18 = 1.0 +float_framebuffer12 = true + +shader19 = ../../../shaders/scalefx/hsm-scalefx-pass2.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 + +shader20 = ../../../shaders/scalefx/hsm-scalefx-pass3.slang +filter_linear20 = false +scale_type20 = source +scale20 = 1.0 + +shader21 = ../../../shaders/scalefx/hsm-scalefx-pass4.slang +filter_linear21 = false +scale_type21 = source +scale21 = 3 + +# GTU TV Processing +shader22 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type22 = source +scale22 = 1.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x23 = source +scale_x23 = 1.0 +scale_type_y23 = source +scale_y23 = 1.0 +filter_linear23 = false +float_framebuffer23 = true + +shader24 = ../../../shaders/base/stock.slang +alias24 = "PreCRTPass" + +shader25 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +alias25 = "AfterglowPass" + +shader26 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear26 = true +scale_type26 = source +mipmap_input26 = true +scale26 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader27 = ../../../shaders/dogway/hsm-grade.slang +filter_linear27 = false +scale_type27 = source +scale27 = 1.0 +alias27 = "ColorCorrectPass" + +shader28 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear28 = true +scale_type28 = source +scale_x28 = 1.0 +scale_y28 = 1.0 + +shader29 = ../../../shaders/base/stock.slang +filter_linear29 = true +scale_type29 = source +scale_x29 = 1.0 +scale_y29 = 1.0 +alias29 = "PrePass" +mipmap_input29 = true + +shader30 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear30 = true +scale_type30 = source +scale30 = 1.0 +mipmap_input30 = true +alias30 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader31 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear31 = true +scale_type31 = source +scale31 = 1.0 +float_framebuffer31 = true +alias31 = "LinearizePass" + +shader32 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 800.0 +scale_type_y32 = source +scale_y32 = 1.0 +float_framebuffer32 = true + +shader33 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear33 = true +scale_type_x33 = absolute +scale_x33 = 800.0 +scale_type_y33 = absolute +scale_y33 = 600.0 +float_framebuffer33 = true +alias33 = GlowPass + +shader34 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear34 = true +scale_type_x34 = absolute +scale_x34 = 800.0 +scale_type_y34 = absolute +scale_y34 = 600.0 +float_framebuffer34 = true + +shader35 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear35 = true +scale_type_x35 = source +scale_x35 = 1.0 +scale_type_y35 = source +scale_y35 = 1.0 +float_framebuffer35 = true +alias35 = BloomPass + +shader36 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear36 = true +scale_type36 = viewport +scale_x36 = 1.0 +scale_y36 = 1.0 +float_framebuffer36 = true + +shader37 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear37 = true +scale_type37 = viewport +scale_x37 = 1.0 +scale_y37 = 1.0 +float_framebuffer37 = true +alias37 = "CRTPass" + +shader38 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input38 = true +scale_type38 = viewport +float_framebuffer38 = true +alias38 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader39 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear39 = true +scale_type39 = viewport +float_framebuffer39 = true +alias39 = "BR_LayersUnderCRTPass" + +shader40 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear40 = true +scale_type40 = viewport +float_framebuffer40 = true +alias40 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader41 = ../../../shaders/base/linearize-crt.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +# scale_x41 = 480 +# scale_y41 = 270 +# scale_x41 = 960 +# scale_y41 = 540 +scale_x41 = 800 +scale_y41 = 600 +float_framebuffer41 = true +alias41 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader42 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input42 = true +filter_linear42 = true +float_framebuffer42 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader43 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear43 = true +float_framebuffer43 = true +alias43 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader44 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input44 = true +filter_linear44 = true +scale_type44 = absolute +scale_x44 = 128 +scale_y44 = 128 +float_framebuffer44 = true +alias44 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader45 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input45 = true +filter_linear45 = true +scale_type45 = absolute +scale_x45 = 12 +scale_y45 = 12 +float_framebuffer45 = true +alias45 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader46 = ../../../shaders/base/reflection.slang +scale_type46 = viewport +alias46 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader47 = ../../../shaders/base/combine-passes.slang +scale_type47 = viewport +alias47 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +# SMOOTH-ADV +SGPT_BLEND_OPTION = 1 + +HSM_SCALEFX_ON = 1 + +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = 600 +HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = 100 +HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = 0 +HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = 30 + +ntsc_scale = 0.33 + +# Lottes mask, a bit like a slot mask effect +shadowMask = 1 +mask_bloom = 0.3 + +# Mask Size is Auto, so it will look the same at 1080p and 4K +masksize = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp new file mode 100644 index 0000000..ee52993 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-240p.slangp @@ -0,0 +1,398 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp new file mode 100644 index 0000000..16e7273 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ-480p.slangp @@ -0,0 +1,398 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..04315a6 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,401 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp new file mode 100644 index 0000000..e0bcc0b --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-320p.slangp @@ -0,0 +1,401 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 320 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..06d7c21 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,401 @@ +shaders = 45 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +shader16 = ../../../shaders/base/stock.slang +alias16 = "PreCRTPass" + +shader17 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +alias17 = "AfterglowPass" + +shader18 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear18 = true +scale_type18 = source +mipmap_input18 = true +scale18 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader19 = ../../../shaders/dogway/hsm-grade.slang +filter_linear19 = false +scale_type19 = source +scale19 = 1.0 +alias19 = "ColorCorrectPass" + +shader20 = ../../../shaders/base/stock.slang +alias20 = "PrePass0" + +shader21 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear21 = false +float_framebuffer21 = true +scale_type_x21 = source +scale_type_y21 = source +scale_x21 = 4.0 +scale_y21 = 1.0 +frame_count_mod21 = 2 +alias21 = NPass1 + +shader22 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer22 = true +filter_linear22 = true +scale_type22 = source +scale_x22 = 0.5 +scale_y22 = 1.0 + +shader23 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 + +shader24 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear24 = true +scale_type24 = source +scale_x24 = 1.0 +scale_y24 = 1.0 + +shader25 = ../../../shaders/base/stock.slang +filter_linear25 = true +scale_type25 = source +scale_x25 = 1.0 +scale_y25 = 1.0 +alias25 = "PrePass" +mipmap_input25 = true + +shader26 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear26 = true +scale_type26 = source +scale26 = 1.0 +mipmap_input26 = true +alias26 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader27 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear27 = true +scale_type27 = source +scale27 = 1.0 +float_framebuffer27 = true +alias27 = "LinearizePass" + +shader28 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear28 = true +scale_type_x28 = viewport +scale_x28 = 1.0 +scale_type_y28 = source +scale_y28 = 1.0 +float_framebuffer28 = true +alias28 = Pass1 + +shader29 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear29 = true +scale_type_x29 = absolute +scale_x29 = 640.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true + +shader30 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear30 = true +scale_type_x30 = absolute +scale_x30 = 640.0 +scale_type_y30 = absolute +scale_y30 = 480.0 +float_framebuffer30 = true +alias30 = GlowPass + +shader31 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear31 = true +scale_type_x31 = absolute +scale_x31 = 640.0 +scale_type_y31 = absolute +scale_y31 = 480.0 +float_framebuffer31 = true + +shader32 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear32 = true +scale_type_x32 = absolute +scale_x32 = 640.0 +scale_type_y32 = absolute +scale_y32 = 480.0 +float_framebuffer32 = true +alias32 = BloomPass + +shader33 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear33 = true +scale_type33 = viewport +scale_x33 = 1.0 +scale_y33 = 1.0 +float_framebuffer33 = true + +shader34 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear34 = true +scale_type34 = viewport +scale_x34 = 1.0 +scale_y34 = 1.0 +float_framebuffer34 = true +alias34 = "CRTPass" + +shader35 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input35 = true +scale_type35 = viewport +float_framebuffer35 = true +alias35 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader36 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear36 = true +scale_type36 = viewport +float_framebuffer36 = true +alias36 = "BR_LayersUnderCRTPass" + +shader37 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear37 = true +scale_type37 = viewport +float_framebuffer37 = true +alias37 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader38 = ../../../shaders/base/linearize-crt.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +# scale_x38 = 480 +# scale_y38 = 270 +# scale_x38 = 960 +# scale_y38 = 540 +scale_x38 = 800 +scale_y38 = 600 +float_framebuffer38 = true +alias38 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader39 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input39 = true +filter_linear39 = true +float_framebuffer39 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader40 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear40 = true +float_framebuffer40 = true +alias40 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader41 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input41 = true +filter_linear41 = true +scale_type41 = absolute +scale_x41 = 128 +scale_y41 = 128 +float_framebuffer41 = true +alias41 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader42 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input42 = true +filter_linear42 = true +scale_type42 = absolute +scale_x42 = 12 +scale_y42 = 12 +float_framebuffer42 = true +alias42 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader43 = ../../../shaders/base/reflection.slang +scale_type43 = viewport +alias43 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader44 = ../../../shaders/base/combine-passes.slang +scale_type44 = viewport +alias44 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-1080p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-1080p.slangp new file mode 100644 index 0000000..9e969a0 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-1080p.slangp @@ -0,0 +1,370 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 1440 +scale_type_y1 = absolute +scale_y1 = 1080 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-224p.slangp new file mode 100644 index 0000000..3668b94 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-224p.slangp @@ -0,0 +1,370 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 224 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-240p.slangp new file mode 100644 index 0000000..5ddb983 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-240p.slangp @@ -0,0 +1,370 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp new file mode 100644 index 0000000..fb81ae4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-3DS-400x480.slangp @@ -0,0 +1,391 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 400 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# 3DS Parameters +HSM_FLIP_VIEWPORT_VERTICAL = 1 +HSM_ASPECT_RATIO_MODE = 5 +HSM_INT_SCALE_MODE = 0 +HSM_NON_INTEGER_SCALE = 88.888 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_DUALSCREEN_MODE = 1 +HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 +HSM_2ND_SCREEN_CROP_PERCENT_LEFT = "10" +HSM_2ND_SCREEN_CROP_PERCENT_RIGHT = "10" +HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8" + +HSM_CURVATURE_MODE = 0 +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 + +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-480p.slangp new file mode 100644 index 0000000..1720198 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-480p.slangp @@ -0,0 +1,370 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp new file mode 100644 index 0000000..bc6ddcf --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-NDS-256x384.slangp @@ -0,0 +1,386 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 256 +scale_type_y1 = absolute +scale_y1 = 384 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NDS Parameters +HSM_ASPECT_RATIO_MODE = 5 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_DUALSCREEN_MODE = 1 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp new file mode 100644 index 0000000..52f4c31 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-480x272.slangp @@ -0,0 +1,384 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 480 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# PSP Parameters +HSM_ASPECT_RATIO_MODE = 5 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp new file mode 100644 index 0000000..b43aed9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP-960x544.slangp @@ -0,0 +1,384 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 960 +scale_type_y1 = absolute +scale_y1 = 544 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# PSP Parameters +HSM_ASPECT_RATIO_MODE = 5 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp new file mode 100644 index 0000000..5e98817 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-272p.slangp @@ -0,0 +1,384 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 + +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp new file mode 100644 index 0000000..b9523d5 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ-PSP_X-VIEWPORT_Y-544p.slangp @@ -0,0 +1,384 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 544 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 + +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp new file mode 100644 index 0000000..025d92c --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-224p.slangp @@ -0,0 +1,372 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 224 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..890ee18 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,372 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp new file mode 100644 index 0000000..f4257e2 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-320p.slangp @@ -0,0 +1,372 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 320 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..cae3dd3 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__GDV__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,372 @@ +shaders = 42 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear26 = true +scale_type_x26 = absolute +scale_x26 = 800.0 +scale_type_y26 = source +scale_y26 = 1.0 +float_framebuffer26 = true + +shader27 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear27 = true +scale_type_x27 = absolute +scale_x27 = 800.0 +scale_type_y27 = absolute +scale_y27 = 600.0 +float_framebuffer27 = true +alias27 = GlowPass + +shader28 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear28 = true +scale_type_x28 = absolute +scale_x28 = 800.0 +scale_type_y28 = absolute +scale_y28 = 600.0 +float_framebuffer28 = true + +shader29 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear29 = true +scale_type_x29 = source +scale_x29 = 1.0 +scale_type_y29 = source +scale_y29 = 1.0 +float_framebuffer29 = true +alias29 = BloomPass + +shader30 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear30 = true +scale_type30 = viewport +scale_x30 = 1.0 +scale_y30 = 1.0 +float_framebuffer30 = true + +shader31 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear31 = true +scale_type31 = viewport +scale_x31 = 1.0 +scale_y31 = 1.0 +float_framebuffer31 = true +alias31 = "CRTPass" + +shader32 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input32 = true +scale_type32 = viewport +float_framebuffer32 = true +alias32 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader33 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear33 = true +scale_type33 = viewport +float_framebuffer33 = true +alias33 = "BR_LayersUnderCRTPass" + +shader34 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear34 = true +scale_type34 = viewport +float_framebuffer34 = true +alias34 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader35 = ../../../shaders/base/linearize-crt.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +# scale_x35 = 480 +# scale_y35 = 270 +# scale_x35 = 960 +# scale_y35 = 540 +scale_x35 = 800 +scale_y35 = 600 +float_framebuffer35 = true +alias35 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader36 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input36 = true +filter_linear36 = true +float_framebuffer36 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader37 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear37 = true +float_framebuffer37 = true +alias37 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader38 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input38 = true +filter_linear38 = true +scale_type38 = absolute +scale_x38 = 128 +scale_y38 = 128 +float_framebuffer38 = true +alias38 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader39 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input39 = true +filter_linear39 = true +scale_type39 = absolute +scale_x39 = 12 +scale_y39 = 12 +float_framebuffer39 = true +alias39 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader40 = ../../../shaders/base/reflection.slang +scale_type40 = viewport +alias40 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader41 = ../../../shaders/base/combine-passes.slang +scale_type41 = viewport +alias41 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp new file mode 100644 index 0000000..3771dc4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-3DS-400x480.slangp @@ -0,0 +1,352 @@ +shaders = 38 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 400 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +float_framebuffer26 = "true" + +shader27 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear27 = "false" +scale_type27 = "viewport" +scale27 = "1.0" +float_framebuffer27 = "true" +alias27 = "CRTPass" + +shader28 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader29 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "BR_LayersUnderCRTPass" + +shader30 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection.slang +scale_type36 = viewport +alias36 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader37 = ../../../shaders/base/combine-passes.slang +scale_type37 = viewport +alias37 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# 3DS Parameters +HSM_FLIP_VIEWPORT_VERTICAL = 1 +HSM_ASPECT_RATIO_MODE = 5 +HSM_INT_SCALE_MODE = 0 +HSM_NON_INTEGER_SCALE = 88.888 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_DUALSCREEN_MODE = 1 +HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 +HSM_2ND_SCREEN_CROP_PERCENT_LEFT = "10" +HSM_2ND_SCREEN_CROP_PERCENT_RIGHT = "10" +HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8" + +HSM_CURVATURE_MODE = 0 +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 + +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp new file mode 100644 index 0000000..50455a2 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp @@ -0,0 +1,347 @@ +shaders = 38 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 256 +scale_type_y1 = absolute +scale_y1 = 384 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +float_framebuffer26 = "true" + +shader27 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear27 = "false" +scale_type27 = "viewport" +scale27 = "1.0" +float_framebuffer27 = "true" +alias27 = "CRTPass" + +shader28 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader29 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "BR_LayersUnderCRTPass" + +shader30 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection.slang +scale_type36 = viewport +alias36 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader37 = ../../../shaders/base/combine-passes.slang +scale_type37 = viewport +alias37 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NDS Parameters +HSM_ASPECT_RATIO_MODE = 5 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_DUALSCREEN_MODE = 1 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp new file mode 100644 index 0000000..6079f51 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__1__ADV__LCD-GRID__DREZ-PSP-480x272.slangp @@ -0,0 +1,345 @@ +shaders = 38 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 480 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-adv.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/dedither/dedither-gamma-prep-1-before.slang +alias6 = LinearGamma + +shader7 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass1.slang +filter_linear7 = false +scale_type7 = source +scale7 = 1.0 + +shader8 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass2.slang +filter_linear8 = false +scale_type8 = source +scale8 = 1.0 + +shader9 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass3.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = CB_Output + +shader10 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass4.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 + +shader11 = ../../../shaders/hyllian/sgenpt-mix/sgenpt-mix-pass5.slang +filter_linear11 = false + +shader12 = ../../../shaders/dedither/dedither-gamma-prep-2-after.slang + +shader13 = ../../../shaders/ps1dither/hsm-PS1-Undither-BoxBlur.slang + +shader14 = ../../../shaders/guest/extras/hsm-g-sharp_resampler.slang +alias14 = "DeditherPass" + +shader15 = ../../../shaders/guest/extras/hsm-sharpsmoother.slang +# alias15 = "DeditherPass" + +# GTU TV Processing +shader16 = ../../../shaders/gtu/hsm-gtu-pass1.slang +scale_type16 = source +scale16 = 1.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/gtu/hsm-gtu-pass2.slang +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +filter_linear17 = false +float_framebuffer17 = true + +shader18 = ../../../shaders/base/stock.slang +alias18 = "PreCRTPass" + +shader19 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear19 = true +scale_type19 = source +scale19 = 1.0 +alias19 = "AfterglowPass" + +shader20 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear20 = true +scale_type20 = source +mipmap_input20 = true +scale20 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader21 = ../../../shaders/dogway/hsm-grade.slang +filter_linear21 = false +scale_type21 = source +scale21 = 1.0 +alias21 = "ColorCorrectPass" + +shader22 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear22 = true +scale_type22 = source +scale_x22 = 1.0 +scale_y22 = 1.0 + +shader23 = ../../../shaders/base/stock.slang +filter_linear23 = true +scale_type23 = source +scale_x23 = 1.0 +scale_y23 = 1.0 +alias23 = "PrePass" +mipmap_input23 = true + +shader24 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear24 = true +scale_type24 = source +scale24 = 1.0 +mipmap_input24 = true +alias24 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader25 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear25 = true +scale_type25 = source +scale25 = 1.0 +float_framebuffer25 = true +alias25 = "LinearizePass" + +shader26 = ../../../shaders/base/delinearize.slang +float_framebuffer26 = "true" + +shader27 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear27 = "false" +scale_type27 = "viewport" +scale27 = "1.0" +float_framebuffer27 = "true" +alias27 = "CRTPass" + +shader28 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader29 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear29 = true +scale_type29 = viewport +float_framebuffer29 = true +alias29 = "BR_LayersUnderCRTPass" + +shader30 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear30 = true +scale_type30 = viewport +float_framebuffer30 = true +alias30 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader31 = ../../../shaders/base/linearize-crt.slang +mipmap_input31 = true +filter_linear31 = true +scale_type31 = absolute +# scale_x31 = 480 +# scale_y31 = 270 +# scale_x31 = 960 +# scale_y31 = 540 +scale_x31 = 800 +scale_y31 = 600 +float_framebuffer31 = true +alias31 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader32 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input32 = true +filter_linear32 = true +float_framebuffer32 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader33 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear33 = true +float_framebuffer33 = true +alias33 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader34 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input34 = true +filter_linear34 = true +scale_type34 = absolute +scale_x34 = 128 +scale_y34 = 128 +float_framebuffer34 = true +alias34 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader35 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input35 = true +filter_linear35 = true +scale_type35 = absolute +scale_x35 = 12 +scale_y35 = 12 +float_framebuffer35 = true +alias35 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader36 = ../../../shaders/base/reflection.slang +scale_type36 = viewport +alias36 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader37 = ../../../shaders/base/combine-passes.slang +scale_type37 = viewport +alias37 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# PSP Parameters +HSM_ASPECT_RATIO_MODE = 5 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp new file mode 100644 index 0000000..c8e3ca4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-240p.slangp @@ -0,0 +1,321 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp new file mode 100644 index 0000000..54893d4 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ-480p.slangp @@ -0,0 +1,321 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..3b037d9 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,324 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..18aa7eb --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,324 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/base/delinearize.slang +scale_type19 = source +float_framebuffer19 = "true" + +shader20 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +filter_linear20 = true +float_framebuffer20 = "true" +alias20 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp new file mode 100644 index 0000000..e85e4a8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-1080p.slangp @@ -0,0 +1,285 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 1440 +scale_type_y1 = absolute +scale_y1 = 1080 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp new file mode 100644 index 0000000..096dc3a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-240p.slangp @@ -0,0 +1,285 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp new file mode 100644 index 0000000..cfc7dcf --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-480p.slangp @@ -0,0 +1,288 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..486f3e7 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ-VIEWPORT.slangp @@ -0,0 +1,285 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = viewport +scale_y1 = 1.0 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..c055d43 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,287 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..d4cbc76 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,290 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp new file mode 100644 index 0000000..cb6cd87 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-240p.slangp @@ -0,0 +1,364 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection.slang +scale_type34 = viewport +alias34 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp new file mode 100644 index 0000000..92a0297 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ-480p.slangp @@ -0,0 +1,364 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection.slang +scale_type34 = viewport +alias34 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..3c1bcbf --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,367 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection.slang +scale_type34 = viewport +alias34 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..9af8648 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,367 @@ +shaders = 36 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/base/stock.slang +alias11 = "PrePass0" + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear12 = false +float_framebuffer12 = true +scale_type_x12 = source +scale_type_y12 = source +scale_x12 = 4.0 +scale_y12 = 1.0 +frame_count_mod12 = 2 +alias12 = NPass1 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer13 = true +filter_linear13 = true +scale_type13 = source +scale_x13 = 0.5 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 + +shader16 = ../../../shaders/base/stock.slang +filter_linear16 = true +scale_type16 = source +scale_x16 = 1.0 +scale_y16 = 1.0 +alias16 = "PrePass" +mipmap_input16 = true + +shader17 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +mipmap_input17 = true +alias17 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader18 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear18 = true +scale_type18 = source +scale18 = 1.0 +float_framebuffer18 = true +alias18 = "LinearizePass" + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear19 = true +scale_type_x19 = viewport +scale_x19 = 1.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = Pass1 + +shader20 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = source +scale_y20 = 1.0 +float_framebuffer20 = true + +shader21 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true +alias21 = GlowPass + +shader22 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true + +shader23 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear23 = true +scale_type_x23 = absolute +scale_x23 = 640.0 +scale_type_y23 = absolute +scale_y23 = 480.0 +float_framebuffer23 = true +alias23 = BloomPass + +shader24 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true + +shader25 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear25 = true +scale_type25 = viewport +scale_x25 = 1.0 +scale_y25 = 1.0 +float_framebuffer25 = true +alias25 = "CRTPass" + +shader26 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input26 = true +scale_type26 = viewport +float_framebuffer26 = true +alias26 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader27 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear27 = true +scale_type27 = viewport +float_framebuffer27 = true +alias27 = "BR_LayersUnderCRTPass" + +shader28 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear28 = true +scale_type28 = viewport +float_framebuffer28 = true +alias28 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader29 = ../../../shaders/base/linearize-crt.slang +mipmap_input29 = true +filter_linear29 = true +scale_type29 = absolute +# scale_x29 = 480 +# scale_y29 = 270 +# scale_x29 = 960 +# scale_y29 = 540 +scale_x29 = 800 +scale_y29 = 600 +float_framebuffer29 = true +alias29 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader30 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input30 = true +filter_linear30 = true +float_framebuffer30 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader31 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear31 = true +float_framebuffer31 = true +alias31 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader32 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input32 = true +filter_linear32 = true +scale_type32 = absolute +scale_x32 = 128 +scale_y32 = 128 +float_framebuffer32 = true +alias32 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader33 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input33 = true +filter_linear33 = true +scale_type33 = absolute +scale_x33 = 12 +scale_y33 = 12 +float_framebuffer33 = true +alias33 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader34 = ../../../shaders/base/reflection.slang +scale_type34 = viewport +alias34 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader35 = ../../../shaders/base/combine-passes.slang +scale_type35 = viewport +alias35 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-1080p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-1080p.slangp new file mode 100644 index 0000000..d32aecc --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-1080p.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 1440 +scale_type_y1 = absolute +scale_y1 = 1080 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-224p.slangp new file mode 100644 index 0000000..623b87a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-224p.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 224 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-240p.slangp new file mode 100644 index 0000000..4969cf2 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-240p.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 320 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp new file mode 100644 index 0000000..264c777 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-1600x1920.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 1600 +scale_type_y1 = absolute +scale_y1 = 1920 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp new file mode 100644 index 0000000..36285ad --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-3DS-400x480.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 400 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-480p.slangp new file mode 100644 index 0000000..592b78d --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-480p.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp new file mode 100644 index 0000000..a332bbf --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-1280x1920.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 1280 +scale_type_y1 = absolute +scale_y1 = 1920 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp new file mode 100644 index 0000000..d0cbce1 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-NDS-256x384.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 256 +scale_type_y1 = absolute +scale_y1 = 384 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp new file mode 100644 index 0000000..a7b98af --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-480x272.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 480 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp new file mode 100644 index 0000000..ea594c0 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP-960x544.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 960 +scale_type_y1 = absolute +scale_y1 = 544 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp new file mode 100644 index 0000000..aa50dc8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-272.slangp @@ -0,0 +1,336 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 + +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp new file mode 100644 index 0000000..0f59ede --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-PSP_X-VIEWPORT_Y-544.slangp @@ -0,0 +1,336 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 544 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 + +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 + +HSM_INT_SCALE_MODE = 0 +HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 + +HSM_CURVATURE_MODE = 0 + +HSM_GLOBAL_CORNER_RADIUS = 4 +HSM_TUBE_BLACK_EDGE_THICKNESS = 50 +HSM_BZL_WIDTH = 160 +HSM_BZL_HEIGHT = 150 +HSM_FRM_THICKNESS = 100 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..41547e6 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ-VIEWPORT.slangp @@ -0,0 +1,322 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = viewport +scale_y1 = 1.0 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp new file mode 100644 index 0000000..c3f32db --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-224p.slangp @@ -0,0 +1,324 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 224 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp new file mode 100644 index 0000000..7efb19a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-240p.slangp @@ -0,0 +1,324 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 240 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..41f4658 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__GDV__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,324 @@ +shaders = 31 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = source +scale_y15 = 1.0 +float_framebuffer15 = true + +shader16 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true +alias16 = GlowPass + +shader17 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear17 = true +scale_type_x17 = absolute +scale_x17 = 800.0 +scale_type_y17 = absolute +scale_y17 = 600.0 +float_framebuffer17 = true + +shader18 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear18 = true +scale_type_x18 = source +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = BloomPass + +shader19 = ../../../shaders/guest/hsm-crt-guest-advanced.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear20 = true +scale_type20 = viewport +scale_x20 = 1.0 +scale_y20 = 1.0 +float_framebuffer20 = true +alias20 = "CRTPass" + +shader21 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input21 = true +scale_type21 = viewport +float_framebuffer21 = true +alias21 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader22 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear22 = true +scale_type22 = viewport +float_framebuffer22 = true +alias22 = "BR_LayersUnderCRTPass" + +shader23 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear23 = true +scale_type23 = viewport +float_framebuffer23 = true +alias23 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader24 = ../../../shaders/base/linearize-crt.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +# scale_x24 = 480 +# scale_y24 = 270 +# scale_x24 = 960 +# scale_y24 = 540 +scale_x24 = 800 +scale_y24 = 600 +float_framebuffer24 = true +alias24 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader25 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input25 = true +filter_linear25 = true +float_framebuffer25 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader26 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear26 = true +float_framebuffer26 = true +alias26 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader27 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input27 = true +filter_linear27 = true +scale_type27 = absolute +scale_x27 = 128 +scale_y27 = 128 +float_framebuffer27 = true +alias27 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader28 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input28 = true +filter_linear28 = true +scale_type28 = absolute +scale_x28 = 12 +scale_y28 = 12 +float_framebuffer28 = true +alias28 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader29 = ../../../shaders/base/reflection.slang +scale_type29 = viewport +alias29 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader30 = ../../../shaders/base/combine-passes.slang +scale_type30 = viewport +alias30 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp new file mode 100644 index 0000000..45c2abc --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-3DS-400x480.slangp @@ -0,0 +1,283 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 400 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp new file mode 100644 index 0000000..c985725 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-NDS-256x384.slangp @@ -0,0 +1,283 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 256 +scale_type_y1 = absolute +scale_y1 = 384 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp new file mode 100644 index 0000000..b1e79c8 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP-480x272.slangp @@ -0,0 +1,283 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 480 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp new file mode 100644 index 0000000..d3b3ddc --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__3__STD__LCD-GRID__DREZ-PSP_X-VIEWPORT_Y-272.slangp @@ -0,0 +1,285 @@ +shaders = 27 + +shader0 = ../../../shaders/base/add-params-all.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 272 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-all-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-std.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "DeditherPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PreCRTPass" + +shader8 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +alias8 = "AfterglowPass" + +shader9 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear9 = true +scale_type9 = source +mipmap_input9 = true +scale9 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader10 = ../../../shaders/dogway/hsm-grade.slang +filter_linear10 = false +scale_type10 = source +scale10 = 1.0 +alias10 = "ColorCorrectPass" + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +float_framebuffer15 = "true" + +shader16 = ../../../shaders/lcd-cgwg/hsm-lcd-grid-v2.slang +filter_linear16 = "false" +scale_type16 = "viewport" +scale16 = "1.0" +float_framebuffer16 = "true" +alias16 = "CRTPass" + +shader17 = ../../../shaders/base/post-crt-prep-image-layers.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" + +# Bezel Generation & Composite of Image Layers ---------------------------------------------------------------- + +shader18 = ../../../shaders/base/bezel-images-under-crt.slang +filter_linear18 = true +scale_type18 = viewport +float_framebuffer18 = true +alias18 = "BR_LayersUnderCRTPass" + +shader19 = ../../../shaders/base/bezel-images-over-crt.slang +filter_linear19 = true +scale_type19 = viewport +float_framebuffer19 = true +alias19 = "BR_LayersOverCRTPass" + +# Reduce Resolution ---------------------------------------------------------------- +# Reduce the resolution to a small static size regardless of final resolution +# Allows consistent look and faster at different final resolutions for blur +# Mipmap option allows downscaling without artifacts +shader20 = ../../../shaders/base/linearize-crt.slang +mipmap_input20 = true +filter_linear20 = true +scale_type20 = absolute +# scale_x20 = 480 +# scale_y20 = 270 +# scale_x20 = 960 +# scale_y20 = 540 +scale_x20 = 800 +scale_y20 = 600 +float_framebuffer20 = true +alias20 = "BR_MirrorLowResPass" + +# Add Blur for the Reflection (Horizontal) ---------------------------------------------------------------- +shader21 = ../../../shaders/base/blur-outside-screen-horiz.slang +mipmap_input21 = true +filter_linear21 = true +float_framebuffer21 = true + +# Add Blur for the Reflection (Vertical) ---------------------------------------------------------------- +shader22 = ../../../shaders/base/blur-outside-screen-vert.slang +filter_linear22 = true +float_framebuffer22 = true +alias22 = "BR_MirrorBlurredPass" + +# Reduce resolution ---------------------------------------------------------------- +# Reduced to a very small amount so we can create a blur which will create a glow from the screen +# Mipmap option allows smoother downscaling +shader23 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input23 = true +filter_linear23 = true +scale_type23 = absolute +scale_x23 = 128 +scale_y23 = 128 +float_framebuffer23 = true +alias23 = "BR_MirrorReflectionDiffusedPass" + +# Add Diffused glow all around the screen ---------------------------------------------------------------- +# Blurred so much that it's non directional +# Mipmap option allows downscaling without artifacts +shader24 = ../../../../../blurs/shaders/royale/blur9x9.slang +mipmap_input24 = true +filter_linear24 = true +scale_type24 = absolute +scale_x24 = 12 +scale_y24 = 12 +float_framebuffer24 = true +alias24 = "BR_MirrorFullscreenGlowPass" + +# Bezel Reflection ---------------------------------------------------------------- +shader25 = ../../../shaders/base/reflection.slang +scale_type25 = viewport +alias25 = "ReflectionPass" + +# Combine Passes ---------------------------------------------------------------- +shader26 = ../../../shaders/base/combine-passes.slang +scale_type26 = viewport +alias26 = "CombinePass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;IntroImage;ScreenPlacementImage;TubeDiffuseImage;TubeColoredGelImage;TubeShadowImage;TubeStaticReflectionImage;BackgroundImage;BackgroundVertImage;ReflectionMaskImage;FrameTextureImage;CabinetGlassImage;DeviceImage;DeviceVertImage;DeviceLEDImage;DecalImage;NightLightingImage;NightLighting2Image;LEDImage;TopLayerImage;" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +IntroImage = ../../../shaders/textures/IntroImage_MegaBezelLogo.png +IntroImage_linear = true +IntroImage_mipmap = 1 + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +TubeDiffuseImage = ../../../shaders/textures/Tube_Diffuse_2390x1792.png +TubeDiffuseImage_linear = true +TubeDiffuseImage_mipmap = 1 + +TubeColoredGelImage = ../../../shaders/textures/Colored_Gel_Rainbow.png +TubeColoredGelImage_linear = true +TubeColoredGelImage_mipmap = 1 + +TubeShadowImage = ../../../shaders/textures/Tube_Shadow_1600x1200.png +TubeShadowImage_linear = true +TubeShadowImage_mipmap = 1 + +TubeStaticReflectionImage = ../../../shaders/textures/TubeGlassOverlayImageCropped_1440x1080.png +TubeStaticReflectionImage_linear = true +TubeStaticReflectionImage_mipmap = 1 + +ReflectionMaskImage = ../../../shaders/textures/Placeholder_White_16x16.png +ReflectionMaskImage_linear = true +ReflectionMaskImage_mipmap = 1 + +FrameTextureImage = ../../../shaders/textures/FrameTexture_2800x2120.png +FrameTextureImage_linear = true +FrameTextureImage_mipmap = 1 + +BackgroundImage = ../../../shaders/textures/BackgroundImage_Carbon_3840x2160.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +CabinetGlassImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +CabinetGlassImage_linear = true +CabinetGlassImage_mipmap = 1 + +DeviceImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceImage_linear = true +DeviceImage_mipmap = 1 + +DeviceVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceVertImage_linear = true +DeviceVertImage_mipmap = 1 + +DeviceLEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DeviceLEDImage_linear = true +DeviceLEDImage_mipmap = 1 + +DecalImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +DecalImage_linear = true +DecalImage_mipmap = 1 + +NightLightingImage = ../../../shaders/textures/NightLightingClose_1920x1080.png +NightLightingImage_linear = true +NightLightingImage_mipmap = 1 + +NightLighting2Image = ../../../shaders/textures/NightLightingFar_1920x1080.png +NightLighting2Image_linear = true +NightLighting2Image_mipmap = 1 + +LEDImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +LEDImage_linear = true +LEDImage_mipmap = 1 + +TopLayerImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +TopLayerImage_linear = true +TopLayerImage_mipmap = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp new file mode 100644 index 0000000..d40a0c1 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ-480p.slangp @@ -0,0 +1,153 @@ +shaders = 18 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader6 = ../../../shaders/dogway/hsm-grade.slang +filter_linear6 = false +scale_type6 = source +scale6 = 1.0 +alias6 = "ColorCorrectPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PrePass0" + +shader8 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear8 = false +float_framebuffer8 = true +scale_type_x8 = source +scale_type_y8 = source +scale_x8 = 4.0 +scale_y8 = 1.0 +frame_count_mod8 = 2 +alias8 = NPass1 + +shader9 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer9 = true +filter_linear9 = true +scale_type9 = source +scale_x9 = 0.5 +scale_y9 = 1.0 + +shader10 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..d657c1a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,166 @@ +shaders = 18 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader6 = ../../../shaders/dogway/hsm-grade.slang +filter_linear6 = false +scale_type6 = source +scale6 = 1.0 +alias6 = "ColorCorrectPass" + +shader7 = ../../../shaders/base/stock.slang +alias7 = "PrePass0" + +shader8 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear8 = false +float_framebuffer8 = true +scale_type_x8 = source +scale_type_y8 = source +scale_x8 = 4.0 +scale_y8 = 1.0 +frame_count_mod8 = 2 +alias8 = NPass1 + +shader9 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer9 = true +filter_linear9 = true +scale_type9 = source +scale_x9 = 0.5 +scale_y9 = 1.0 + +shader10 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 + +shader12 = ../../../shaders/base/stock.slang +filter_linear12 = true +scale_type12 = source +scale_x12 = 1.0 +scale_y12 = 1.0 +alias12 = "PrePass" +mipmap_input12 = true + +shader13 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +mipmap_input13 = true +alias13 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader14 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear14 = true +scale_type14 = source +scale14 = 1.0 +float_framebuffer14 = true +alias14 = "LinearizePass" + +shader15 = ../../../shaders/base/delinearize.slang +scale_type15 = source +float_framebuffer15 = "true" + +shader16 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type16 = viewport +scale_x16 = 1.0 +scale_y16 = 1.0 +filter_linear16 = true +float_framebuffer16 = "true" +alias16 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader17 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input17 = true +scale_type17 = viewport +float_framebuffer17 = true +alias17 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp new file mode 100644 index 0000000..2e77f14 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ-480p.slangp @@ -0,0 +1,114 @@ +shaders = 13 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader6 = ../../../shaders/dogway/hsm-grade.slang +filter_linear6 = false +scale_type6 = source +scale6 = 1.0 +alias6 = "ColorCorrectPass" + +shader7 = ../../../shaders/base/stock.slang +filter_linear7 = true +scale_type7 = source +scale_x7 = 1.0 +scale_y7 = 1.0 +alias7 = "PrePass" +mipmap_input7 = true + +shader8 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +mipmap_input8 = true +alias8 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader9 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear9 = true +scale_type9 = source +scale9 = 1.0 +float_framebuffer9 = true +alias9 = "LinearizePass" + +shader10 = ../../../shaders/base/delinearize.slang +scale_type10 = source +float_framebuffer10 = "true" + +shader11 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type11 = viewport +scale_x11 = 1.0 +scale_y11 = 1.0 +filter_linear11 = true +float_framebuffer11 = "true" +alias11 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader12 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input12 = true +scale_type12 = viewport +float_framebuffer12 = true +alias12 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..8759c26 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-MINI__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,119 @@ +shaders = 13 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader6 = ../../../shaders/dogway/hsm-grade.slang +filter_linear6 = false +scale_type6 = source +scale6 = 1.0 +alias6 = "ColorCorrectPass" + +shader7 = ../../../shaders/base/stock.slang +filter_linear7 = true +scale_type7 = source +scale_x7 = 1.0 +scale_y7 = 1.0 +alias7 = "PrePass" +mipmap_input7 = true + +shader8 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear8 = true +scale_type8 = source +scale8 = 1.0 +mipmap_input8 = true +alias8 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader9 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear9 = true +scale_type9 = source +scale9 = 1.0 +float_framebuffer9 = true +alias9 = "LinearizePass" + +shader10 = ../../../shaders/base/delinearize.slang +scale_type10 = source +float_framebuffer10 = "true" + +shader11 = ../../../shaders/guest/hsm-crt-dariusg-gdv-mini-potato.slang +scale_type11 = viewport +scale_x11 = 1.0 +scale_y11 = 1.0 +filter_linear11 = true +float_framebuffer11 = "true" +alias11 = "CRTPass" + +g_sat = 0.15 +g_gamma_out = 2.45 + +shader12 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input12 = true +scale_type12 = viewport +float_framebuffer12 = true +alias12 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp new file mode 100644 index 0000000..b7a3351 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-480p.slangp @@ -0,0 +1,220 @@ +shaders = 26 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/base/stock.slang +alias10 = "PrePass0" + +shader11 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear11 = false +float_framebuffer11 = true +scale_type_x11 = source +scale_type_y11 = source +scale_x11 = 4.0 +scale_y11 = 1.0 +frame_count_mod11 = 2 +alias11 = NPass1 + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer12 = true +filter_linear12 = true +scale_type12 = source +scale_x12 = 0.5 +scale_y12 = 1.0 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear13 = true +scale_type13 = source +scale_x13 = 1.0 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/base/stock.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 +alias15 = "PrePass" +mipmap_input15 = true + +shader16 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear16 = true +scale_type16 = source +scale16 = 1.0 +mipmap_input16 = true +alias16 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader17 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = "LinearizePass" + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear18 = true +scale_type_x18 = viewport +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = Pass1 + +shader19 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear19 = true +scale_type_x19 = absolute +scale_x19 = 640.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = absolute +scale_y20 = 480.0 +float_framebuffer20 = true +alias20 = GlowPass + +shader21 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true + +shader22 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true +alias22 = BloomPass + +shader23 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear23 = true +scale_type23 = viewport +scale_x23 = 1.0 +scale_y23 = 1.0 +float_framebuffer23 = true + +shader24 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true +alias24 = "CRTPass" + +shader25 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input25 = true +scale_type25 = viewport +float_framebuffer25 = true +alias25 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" +h_sharp = "15.000000" +s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..76bb09a --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ-VIEWPORT.slangp @@ -0,0 +1,223 @@ +shaders = 26 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = viewport +scale_y1 = 1.0 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/base/stock.slang +alias10 = "PrePass0" + +shader11 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear11 = false +float_framebuffer11 = true +scale_type_x11 = source +scale_type_y11 = source +scale_x11 = 4.0 +scale_y11 = 1.0 +frame_count_mod11 = 2 +alias11 = NPass1 + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer12 = true +filter_linear12 = true +scale_type12 = source +scale_x12 = 0.5 +scale_y12 = 1.0 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear13 = true +scale_type13 = source +scale_x13 = 1.0 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/base/stock.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 +alias15 = "PrePass" +mipmap_input15 = true + +shader16 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear16 = true +scale_type16 = source +scale16 = 1.0 +mipmap_input16 = true +alias16 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader17 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = "LinearizePass" + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear18 = true +scale_type_x18 = viewport +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = Pass1 + +shader19 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear19 = true +scale_type_x19 = absolute +scale_x19 = 640.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = absolute +scale_y20 = 480.0 +float_framebuffer20 = true +alias20 = GlowPass + +shader21 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true + +shader22 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true +alias22 = BloomPass + +shader23 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear23 = true +scale_type23 = viewport +scale_x23 = 1.0 +scale_y23 = 1.0 +float_framebuffer23 = true + +shader24 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true +alias24 = "CRTPass" + +shader25 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input25 = true +scale_type25 = viewport +float_framebuffer25 = true +alias25 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..8587d6c --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV-NTSC__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,226 @@ +shaders = 26 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/base/stock.slang +alias10 = "PrePass0" + +shader11 = ../../../shaders/guest/ntsc/hsm-ntsc-pass1.slang +filter_linear11 = false +float_framebuffer11 = true +scale_type_x11 = source +scale_type_y11 = source +scale_x11 = 4.0 +scale_y11 = 1.0 +frame_count_mod11 = 2 +alias11 = NPass1 + +shader12 = ../../../shaders/guest/ntsc/hsm-ntsc-pass2.slang +float_framebuffer12 = true +filter_linear12 = true +scale_type12 = source +scale_x12 = 0.5 +scale_y12 = 1.0 + +shader13 = ../../../shaders/guest/ntsc/hsm-ntsc-pass3.slang +filter_linear13 = true +scale_type13 = source +scale_x13 = 1.0 +scale_y13 = 1.0 + +shader14 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear14 = true +scale_type14 = source +scale_x14 = 1.0 +scale_y14 = 1.0 + +shader15 = ../../../shaders/base/stock.slang +filter_linear15 = true +scale_type15 = source +scale_x15 = 1.0 +scale_y15 = 1.0 +alias15 = "PrePass" +mipmap_input15 = true + +shader16 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear16 = true +scale_type16 = source +scale16 = 1.0 +mipmap_input16 = true +alias16 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader17 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear17 = true +scale_type17 = source +scale17 = 1.0 +float_framebuffer17 = true +alias17 = "LinearizePass" + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.slang +filter_linear18 = true +scale_type_x18 = viewport +scale_x18 = 1.0 +scale_type_y18 = source +scale_y18 = 1.0 +float_framebuffer18 = true +alias18 = Pass1 + +shader19 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear19 = true +scale_type_x19 = absolute +scale_x19 = 640.0 +scale_type_y19 = source +scale_y19 = 1.0 +float_framebuffer19 = true + +shader20 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear20 = true +scale_type_x20 = absolute +scale_x20 = 640.0 +scale_type_y20 = absolute +scale_y20 = 480.0 +float_framebuffer20 = true +alias20 = GlowPass + +shader21 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear21 = true +scale_type_x21 = absolute +scale_x21 = 640.0 +scale_type_y21 = absolute +scale_y21 = 480.0 +float_framebuffer21 = true + +shader22 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear22 = true +scale_type_x22 = absolute +scale_x22 = 640.0 +scale_type_y22 = absolute +scale_y22 = 480.0 +float_framebuffer22 = true +alias22 = BloomPass + +shader23 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear23 = true +scale_type23 = viewport +scale_x23 = 1.0 +scale_y23 = 1.0 +float_framebuffer23 = true + +shader24 = ../../../shaders/guest/hsm-deconvergence.slang +filter_linear24 = true +scale_type24 = viewport +scale_x24 = 1.0 +scale_y24 = 1.0 +float_framebuffer24 = true +alias24 = "CRTPass" + +shader25 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input25 = true +scale_type25 = viewport +float_framebuffer25 = true +alias25 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# NTSC Parameters +GAMMA_INPUT = 2.0 +gamma_out = 1.95 +h_sharp = "15.000000" +s_sharp = "1.500000" + +ntsc_scale = 0.33 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-480p.slangp new file mode 100644 index 0000000..7de6021 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-480p.slangp @@ -0,0 +1,178 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = absolute +scale_x1 = 640 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 +alias11 = "PrePass" +mipmap_input11 = true + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" + +shader14 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear14 = true +scale_type_x14 = absolute +scale_x14 = 800.0 +scale_type_y14 = source +scale_y14 = 1.0 +float_framebuffer14 = true + +shader15 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = absolute +scale_y15 = 600.0 +float_framebuffer15 = true +alias15 = GlowPass + +shader16 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear17 = true +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +float_framebuffer17 = true +alias17 = BloomPass + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear18 = true +scale_type18 = viewport +scale_x18 = 1.0 +scale_y18 = 1.0 +float_framebuffer18 = true + +shader19 = ../../../shaders/guest/hsm-deconvergence-potato.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = "CRTPass" + +shader20 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp new file mode 100644 index 0000000..9952a31 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ-VIEWPORT.slangp @@ -0,0 +1,178 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = viewport +scale_y1 = 1.0 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 +alias11 = "PrePass" +mipmap_input11 = true + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" + +shader14 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear14 = true +scale_type_x14 = absolute +scale_x14 = 800.0 +scale_type_y14 = source +scale_y14 = 1.0 +float_framebuffer14 = true + +shader15 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = absolute +scale_y15 = 600.0 +float_framebuffer15 = true +alias15 = GlowPass + +shader16 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear17 = true +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +float_framebuffer17 = true +alias17 = BloomPass + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear18 = true +scale_type18 = viewport +scale_x18 = 1.0 +scale_y18 = 1.0 +float_framebuffer18 = true + +shader19 = ../../../shaders/guest/hsm-deconvergence-potato.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = "CRTPass" + +shader20 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp new file mode 100644 index 0000000..fd81c76 --- /dev/null +++ b/bezel/Mega_Bezel/Presets/Base_CRT_Presets_DREZ/Root_Presets/MBZ__5__POTATO__GDV__DREZ_X-VIEWPORT_Y-480p.slangp @@ -0,0 +1,183 @@ +shaders = 21 + +shader0 = ../../../shaders/base/add-params-potato.slang +alias0 = "CorePass" + +shader1 = ../../../shaders/guest/extras/hsm-drez-g-sharp_resampler.slang +filter_linear1 = false +scale_type_x1 = viewport +scale_x1 = 1.0 +scale_type_y1 = absolute +scale_y1 = 480 +wrap_mode1 = "clamp_to_edge" +alias1 = "DerezedPass" + +shader2 = ../../../shaders/base/add-negative-crop-area.slang +filter_linear2 = false +mipmap_input2 = false +srgb_framebuffer2 = true +scale_type2 = source +scale_x2 = 1 +scale_y2 = 1 +alias2 = "NegativeCropAddedPass" + +shader3 = ../../../shaders/base/cache-info-screen-scale-params.slang +filter_linear3 = false +scale_type3 = source +scale3 = 1.0 +alias3 = "InfoCachePass" + +shader4 = ../../../shaders/base/text-potato.slang +filter_linear4 = false +float_framebuffer4 = true +scale_type4 = source +scale4 = 1.0 +alias4 = "TextPass" + +shader5 = ../../../shaders/base/intro-potato.slang +filter_linear5 = false +float_framebuffer5 = true +scale_type5 = source +scale5 = 1.0 +alias5 = "IntroPass" + +shader6 = ../../../shaders/base/stock.slang +alias6 = "PreCRTPass" + +shader7 = ../../../shaders/guest/hsm-afterglow0.slang +filter_linear7 = true +scale_type7 = source +scale7 = 1.0 +alias7 = "AfterglowPass" + +shader8 = ../../../shaders/guest/hsm-pre-shaders-afterglow.slang +filter_linear8 = true +scale_type8 = source +mipmap_input8 = true +scale8 = 1.0 + +# Color Correction with Dogway's awesome Grade shader +# Grade is after Afterglow so that brightening the black level does not break the afterglow +shader9 = ../../../shaders/dogway/hsm-grade.slang +filter_linear9 = false +scale_type9 = source +scale9 = 1.0 +alias9 = "ColorCorrectPass" + +shader10 = ../../../shaders/guest/hsm-custom-fast-sharpen.slang +filter_linear10 = true +scale_type10 = source +scale_x10 = 1.0 +scale_y10 = 1.0 + +shader11 = ../../../shaders/base/stock.slang +filter_linear11 = true +scale_type11 = source +scale_x11 = 1.0 +scale_y11 = 1.0 +alias11 = "PrePass" +mipmap_input11 = true + +shader12 = ../../../shaders/guest/hsm-avg-lum.slang +filter_linear12 = true +scale_type12 = source +scale12 = 1.0 +mipmap_input12 = true +alias12 = "AvgLumPass" + +# Pass referenced by subsequent blurring passes and crt pass +shader13 = ../../../shaders/guest/hsm-interlace-and-linearize.slang +filter_linear13 = true +scale_type13 = source +scale13 = 1.0 +float_framebuffer13 = true +alias13 = "LinearizePass" + +shader14 = ../../../shaders/guest/hsm-gaussian_horizontal.slang +filter_linear14 = true +scale_type_x14 = absolute +scale_x14 = 800.0 +scale_type_y14 = source +scale_y14 = 1.0 +float_framebuffer14 = true + +shader15 = ../../../shaders/guest/hsm-gaussian_vertical.slang +filter_linear15 = true +scale_type_x15 = absolute +scale_x15 = 800.0 +scale_type_y15 = absolute +scale_y15 = 600.0 +float_framebuffer15 = true +alias15 = GlowPass + +shader16 = ../../../shaders/guest/hsm-bloom_horizontal.slang +filter_linear16 = true +scale_type_x16 = absolute +scale_x16 = 800.0 +scale_type_y16 = absolute +scale_y16 = 600.0 +float_framebuffer16 = true + +shader17 = ../../../shaders/guest/hsm-bloom_vertical.slang +filter_linear17 = true +scale_type_x17 = source +scale_x17 = 1.0 +scale_type_y17 = source +scale_y17 = 1.0 +float_framebuffer17 = true +alias17 = BloomPass + +shader18 = ../../../shaders/guest/hsm-crt-guest-advanced-potato.slang +filter_linear18 = true +scale_type18 = viewport +scale_x18 = 1.0 +scale_y18 = 1.0 +float_framebuffer18 = true + +shader19 = ../../../shaders/guest/hsm-deconvergence-potato.slang +filter_linear19 = true +scale_type19 = viewport +scale_x19 = 1.0 +scale_y19 = 1.0 +float_framebuffer19 = true +alias19 = "CRTPass" + +shader20 = ../../../shaders/base/post-crt-prep-potato.slang +mipmap_input20 = true +scale_type20 = viewport +float_framebuffer20 = true +alias20 = "PostCRTPass" +# Define textures to be used by the different passes +textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3;SamplerLUT4;ScreenPlacementImage;BackgroundImage;BackgroundVertImage" + +SamplerLUT1 = ../../../shaders/guest/lut/trinitron-lut.png +SamplerLUT1_linear = true +SamplerLUT2 = ../../../shaders/guest/lut/inv-trinitron-lut.png +SamplerLUT2_linear = true +SamplerLUT3 = ../../../shaders/guest/lut/nec-lut.png +SamplerLUT3_linear = true +SamplerLUT4 = ../../../shaders/guest/lut/ntsc-lut.png +SamplerLUT4_linear = true + +ScreenPlacementImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +ScreenPlacementImage_linear = false + +BackgroundImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background.png +BackgroundImage_linear = true +BackgroundImage_mipmap = 1 + +BackgroundVertImage = ../../../shaders/textures/Baked_Frame_Carbonfiber_Background_Vert.png +BackgroundVertImage_linear = true +BackgroundVertImage_mipmap = 1 + +# Parameters +HSM_ASPECT_RATIO_MODE = 1 + +# Use for matching vanilla GDV-Advanced +# HSM_ASPECT_RATIO_MODE = 6 +# HSM_CURVATURE_MODE = 0 + +# DREZ Parameters +SHARPEN = 0 +HSM_ASPECT_RATIO_ORIENTATION = 1 +HSM_ASPECT_RATIO_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__SMOOTH-ADV__GDV.slangp b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__SMOOTH-ADV__GDV.slangp index 977f731..c88cb07 100644 --- a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__SMOOTH-ADV__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__SMOOTH-ADV__GDV.slangp @@ -16,7 +16,7 @@ SHARPEN = "0.300000" g_cntrst = "0.500000" GDV_AFTERGLOW_THRESHOLD = "7.5" -// BP = "16" +# BP = "16" glow = "-0.300000" SIZEH = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__STD__GDV.slangp b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__STD__GDV.slangp index d1622f2..0af702b 100644 --- a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__STD__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Newpixie-Clone__STD__GDV.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" -// HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = "33" -// HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = "33" +# HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = "33" +# HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = "33" HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR = "0.000000" HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = "0.000000" @@ -15,7 +15,7 @@ SGPT_BLEND_OPTION = 0 g_cntrst = "0.500000" GDV_AFTERGLOW_THRESHOLD = "7.5" -// BP = "16" +# BP = "16" glow = "-0.300000" SIZEH = "7.000000" diff --git a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV-GLASS__GDV.slangp b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV-GLASS__GDV.slangp index 185bd92..10a1a0a 100644 --- a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV-GLASS__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV-GLASS__GDV.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__2__ADV-GLASS__GDV.slangp" -// Thanks to BendBombBoom from the Libretro forum for this great preset! +# Thanks to BendBombBoom from the Libretro forum for this great preset! g_grade_on = "1.000000" g_vignette = "1.000000" diff --git a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV__GDV.slangp b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV__GDV.slangp index ed744ae..54d8dfb 100644 --- a/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV__GDV.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/CRT-Flavors/Royale-Clone__ADV__GDV.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__1__ADV__GDV.slangp" -// Thanks to BendBombBoom from the Libretro forum for this great preset! +# Thanks to BendBombBoom from the Libretro forum for this great preset! g_grade_on = "1.000000" g_vignette = "1.000000" diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__ADV__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__ADV__LCD-GRID.slangp index 85bce59..1c1a844 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__ADV__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__ADV__LCD-GRID.slangp @@ -5,7 +5,7 @@ HSM_ASPECT_RATIO_MODE = 5 HSM_INT_SCALE_MODE = 2 HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10 HSM_DUALSCREEN_MODE = 1 -// HSM_DUALSCREEN_CORE_IMAGE_SWAP_SCREENS = 1 +# HSM_DUALSCREEN_CORE_IMAGE_SWAP_SCREENS = 1 HSM_2ND_SCREEN_ASPECT_RATIO_MODE = 1 HSM_DUALSCREEN_VIEWPORT_SPLIT_LOCATION = "76.000000" HSM_2ND_SCREEN_SCALE_OFFSET = "70.500000" diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT.slangp index c1deaf2..deeeef5 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_FLIP_VIEWPORT_VERTICAL = 1 HSM_ASPECT_RATIO_MODE = 5 diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT__LCD-GRID.slangp index debf7fd..ccc2d99 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-3DS__STD-NO-REFLECT__LCD-GRID.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_FLIP_VIEWPORT_VERTICAL = 1 HSM_ASPECT_RATIO_MODE = 5 diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV-NO-REFLECT.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV-NO-REFLECT.slangp index 8c0c016..486a163 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV-NO-REFLECT.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV-NO-REFLECT.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__2__ADV-NO-REFLECT__GDV.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_ASPECT_RATIO_MODE = 5 diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID.slangp index 59b38c3..0851769 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__1__ADV__LCD-GRID.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_ASPECT_RATIO_MODE = 5 HSM_INT_SCALE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID__DREZ-NDS-256x384.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID__DREZ-NDS-256x384.slangp index e52ef95..89c9680 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID__DREZ-NDS-256x384.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__ADV__LCD-GRID__DREZ-NDS-256x384.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets_DREZ/MBZ__1__ADV__LCD-GRID__DREZ-NDS-256x384.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_ASPECT_RATIO_MODE = 5 HSM_INT_SCALE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT.slangp index 599ad46..627c514 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__GDV.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_ASPECT_RATIO_MODE = 5 diff --git a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT__LCD-GRID.slangp b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT__LCD-GRID.slangp index bc1ccae..8ad4854 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT__LCD-GRID.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Dual-Screen/Dual-Screen-DS__STD-NO-REFLECT__LCD-GRID.slangp @@ -1,7 +1,7 @@ #reference "../../Base_CRT_Presets/MBZ__4__STD-NO-REFLECT__LCD-GRID.slangp" -// BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png -// BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png +# BackgroundVertImage = ../../../shaders/textures/Placeholder_Transparent_16x16.png HSM_ASPECT_RATIO_MODE = 5 HSM_INT_SCALE_MODE = 0 diff --git a/bezel/Mega_Bezel/Presets/Variations/FBNEO-Vertical__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/FBNEO-Vertical__STD.slangp index 7861b21..f426a5f 100644 --- a/bezel/Mega_Bezel/Presets/Variations/FBNEO-Vertical__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/FBNEO-Vertical__STD.slangp @@ -1,4 +1,4 @@ -#reference "../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" +#reference "../../../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" HSM_ROTATE_CORE_IMAGE = 1 HSM_ASPECT_RATIO_MODE = 2 \ No newline at end of file diff --git a/bezel/Mega_Bezel/Presets/Variations/Megatron/_params/megatron-sdr.params b/bezel/Mega_Bezel/Presets/Variations/Megatron/_params/megatron-sdr.params index 3451780..d863ea6 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Megatron/_params/megatron-sdr.params +++ b/bezel/Mega_Bezel/Presets/Variations/Megatron/_params/megatron-sdr.params @@ -1,4 +1,4 @@ #reference megatron-base.params -// HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "80.000000" +# HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "80.000000" hcrt_hdr = "0.000000" \ No newline at end of file diff --git a/bezel/Mega_Bezel/Presets/Variations/N64__SMOOTH-ADV__DREZ-480p.slangp b/bezel/Mega_Bezel/Presets/Variations/N64__SMOOTH-ADV__DREZ-480p.slangp index 6478e51..1df4058 100644 --- a/bezel/Mega_Bezel/Presets/Variations/N64__SMOOTH-ADV__DREZ-480p.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/N64__SMOOTH-ADV__DREZ-480p.slangp @@ -5,11 +5,11 @@ BackgroundImage = ../../shaders/textures/HSM_Duimon_Super_Famicom_3840x2160.png HSM_FLIP_VIEWPORT_VERTICAL = "1.000000" HSM_ASPECT_RATIO_MODE = 2 -// HSM_CROP_MODE = "1.000000" -// HSM_CROP_PERCENT_TOP = "7.0800000" -// HSM_CROP_PERCENT_BOTTOM = "5.620000" -// HSM_CROP_PERCENT_LEFT = "2.180000" -// HSM_CROP_PERCENT_RIGHT = "2.700000" +# HSM_CROP_MODE = "1.000000" +# HSM_CROP_PERCENT_TOP = "7.0800000" +# HSM_CROP_PERCENT_BOTTOM = "5.620000" +# HSM_CROP_PERCENT_LEFT = "2.180000" +# HSM_CROP_PERCENT_RIGHT = "2.700000" HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "200.000000" HSM_CORE_RES_SAMPLING_MULT_OPPOSITE_DIR = "200.000000" diff --git a/bezel/Mega_Bezel/Presets/Variations/N64__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/N64__STD.slangp index 3366a19..2ec92e3 100644 --- a/bezel/Mega_Bezel/Presets/Variations/N64__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/N64__STD.slangp @@ -5,11 +5,11 @@ BackgroundImage = ../../shaders/textures/HSM_Duimon_Super_Famicom_3840x2160.png HSM_FLIP_VIEWPORT_VERTICAL = "1.000000" HSM_ASPECT_RATIO_MODE = 2 -// HSM_CROP_MODE = "1.000000" -// HSM_CROP_PERCENT_TOP = "7.0800000" -// HSM_CROP_PERCENT_BOTTOM = "5.620000" -// HSM_CROP_PERCENT_LEFT = "2.180000" -// HSM_CROP_PERCENT_RIGHT = "2.700000" +# HSM_CROP_MODE = "1.000000" +# HSM_CROP_PERCENT_TOP = "7.0800000" +# HSM_CROP_PERCENT_BOTTOM = "5.620000" +# HSM_CROP_PERCENT_LEFT = "2.180000" +# HSM_CROP_PERCENT_RIGHT = "2.700000" GDV_INTERLACE_MODE = "2.000000" shadowMask = "2.000000" diff --git a/bezel/Mega_Bezel/Presets/Variations/SharpPixels__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/SharpPixels__STD.slangp index 63fda2b..1ac65cc 100644 --- a/bezel/Mega_Bezel/Presets/Variations/SharpPixels__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/SharpPixels__STD.slangp @@ -2,7 +2,7 @@ gamma_out = 1.8 -// HSM_CRT_CURVATURE_SCALE = "0.000000" +# HSM_CRT_CURVATURE_SCALE = "0.000000" no_scanlines = "1.000000" h_sharp = "15.000000" s_sharp = "1.500000" diff --git a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_1_Antialias.slangp b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_1_Antialias.slangp index 1a1e7aa..2f1992b 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_1_Antialias.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_1_Antialias.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp" -// This reference adds additional parameter values +# This reference adds additional parameter values #reference "../../../resource/param_values/scene/mega-bezel-duimon-scene.params" #reference "../../../resource/param_values/light/basic__night.params" diff --git a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_3_Extra-Smooth.slangp b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_3_Extra-Smooth.slangp index ad64e7d..4e1eb7c 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_3_Extra-Smooth.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_3_Extra-Smooth.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp" -// This reference adds additional parameter values +# This reference adds additional parameter values #reference "../../../resource/param_values/scene/mega-bezel-duimon-scene.params" #reference "../../../resource/param_values/light/basic__night.params" diff --git a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_4_Super-Smooth.slangp b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_4_Super-Smooth.slangp index a804cb4..b9a7599 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_4_Super-Smooth.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_4_Super-Smooth.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp" -// This reference adds additional parameter values +# This reference adds additional parameter values #reference "../../../resource/param_values/scene/mega-bezel-duimon-scene.params" #reference "../../../resource/param_values/light/basic__night.params" diff --git a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_5_Super-Smooth-Big-Scanlines.slangp b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_5_Super-Smooth-Big-Scanlines.slangp index 7bf676f..dd8be7c 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_5_Super-Smooth-Big-Scanlines.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Smoothed/SMOOTH-ADV_5_Super-Smooth-Big-Scanlines.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__0__SMOOTH-ADV__GDV.slangp" -// This reference adds additional parameter values +# This reference adds additional parameter values #reference "../../../resource/param_values/scene/mega-bezel-duimon-scene.params" #reference "../../../resource/param_values/light/basic__night.params" diff --git a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Horizontal__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Horizontal__STD.slangp index 3ef8749..22f916d 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Horizontal__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Horizontal__STD.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" -// Thanks to SixWingedFreak from the Libretro forum for these settings +# Thanks to SixWingedFreak from the Libretro forum for these settings #reference "../../../resource/param_values/crt/vector-bw-high-res-mode-gdv.params" HSM_ASPECT_RATIO_MODE = 2 \ No newline at end of file diff --git a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Vertical__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Vertical__STD.slangp index d73a7be..ab9d0b7 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Vertical__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-BW-HighResMode-Vertical__STD.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" -// Thanks to SixWingedFreak from the Libretro forum for these settings +# Thanks to SixWingedFreak from the Libretro forum for these settings #reference "../../../resource/param_values/crt/vector-bw-high-res-mode-gdv.params" HSM_ASPECT_RATIO_MODE = 2 diff --git a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Horizontal__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Horizontal__STD.slangp index e48e1ef..7837db2 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Horizontal__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Horizontal__STD.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" -// Thanks to SixWingedFreak from the Libretro forum for these settings +# Thanks to SixWingedFreak from the Libretro forum for these settings #reference "../../../resource/param_values/crt/vector-color-high-res-mode-gdv.params" HSM_ASPECT_RATIO_MODE = 2 \ No newline at end of file diff --git a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Vertical__STD.slangp b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Vertical__STD.slangp index 670619a..e38b4ce 100644 --- a/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Vertical__STD.slangp +++ b/bezel/Mega_Bezel/Presets/Variations/Vector/Vector-Color-HighResMode-Vertical__STD.slangp @@ -1,6 +1,6 @@ #reference "../../Base_CRT_Presets/MBZ__3__STD__GDV.slangp" -// Thanks to SixWingedFreak from the Libretro forum for these settings +# Thanks to SixWingedFreak from the Libretro forum for these settings #reference "../../../resource/param_values/crt/vector-color-high-res-mode-gdv.params" HSM_ASPECT_RATIO_MODE = 2 diff --git a/bezel/Mega_Bezel/README.md b/bezel/Mega_Bezel/README.md index 5acdab5..0f371d2 100644 --- a/bezel/Mega_Bezel/README.md +++ b/bezel/Mega_Bezel/README.md @@ -3,7 +3,7 @@ Mega Bezel Shader Readme ------------------------------------------------------------------------------------------------------------ ![Mega Bezel Logo](MegaBezelLogo.png) -**Version V1.9.0_2023-01-22** +**Version V1.11.0_2023-02-25** ---------------------------------------- ---------------------------------------- @@ -202,23 +202,64 @@ And of course I probably would never have started this without seeing the great **Presets in Mega_Bezel / Presets** ---------------------------------------- -- All in the root of the Presets folder use @guest.r's awesome Guest-Advanced CRT shader which is considered the default CRT shader for the Mega Bezel, the only exception to this is the POTATO preset which uses GDV-MINI for performance reasons. +- All in the root of the Presets folder use @guest.r's awesome Guest-Advanced CRT shader which is considered the default CRT shader for the Mega Bezel, the only exception to this is the POTATO preset which uses GDV-MINI for performance reasons. The following table is sorted by GPU performance and GPU RAM requirements -|Category |Reflection |Image Layers |Tube Fx |Pre-CRT Chain |Smooth Upscale -|------------------------|------------|-------------|---------|----------------|--------------- -| MBZ__0__SMOOTH-ADV | ✔ | ✔ | ✔ | FULL + ScaleFx | ✔ -| MBZ__1__ADV | ✔ | ✔ | ✔ | FULL | -| MBZ__2__ADV-GLASS | ✔ | | ✔ | FULL | -| MBZ__2__ADV-NO-REFLECT | | ✔ | ✔ | FULL | -| MBZ__3__STD | ✔ | ✔ | ✔ | BASIC | -| MBZ__3__STD-GLASS | ✔ | | ✔ | BASIC | -| MBZ__4__STD-NO-REFLECT | | ✔ | ✔ | BASIC | -| MBZ__5__POTATO | | BG ONLY | | MINIMAL | -| SCREEN-ONLY | | | ✔ | Category Chain | N/A -| SUPER-XBR |N/A |N/A | ✔ | Category Chain + SUPER-XBR | ✔ +|Category |Reflection |Image Layers |Tube Fx |Pre-CRT Chain |Smooth Upscale +|--------------------------------|------------|-------------|---------|----------------|--------------- +| MBZ__0__SMOOTH-ADV | ✔ | ✔ | ✔ | ADV + ScaleFx | 3X +| MBZ__0__SMOOTH-ADV-NO-REFLECT | | ✔ | ✔ | ADV + ScaleFx | 3X +| MBZ__0__SMOOTH-ADV-SCREEN-ONLY | | | ✔ | ADV + ScaleFx | 3X +| MBZ__1__ADV-SUPER-XBR | ✔ | ✔ | ✔ | ADV + XBR | 2X +| MBZ__1__ADV | ✔ | ✔ | ✔ | ADV | +| MBZ__2__ADV-GLASS-SUPER-XBR | ✔ | | ✔ | ADV + XBR | 2X +| MBZ__2__ADV-GLASS | ✔ | | ✔ | ADV | +| MBZ__2__ADV-NO-REFLECT | | ✔ | ✔ | ADV | +| MBZ__2__ADV-SCREEN-ONLY | | | ✔ | ADV | +| MBZ__3__STD-SUPER-XBR | ✔ | ✔ | ✔ | STD + XBR | 2X +| MBZ__3__STD | ✔ | ✔ | ✔ | STD | +| MBZ__3__STD-GLASS-SUPER-XBR | ✔ | | ✔ | STD + XBR | 2X +| MBZ__3__STD-GLASS | ✔ | | ✔ | STD | +| MBZ__4__STD-NO-REFLECT | | ✔ | ✔ | STD | +| MBZ__4__STD-SCREEN-ONLY | | | ✔ | STD | +| MBZ__5__POTATO-SUPER-XBR | | BG ONLY | | POTATO + XBR | 2X +| MBZ__5__POTATO | | BG ONLY | | POTATO | +| + +---- +**Pre CRT Shader Chains** +---------------------------------------- +---- +| Shader Behavior |SMOOTH-ADV |ADV |STD |POTATO +|----------------------------------------|-------------|------|------|------- +| Reducing Core Resolution | ✔ | ✔ | ✔ | ✔ +| Resolution Text | ✔ | ✔ | ✔ | +| Intro Animation | ✔ | ✔ | ✔ | +| De-Dithering | ✔ | ✔ | | +| Image Sharpening | ✔ | ✔ | ✔ | +| Uprezed Edge Contour Smoothing | ✔ | | | +| Bandwidth Horizontal Blurring (GTU) | ✔ | ✔ | | +| NTSC Signal Processing (NTSC Adaptive) | ✔ | ✔ | ✔ | ✔ +| Afterglow | ✔ | ✔ | ✔ | ✔ +| Color Signal Processing (Grade) | ✔ | ✔ | ✔ | ✔ +| Interlacing & Downsample Blur | ✔ | ✔ | ✔ | ✔ +| Sinden Lightgun Border | ✔ | ✔ | ✔ | ✔ + +NTSC Processing is only included in NTSC Presets, and GTU Horizontal blurring isincluded in non-NTSC presets **Descriptions:** + * **POTATO Pre-CRT shader chain** + * Fewest passes, but still Includes Grade Color Correction + * **STD Pre-CRT shader chain** + * Includes Some Basic Processing before the CRT shader + * **ADV Pre-CRT shader chain** + * Includes STD chain and adds DeDithering & GTU + * **ADV Pre-CRT shader chain + ScaleFx Upres** + * Includes ADV Pre-CRT shader chain and ScaleFX + * Resolution is tripled in the middle of the chain for ScaleFX + * This requires increased GPU processing + * **SCREEN-ONLY** + * Includes whatever the category's Pre-CRT shader chain but removes the bezel, images and reflection * **Glass** * Presets which show a blurry reflection in the area around the screen * **Image Layering** @@ -228,16 +269,7 @@ And of course I probably would never have started this without seeing the great * Tube Static Reflection Highlight * Tube Diffuse Image & Shadow * Tube Colored Gel - * **Basic Pre-CRT shader chain** - * Fewest passes, but still Includes Grade Color Correction - * **Full Pre-CRT shader chain** - * Includes Basic chain + DeDithering & GTU - * **Full Pre-CRT shader chain + ScaleFx Upres** - * Includes Full Pre-CRT shader chain and ScaleFX - * Resolution is tripled in the middle of the chain for ScaleFX - * This requires increased GPU processing - * **SCREEN-ONLY** - * Includes whatever the Pre-CRT shader chain of the main category but removes the bezel, images and reflection + * All presets include Tube Effects except the Potato **Preset Folders in Mega_Bezel / Presets** @@ -248,7 +280,7 @@ And of course I probably would never have started this without seeing the great * **Base_CRT_Presets_DREZ** * Presets which set the resolution at the beginning of the shader chain * Good for reducing the resolution from the core to native res to use with a crt shader - * Helps working with cores which are outputting at increased internal resolution, e.g. 2x, 4k this creates antialiasing at native res which comes from rendering at a higher resolution then reducing it + * Helps working with cores which are outputting at increased internal resolution, e.g. 2x, 4k. When a large image comes from the core and is downscaled to ntive res this creates antialiasing, helping smooth out the jaggies **HSM Examples Package (Separate additional Package from Mega Bezel)** @@ -265,26 +297,6 @@ And of course I probably would never have started this without seeing the great * **Use at your own risk!** * These presets are work in progress and are likely to be moved, renamed, dissappear or change behavior at any future release ----- -**Pre CRT Shader Chain** ----------------------------------------- ----- -| Shader Behavior |SMOOTH-ADV |ADV |STD |POTATO -|----------------------------------------|-------------|------|------|------- -| Reducing Core Resolution | ✔ | ✔ | ✔ | ✔ -| Info Cache | ✔ | ✔ | ✔ | ✔ -| Resolution Text | ✔ | ✔ | ✔ | -| Startup Intro | ✔ | ✔ | ✔ | -| De-Dithering | ✔ | ✔ | | -| Image Sharpening | ✔ | ✔ | ✔ | -| Uprezed Edge Contour Smoothing | ✔ | | | -| Bandwidth Horizontal Blurring (GTU) | ✔ | ✔ | ✔ | -| NTSC Signal Processing (NTSC Adaptive) | ✔ | ✔ | ✔ | ✔ -| Afterglow | ✔ | ✔ | ✔ | ✔ -| Color Signal Processing (Grade) | ✔ | ✔ | ✔ | ✔ -| Interlacing & Downsample Blur | ✔ | ✔ | ✔ | ✔ - -NTSC Processing is only included in NTSC Presets, and GTU Horizontal blurring isincluded in non-NTSC presets ---------------------------------------- ---------------------------------------- diff --git a/bezel/Mega_Bezel/resource/param_values/base/auto-settings.params b/bezel/Mega_Bezel/resource/param_values/base/auto-settings.params new file mode 100644 index 0000000..75ed770 --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/base/auto-settings.params @@ -0,0 +1,2 @@ +#reference "../tube-rotation/$CORE-REQ-ROT$.params" +#reference "../core-defaults/$VID-DRV$_$CORE$.params" diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/$VID-DRV$_$CORE$.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/$VID-DRV$_$CORE$.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Beetle PSX HW.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Beetle PSX HW.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Beetle PSX HW.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Flycast.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Flycast.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Flycast.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Kronos.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Kronos.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_Kronos.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PCSX2.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PCSX2.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PCSX2.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PPSSPP.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PPSSPP.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_PPSSPP.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_ParaLLEl N64.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_ParaLLEl N64.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_ParaLLEl N64.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_YabaSanshiro.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_YabaSanshiro.params new file mode 100644 index 0000000..1b3644e --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_YabaSanshiro.params @@ -0,0 +1 @@ +#reference "../viewport-flip/verticalflipped.params" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_image display.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/glcore_image display.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/core-defaults/vulkan_image display.params b/bezel/Mega_Bezel/resource/param_values/core-defaults/vulkan_image display.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/$CORE-ASPECT-ORIENT$.params b/bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/$CORE-ASPECT-ORIENT$.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/CORE-ASPECT-ORIENT-HORZ.params b/bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/CORE-ASPECT-ORIENT-HORZ.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/CORE-ASPECT-ORIENT-VERT.params b/bezel/Mega_Bezel/resource/param_values/tube-aspect-orientation/CORE-ASPECT-ORIENT-VERT.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/tube-rotation/$CORE-REQ-ROT$.params b/bezel/Mega_Bezel/resource/param_values/tube-rotation/$CORE-REQ-ROT$.params new file mode 100644 index 0000000..e69de29 diff --git a/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-0.params b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-0.params new file mode 100644 index 0000000..a2534ae --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-0.params @@ -0,0 +1 @@ +HSM_ROTATE_CORE_IMAGE = 0 \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-180.params b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-180.params new file mode 100644 index 0000000..2e7a14b --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-180.params @@ -0,0 +1,2 @@ +HSM_FLIP_CORE_VERTICAL = 1 +HSM_FLIP_CORE_HORIZONTAL = 1 \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-270.params b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-270.params new file mode 100644 index 0000000..ed0fc8b --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-270.params @@ -0,0 +1 @@ +HSM_ROTATE_CORE_IMAGE = -1 \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-90.params b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-90.params new file mode 100644 index 0000000..79db1d6 --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/tube-rotation/CORE-REQ-ROT-90.params @@ -0,0 +1 @@ +HSM_ROTATE_CORE_IMAGE = 1 \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalflipped.params b/bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalflipped.params new file mode 100644 index 0000000..23b8aaf --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalflipped.params @@ -0,0 +1 @@ +HSM_FLIP_VIEWPORT_VERTICAL = 1 \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalnoflip.params b/bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalnoflip.params new file mode 100644 index 0000000..492a489 --- /dev/null +++ b/bezel/Mega_Bezel/resource/param_values/viewport-flip/verticalnoflip.params @@ -0,0 +1 @@ +HSM_FLIP_VIEWPORT_VERTICAL = 0 \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir-Fail-Check-Log.slangp new file mode 100644 index 0000000..c76c166 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-00-Fail-Check-Log_$CONTENT-DIR$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir.slangp new file mode 100644 index 0000000..807899b --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-00-Content-Dir.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-00_$CONTENT-DIR$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core-Fail-Check-Log.slangp new file mode 100644 index 0000000..b3b95de --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-01-Fail-Check-Log_$CORE$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core.slangp new file mode 100644 index 0000000..7f54b81 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-01-Core.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-01_$CORE$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game-Fail-Check-Log.slangp new file mode 100644 index 0000000..81f780e --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-02-Fail-Check-Log_$GAME$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game.slangp new file mode 100644 index 0000000..220b57a --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-02-Game.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-02_$GAME$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver-Fail-Check-Log.slangp new file mode 100644 index 0000000..e323498 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-03-Fail-Check-Log_$VID-DRV$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver.slangp new file mode 100644 index 0000000..e234c2a --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-03-VideoDriver.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-03_$VID-DRV$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation-Fail-Check-Log.slangp new file mode 100644 index 0000000..70cdbab --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-04-Fail-Check-Log_$CORE-REQ-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation.slangp new file mode 100644 index 0000000..7b916c3 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-04-CoreRequestedRotation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-04_$CORE-REQ-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation-Fail-Check-Log.slangp new file mode 100644 index 0000000..8c53c63 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-05-Fail-Check-Log_$VID-ALLOW-CORE-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation.slangp new file mode 100644 index 0000000..c651743 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-05-VideoAllowCoreRotation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-05_$VID-ALLOW-CORE-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation-Fail-Check-Log copy.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation-Fail-Check-Log copy.slangp new file mode 100644 index 0000000..21ddd27 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation-Fail-Check-Log copy.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-06-Fail-Check-Log_$VID-USER-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation.slangp new file mode 100644 index 0000000..fa16674 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-06-VideoUserRotation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-06_$VID-USER-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation-Fail-Check-Log.slangp new file mode 100644 index 0000000..92475d2 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-07-Fail-Check-Log_$VID-FINAL-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation.slangp new file mode 100644 index 0000000..ca9e138 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-07-VideoFinalRotation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-07_$VID-FINAL-ROT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation-Fail-Check-Log.slangp new file mode 100644 index 0000000..aabbe9b --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the first subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-08-Fail-Check-Log_$SCREEN-ORIENT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation.slangp new file mode 100644 index 0000000..a7e652c --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-08-ScreenOrientation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-08_$SCREEN-ORIENT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation-Fail-Check-Log.slangp new file mode 100644 index 0000000..6d96fda --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the second subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-09-Fail-Check-Log_$VIEW-ASPECT-ORIENT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation.slangp new file mode 100644 index 0000000..6e6e8e8 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-09-ViewportAspectOrientation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-09_$VIEW-ASPECT-ORIENT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation-Fail-Check-Log.slangp new file mode 100644 index 0000000..e3044be --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the second subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-10-Fail-Check-Log_$CORE-ASPECT-ORIENT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation.slangp new file mode 100644 index 0000000..1ade36e --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-10-CoreAspectOrientation.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-10_$CORE-ASPECT-ORIENT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir-Fail-Check-Log.slangp new file mode 100644 index 0000000..eb6121c --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the second subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-11-Fail-Check-Log_$PRESET-DIR$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir.slangp new file mode 100644 index 0000000..4d183fd --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-11-PresetDir.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-11_$PRESET-DIR$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName-Fail-Check-Log.slangp new file mode 100644 index 0000000..df1980e --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the second subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-12-Fail-Check-Log_$PRESET$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName.slangp new file mode 100644 index 0000000..065e40a --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-12-PresetName.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-12_$PRESET$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension-Fail-Check-Log.slangp new file mode 100644 index 0000000..c40d7a2 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the second subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-13-Fail-Check-Log_$VID-DRV-PRESET-EXT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension.slangp new file mode 100644 index 0000000..2a90a2e --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-13-VideoDriverPresetExtension.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-13_$VID-DRV-PRESET-EXT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension-Fail-Check-Log.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension-Fail-Check-Log.slangp new file mode 100644 index 0000000..942500d --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension-Fail-Check-Log.slangp @@ -0,0 +1,7 @@ +# Use this preset to get information about what the second subset of wildcards are +# and what they will be replaced with +# +# Set up RetroArch to output a log, then load the preset and check the log +# This will show you what the path with the replaced wildcards look like + +#reference "referenced-presets/Ref-14-Fail-Check-Log_$VID-DRV-SHADER-EXT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension.slangp b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension.slangp new file mode 100644 index 0000000..b2d9237 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Preset-14-VideoDriverShaderExtension.slangp @@ -0,0 +1,3 @@ +# This preset tests that the first subset of wildcards is working + +#reference "referenced-presets/Ref-14_$VID-DRV-SHADER-EXT$_.slangp" \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/Readme.md b/bezel/Mega_Bezel/resource/wildcard-examples/Readme.md new file mode 100644 index 0000000..2347912 --- /dev/null +++ b/bezel/Mega_Bezel/resource/wildcard-examples/Readme.md @@ -0,0 +1,98 @@ +# Wildcard Path Replacement + +When a simple preset loads, text wildcards which are found in paths inside the presets will be replaced with values coming from the current RetroArch context. The replacement will be executed on both texture paths and reference paths. + +This would allow you to do things like have one preset which could be used with the entire list of images from the Bezel Project + +--- +Example: + + `/shaders/MyBackground_$VID-DRV$_$CORE$.png` + +would be replaced with + + `/shaders/MyBackground_glcore_YabaSanshiro.png` + +If no file found at the new path with the replacements, we revert to the original path + + `/shaders/MyBackground_$VID-DRV$_$CORE$.png` + +----- + +## Possible wildcards/tokens to be replaced: +--- +`$CONTENT-DIR$` -> Content Directory of the game rom + +`$CORE$` -> Core name + +`$GAME$` -> Game file's name, E.G. ROM name + +`$VID-DRV$` -> Video Driver: Currently active driver, possible replacement values: + * `glcore` + * `gl` + * `vulkan` + * `d3d11` + * `d3d9_hlsl` + * `N/A` + + +`$VID-DRV-SHADER-EXT$` -> Video Driver Shader File Extension: The extension of shaders type supported by the current video driver: + * `cg` + * `glsl` + * `slang` + + +`$VID-DRV-PRESET-EXT$` -> Video Driver Preset File Extension: The extension of shaders type supported by the current video driver: + * `cgp` + * `glslp` + * `slangp` + + +`$CORE-REQ-ROT$` -> Core Requested Rotation: Rotation the core is requesting, possible replacement values: + * `CORE-REQ-ROT-0` + * `CORE-REQ-ROT-90` + * `CORE-REQ-ROT-180` + * `CORE-REQ-ROT-270` + + +`$VID-ALLOW-CORE-ROT$` -> Video Allow Core Rotation: Reflects Retroarch's setting allowing the core requested rotation to affect the final rotation: + * `VID-ALLOW-CORE-ROT-OFF` + * `VID-ALLOW-CORE-ROT-ON` + + +`$VID-USER-ROT$` -> Video User Rotation: Rotation the core is requesting, possible replacement values, does not affect the UI: + * `VID-USER-ROT-0` + * `VID-USER-ROT-90` + * `VID-USER-ROT-180` + * `VID-USER-ROT-270` + + +`$VID-FINAL-ROT$` -> Video Final Rotation: Rotation which is the sum of the user rotation and the core rotation if it has been allowed, does not affect the UI: + * `VID-FINAL-ROT-0` + * `VID-FINAL-ROT-90` + * `VID-FINAL-ROT-180` + * `VID-FINAL-ROT-270` + + +`$SCREEN-ORIENT$` -> Screen Orientation: User adjusted screen orientation, will change windows from landscape to portrait, including the Retroarch UI: + * `SCREEN-ORIENT-0` + * `SCREEN-ORIENT-90` + * `SCREEN-ORIENT-180` + * `SCREEN-ORIENT-270` + + +`$VIEW-ASPECT-ORIENT$` -> Viewport Aspect Orientation: Orientation of the aspect ratio of the RetroArch viewport + * `VIEW-ASPECT-ORIENT-HORZ` + * `VIEW-ASPECT-ORIENT-VERT` + + +`$CORE-ASPECT-ORIENT$` -> Core Aspect Orientation: Orientation of the aspect ratio requested by the core + * `CORE-ASPECT-ORIENT-HORZ` + * `CORE-ASPECT-ORIENT-VERT` + + +`$PRESET_DIR$` -> Preset directory's name + +`$PRESET$` -> Preset's name + +If no wildcards are found within the path, or the path after replacing the wildcards does not exist on disk, the path returned will be unaffected. \ No newline at end of file diff --git a/bezel/Mega_Bezel/resource/wildcard-examples/example-content/Example-Image.png b/bezel/Mega_Bezel/resource/wildcard-examples/example-content/Example-Image.png new file mode 100644 index 0000000000000000000000000000000000000000..5099a75d654b62b022dfeef10c0fb6fe5519c5f2 GIT binary patch literal 2390 zcmeAS@N?(olHy`uVBq!ia0y~yU~~YoA8;@M$-gr-mNPK0Y|jjdD2ed(u}aR*)k{pt zPfFFR$SnZMGcefLR}>^BXQ!4ZB&DWj=GiK}-@RW+Av48RDcsc8z_-9TH6zobswg$M z$}c3jDm&RSMakZd%cjB#Xh3diNuokUZcbjYRfVk**jy_h8zii+qySb@l5MLL;Txdf zoL`ixV5(=TXP{)qrC?K(l4cd;;s(_W1^l#~=$>Fbx5m+O@q>*W`v>l<2HTIw4Z z=^Gj80#)c1SLT%@R_NvxD}#)HnBkIIoLrPyP?DLSrvNfDF)6>a#8ycOD6arDyd*OX zVR~LM)ce4I&$i$%>B!i*6AS1sdzc?em0PX=4E8x-?8iB!wT}wq` z0XD_HzW9~r=Aw9`xWu!c4vMR60%g5r?Mf>iyW)Z+ZoqU2Q9vedj1WpGG6y>L7<^bi2gWR1IJYAj53@y#fbdB^N#sDME3aB?Tt*gGQnwFK>-}oR*A`=aJN+|D9TSMO-@Y#dkbhBM7B6Tt)x7$DAh3? z7|FIuj%jI`z!<7j0A`=e^t{v}1w%bU13gnzP30M>Km&1mPao`}e5L`})? zq42}JU_FhR$1eh>&zJ4n{paO|l`ZZEZY#X${{QHOewc8YS45m&wbsng`gf1_ED7^I zf6gOEIRB`UPltk?nnY>~W0mBjN(TGdFDJT$em1`UlNqKGKJ}(T`$?lhp_CV5rrK9c zJ9oX9)uUp${D1xLte1al^S<6v2(h{KEt@?g&q*==wmkc`Sc{fT>=ypwpToZ;e(?QL z6PSI!`B$mMUX84axfZt@o>eO+x$RqORJeZK;nRj!&N@F94bk6a`}^ke7kpDpf3EVr zakJIWGJgLT*1*Z>cOI+X(*jl+oCO|{z)0a124O~qS#u;97?^f=x;TbZ%z1nDAm?ER z0T##kpU+oLX|`L`zlwuxTH5(-@&c+4x^s)~cjx}D-^*Cxe?UMjfkW7!g;U}X3r`|b zn*pQqj0Q!YQDMAca&Fsta|ZpN2Lhfk$LGxc9hWnke>CvOOF3oRYJutSCF7)Kda|~Mk>2` zqTRieBane$TtGk{9uer~f$$2EbNBM`Lm3=m66+4h`FR=~veh(KH4ilQ^7Z>ED%i_9 z%Ho1Y6v9K-^AOxnSU*A!EP(V1ag&Qc2B0u{5eA3W*3|>Ap^sG#$*oNZK^PpeGe0M1 zj1Kma(^S?}Ry|}WET8)pV>deN);GMxC-;j_%Jr$Mk@NngD4P|t&kBXYEuC9uz zx{A8G5}2WciA06CMJS;#hoL3b*Er>c@d)+{4DmywBLC$vFd?VIfFU-F`Y(IhyaDDyWT2Odl@|sb8tmb9I?M|da(K-W zkX`i7`9*jI*q!o2dZ94Dx(0{Tbk$Y=r(yel4y)??W7rrSfDX0>f#n4*T)PUgp5D($ zHysH&>`<6idv z@z`G;(OcW2IocC!QDbe%zlVM{Ha-`O_Vx<^V;CzFBe|bX8*8cQYH2B{E3e-IxK9sU z>*pPL$}I%UQdd>iP*PP_QrEnorlzNx^9!T*&r)C-9p^{tNBoD%jttF z%+2+F^23CngCo~IS`T<@ub}mJ>u&@6)*@X_Zq46%ZXS@C3=Rbbqdh}Cygb()3oN%j zia~pagu4ZM{pbT+ZE)yEZ*MOEtl{ak@G{>@9!(&cz1dh z1r!`Bn?uyQzO=DdJpIV??frgLgRw~e?=h&coOb?Dv;`+e#N|lg<7b}*9(C^1kQU~S zj!IzDEF=8#t|;q&+oS&2yJ@#6nWuC>-i4R#kl)TnXsWeZ)mtCYf41NIOoUTJu%?Gj z%@OLOqleV!;&ha?@-gi2`1$l)nH1vkL}_7y$xDjdbn@!QaTObJZ&N!Li|8LRF2>Ca z*F3T@Yj680Kpg%0(Ai(*43A2BC2Wh@cPml=9<%W0Z{IClVJ`dGd~cgJAeZz;J?J~n z@x7XgJ(}05$M0YNUbkR1j^{tYk3q4>au@W;Y=qzil+i&nMOLuFStsGSppK=)ye->p z)_ehb9zl!ehU(NF^Y1|FP%e)~A9g=O%2y96DQSwE=HnY<%Y(&84Si z{R4>>x~_E#U!A}0LmieM`T>-VZvua^#|Q{0ABO&Ii^zwE2?)pu{Cw)i3lUki5axNx%J}0#g;Iit zCQmk%nb?C*Cx~dBR%M<=$U-xUapAa#|Co9%~te9&I|z zU&PupRxxuh3nv_6LT7OKcVfO;t84<79di~z&_F+8MgmYd1V2It1-7rhN)WreZT*#z z(987~0tdgmwEpU{*cYnnuTBbWlU#o#mmnaz{%UKvE!$mM4~4Bj*~*G7L|M;;E%@B3 z6#*{Kk!aC+ zy~m~RsL5m>#c4{=l?*3Ok-MiqCLxQzT3-HU<3VHWT#yH*f(lvICGtK^J6Y8>2wn21 z1Ba@$fK4@1L>6zy>TSq(mkrOhDd#Xlk>KGZC{76XM=MjTVpnFu>>vJ0mLXE;`=6~! zqKlttId5mB^^6u*u)mtVz9H_tuPZKamp?NpqEv$U5G7&Rc3mbQ2v;nBkEUO@a<)Y3 zv9|;q%WG(gSXym%&*iP~raY`)B*Rfbt}l0rGFclkBWjPiHOU^a)WsOa-#v`P1=WUs zMrBAA(vaA{jGlDT_x{{f-xzz&T#2YSsv7Gu2m5Q=6xDj7?uH(Jz{r+xX!|Ca^nayD^ z?NaSct86=AzJwyo#o)0>0w(wVz9N1sn;w0&jyvyw2o9TDMvZ>WPT5#n_3{XQ)H2HH zKAAyvjSZ=xD11yq<>K)ARhf7TU=wmH|7GjX8(Wrq3A~jW?aZrBXQ$41&!7r^&3s(r zQeAgD9IK5mzusNU+>g57IaT}erP9gGYp7O)`e>BYR-#o4dPjAyVyfkW{`ZUTC-PZ8juGu^=N7tWOQfY&8Xa2Dy$&tgd54TYU#)Goa_-U zx%ZuypWrklybG?z@@Mj3O(v6bRxNoBZ_#(Gh6Vy!TuYv5inzuwhDGA4W`nwVqv9i` z2Ka|LgN6%&_&Y?K-up|;EN7mtcAQCiomvdhQ3$v7bShpRYUy)fVo;*!w$S6wwxePyfa~ztw6_TUbY64rSb#y;1cpzgy#=P3=G6+C)M=c&?rQIX zh>iUG>Lbr_yY1-XT^84S!wGSLkvLuI8C7ci0fLhg$iJ*C=jBVkXF>^E7ZI|Iz~8l8 zmj6XcheO`gC!3YwILRf3ALg&*I1SR^3tU63%wYHN#r$-hGY99xNu{o4+dt6sGQzx){nJ#@SX6hWmRz+gWWx z2;Y%z)$-Y49>%A-n(6iqB$HR)Q&ci|~<^!bN~?N@u|0GL@|9?y4WW7FexG&O9r z$6zHhmr@;fp1t17(Hey{bC+hNEG>6v`{=DMQE$$%WM0v%Oskjx<7~A@VV2V$hODB> z|7@%)Wme#F(?K-WRM+LuOaOGo?xk>JnXB*Kn@+%2?pn26DeU0VN3mlI0vu}jW|qnL z-v4Yl*aRSiAedcb8v&V(=v`}>_2_v1o!c57btlH7^6wO);@efQ%dv#H%s~)mbM!+zNMqalrwZSV&ak)XP zxp%nbwzZf>)zKW@TDN9c^l_qTrhn~5hj;r1Z6?U?_uEPNcdSUu;}L!0*|%RLj}c;H zq5K*&)KIgcNqgc5IfL-dDY8o~CseyQQkoMXH6H_Px;ogT-$%a3l+KmJ<+6$1yUKO# zaU(y~$*1zlRAHJYG;QGi9>vhb!J1(NH!OxU?{9`-e6w+Ca!Ih5Q%p%5D7-QxP9DDb z4nF_qSdxWGXv|pPKGlU7Hal;OcthKKi7PixJswq?9GRK_SV6_f9yt@mNSb>17ST#C zlCLBh*hFL9%U5h2d6X<>*37);=hu%F;_&5U>Jnjn4X&2M>JmO>}xK7k$R`tX$N$u)B?)-EVs2X9??kW&4sO zaPXVGuNrGBtSxRXP$Q=^CNQq5Pwoz^#yu_|j!n!iT|n;1num`qkHQT~NHJ{_6vh|p zrJh}8op-63DR20mGa}ZYUewC9#Tjn|vc3>mQAi{Hp4j$TO| z<)$DG*hMHL%r4>M+*VdPM3T6}yU4gB`GFs4h69Uf5AeM;U@3p335#R&#)7Tlth<;- zv{05o5>mvBem%HwRqRY}PdL++RQ?$@1#d30#?R%CER1&@{Dc12dQE}OMVNQyDLJ;?E+L=hGs3^fop>n7 zBT*-#^1kmU`4%PGKnm_u-CyV0q zH$qfXdQ=AGeviqdPx-h&6TF3U9i1#_14at%`U|HX*7?+|6x#GwPkplb&4XpunCYse z^Y-YKFte+Qb5$Cvs}p@Tg3(P=gxz1^Ylm5d8mUI`uE`5X{X5tkYhl-950<~8>vhST zdyx})^85J*6Jp|4(L!HbT65jyiXEOle%b8!$b%10j|(YMdWbIe{n8cm zdvt~k?v-qMh*DD-cid)dYF~-#9#f)G`Ezm04(Fpa5*WV{4%pQF+VlZCI|*=hzk*Gg1Z>zkInK)iTGbiU=nH47%d`cJA@k^fECk z!P!=NRHnVGn*Q?>Mb>_~$=ic-Yw{%a@gqdV;7PRv?Nqo6czlY?>fPj_9v&^3Y%RRY zR^GcMOgX&ASw7vW0CU26(fd44#i`%1;x^VyFH%D7Y9=%-b7c_uDL(w2R&|W@qJ{Vd zHxBs#qq#0I9(hX^!K-J(V5(Ig&GjlTlureAHf@c906k{b^{TjE}s@t~(*Ecuac0wFZw`$2qX0 z<@sC1K5WPLEAs8f>s-1Icr3oQ7@LtPu_VC4D!)S?^Jj)|n2u};)6Zbr`pNalG2ztj zNy9DmW#&!Up_Tyy-?mTHobRqY|3Ux4wYUr2hP0nnA0)Ea*Xb)d=evi_((j^hH?0<5 zgf+8Yos$%3*X}H-aP4T*(>>3~&XqP;oRTfPGx#DpHp#49rZh>+=z88P^J#$g3e22_ zl2~_TDXkS;wbNGCpLb>Ry8s{UO$0fwW>t)ZtWSHi%uFl6J}#XVc{}mYm_H{tMPXJ3 z&uWBcJN-bhj|@6L{O1mhM4~?Dsbq5MPGwkerHn!XJlSpjaE;k+(wGXodcj}tNa&!4 zNl}cfUI}L~J|^gR)2v9|qZwpyuTOZgaBBaMuXe1IMPhc0yz}ABNIw_qKALvIS#ff| zf|PZb4_dKVl7Xyb81xqCXReV7QPEVKQ-e!EAnflGw_pjFG--{L9W@ z?#wx_#x5cufRMT;md(D|A{hIalOx&aWBdk2RZvJY*mG6lXN8*m!z-efWwz~Dv&DOv z#AdP~EAi$Eh$>jLNNSi1I$m`y>p|1=Xg^|Pz-QDN*rNJMB{U2Co4Z1gtOwyN^8_i+0Y;Qf?;^_FnX_-OAEb+}i zk+_psh#)G{M*9q{_9;fOb8edzI69+AH&;%d=N%bi4_Uu=s?_K&9+=@SiA1jw9^7q05{r~)RItql6UHdn8rn0P z?)U{17+;qd`}};LX!k|`^E{iGYcf@CqpSzfNgkrPA_t{ordDNP4odIht%T(roRjzF zpIhW5t1Wk0q|J6qoZ&{hSH|6L-fJx!S6Z5Nv`Ab-YN**Uq;CPmrN<#wT9bC}MwOES z3lIZEn+0Y3)^m@HF_2fq2tCD%ic-XDRligaTKOIEF{fd_G&Th5A$-))`^Qu3sBM+# zT!)o7v+AcZcU~Nk)qC$4wL939KBQyAya7PIJ%T@|tL0h}s$Db^9e*RYI~@jftwV#SwoLi6tZ{pp zBZl>Aww=6>Kr!(zvFK@f%RLbFpo6C2qOx2wEe~5vQ5nh$t+x1U`NP`pYFs*5w^jWr zzgw*wzXDaf{>dl;{JD;EHwks)fdcWH&2TSDulVpzXan1#VI*ZXztvJ2-=4a#qhW3t);qKG}2Hy*IOkrUC^E_aIpi21Axo!?lUW(=$UOU)(mhQR- z4?u&3dbbMs8@4akYBBx+n{K)sD?cCh2V-zZEg`PI)u{T(teHUW;z?Q^v*}Z~ldewh zjmWU%ziv6BTeaYRK3bGMT!)GHaOpgak$SvB=1=A01yadmbglb`8j!@lal?4UWQ*ki zjxEW)*EX!~vki9qBy)Aza~Z(@kVB`Y4qVq^k;lB+oMOW>t84tu1EWoHi2IG2iRTRrrEiA(qbC!y5H%6ITFCUYB3}HA5$4&ePj`+ zRNiInu>Ck;G3p}X3)5ZEb&BFl2iw!m9U;AcLq+;e84izLU_=l^Chk5bmKY1sC*S^H z8K%xjFP2`uZPCR1>aTm5DJ;AEIDe@lr3D~@v)$)s9|m8U=Q>CC3-0r6%wQ0 za`gthD7edEc{hiwd;7AU#^9w8&%&4Hs?u&1D+!WQWpM1*lBmhjN5~iK#A^-23S*)4 z@@R=!ay$PGTahBQS+bqk=_A;M1zvnbg89u6$CWrmY(_baymU+8_?TOvQ<9R_%eWiE8cY>T2^21yeCoZ_Z5I ztenciTSvel4(I_d!ILA+&M;UaNktSHh!G!Mx8~tCGMu4)|%= z31`O}YSeCVqk+nSTP##gu5|6C7n-9?S%Z+*r(dxj zvc<2`t8J*tn!BOY}mUAo?<&}3+nfl@8Wb;mzQvL+l3Gi_G3s3}Q<)wGtyRc(CMM79mtutpFqxdk>K-@z|y<0Xeg5{Mq0-h2o zH*{01pV9(sDwbN{>L??s@Cendt*}Gvho+&nOdT=PreU6DTu7aJ}0JqW|TGfJVC0f+;xf>{)HqGb*HX^tf!J*E4 zl_WoABO8Ot@5C+b-9KTFK4d_o;+BjeFa@8D4%ZfBVo;Bu&H(kUtCdro4fRs*v^yU+ zI}#?Lj)19G)t#myFuix9n7(8W%(e~Mq@qx#0qJPY)bDJ$+0ARCzp3g;%JE%D+L_uF zyS&hHQZX+Ec2(ZnC63-TMU4em%mSHfG>` zZ4|7mzmEa#_4VexwEP~=E)Byzt@Nk(Kj8^cXsW^R3ENvDn|O7TXmPBan3uwT8qS(IjNsZWjh<{CZjzA=U<{)oLk;529?f9daDXYiEV){bB<=3F)TGzYW@0 z3+5Svs!jZPUu@Q^y#R=Wv5?YNFAdbFQbv;cFO-@BgNl+l3kmgNZLuqS_#j3uVb-c> zzLe3%mD$05U6LSXh!??owtxG6ox=-cly2WB+2(%LY{J0=Oa)@aTey#v(pOM{h?N6h z^IiW2Z8@6KK!ZAdX=>ZjmF54!(lJEm^&6Z--B-XCOU-9R#jth})ppIcZF*+>`OqA9 z0o5l^qoKQTNbtYmqRZE1VEST!JJ(J_O_uFYhfCq`+2{%W`}?Fp<@G&WZi718nZP4M zVxW-{Yv36P#iLn+k)E^fOlUtT=wLn|p(!kiU~ zyi{FG>voY=#uGOX-M`eYMCdoo&I4PuObQ*$GF4c94djpDsgdR}n~H~b3DRIkYn={o z3!e1&m+Dc#hLWz9Wk^dJ=jcj<&h$PIx9h(4H*>=2V_ZbP%Z$R0P>b>BN>rLEoAhO+}yR2{1Qwz2=3^@8F&N`_XajFLw%a;& z_X!=m9#Z%W$@+jdHh>D#h2FZ-tRZbI|J_9PGe4EhMEitLOHl1=0Yc7PQuf!$(Ql?d zjbF);jD=bf$80pPRv?IpOG#cx8#6Oj!0xLkZ&31$drX(-_FgS_>I;Kh1==64s%Lco zY8(67Yf5ixGC~KIzgI0f&7$ ztAIt4Zq7(Sof9j@GRE!E>Mcw(bHLY!1^6RW(P@wvlC(!z%er#O(Nc?aKCEsQL{bvO z2U?EWWk0nW%8-qSfv*+xSsX<;*}l3P*?H4%xceEUmV1 zL2mP+nx<@#UOw|sIR>g>u0yn~bNXY1Wun;A#25uE&Zj2!ZP>HS?ItJJeI8;DQ9O&W zae)69_2PtS%O!wfPvH`-`9N%z+nE->t69>pii9pzNl6q-snB4$fZFY7*vT!vZ8l-B zifE@P5Tn`Rvg5pAF{26Q*xABuE7$V|rLok^99g``@axAx}$M!d}hfrP3KtGhnd7d1!bWvR8iiNn#Fzt>@kPa3$k(7F`Dj{=e^M)dRYv5p zcA$kwyOUM-;%k$==!sw@WF}~0&`-W|JvNbp96K-;t{%SG%+PX#Z6G}2y}vRv|21!T zkt|ck6v>!gQ0l;QRy%20u2tjCwWpmW!Vxz#3?N}Cxt+le5v9vENyZwM@BNG#_}b($ z^9kf$QQMDij|?V*_@;FHqAs_oyF3RuHPciLWzU+(>5UAZtoZT{??+QQZ1DaRB#U;2 za5Vme`dq`PQs!H=tL+J5XR1jjh1^iV3xh|Tqd$rWLjdf&P&|})Yv%PJ7e;3Oqe^`m z|H?RRv6(I-y;y7;7BG);1Q-Jv`82VHlrJ;m`E$cZoZFeNxKh{Dq!$6A<#)!?(UiXy zcn{=y<{k-FYeG$GFv?Q6i0IsqF?!Ubo$>*c0&!y(c7eUnFz=gm%bdyedduWoFr~v)iXTmk ztyV9!rKX^LQJC@lbFTnM#67p@8&0TAy$M#M=qPr~uTi44r9 zUe_<^4TQ6VTd+7;NS5+m%p93(kLL%~IAV4zG^a}73wD#NwMNZscgE&FLa3$mz-z3D zFRXIg?WP>Pb_Om+@vGUiLT%GD+N7^^*cs89}{%H zI0h|0HSl*Vp0pHQefES;gV!!w!R8@G2rKfngcV5LepdU?>^JUAWJuv`#E51htcbE> zGLBwbD^ad71K>U#sBbWbL2KLBpr(b!&zJ#Vf)AFtvvoIX$I2|}K~tFVYsV5vow|qq z>`K&^R4M5ZX|hgJ)k52cR#EnA8ZtaU$gTLvoJSIOQs!Ni66oFR_M0|Krkp77rwzS{ zVk`c&+WQ`l=p@Cm>Dd0`RKVX>XF^hdR(qNO1RGd3@gkJ1;vS2h#9^TLCYe@$JqGdt z9X`Ye?0b{H0Q&E==PQzp@<2r>nejB|-Q0|dxMS2Gxq!(ywnal4Om_NxkEHkac-)4tlFW}>P#K06ztLJqo&yZ1 zZc`DM-qkLlxxzL1!BOwPVm%@$D$0E^D%_Mzd78F39M-hPt-ofDUyy2suX+yQ^y?~& z3B$bWnF>y}7xM9 z6b!UDXQ87iSBNzc(-=t5?pLRM2xXHxFh$$vfC)hLj;&1e8#?Cy3@FkLwV4r6SA~<%x>Fcu z$BS)rU`pUQ9l8&I9-UI=0_^~JT03(3#+`=vg9*Dm7H^yjP6z}?e3FeSiQv?ggLjB~ z(;oK&IO#+NEjt~nlp^%7#+b4(?ch|8Za@Dx5Dg5v<0=W9^JpVhV^o1U`9QC?HF7OQ zZ6<~DmS2>$72auZO%QXxPS-e?;NM{^awCKe_~f~6LRvc+sAvG;?V{vo^^$?C-!};> z?|_k?U40NBBnp$_oGCQ(9x#!SF^9q+J>QaS-z{O z=_qTN61^&>d`*o?ZGn+3AP3)R=mXjuIH!gryK+FL|MsINN+Fv@-@T@&Or24R9&qrD zKo`tE+8v87S|g#5+ICy4It?$2@?qS#05lmtwX7j)K;TTkv0^%F7ib+?EmJD?qkPOa zfj#v)6gkG0C%DE!1r>T)`Llu2MYfJr&02zhE;)`$P5h#jq+-Y?PhJA}I?pJk!CZ2q zAgO0|G^oY#d1+Q`7%|Mx72Nv>kXK+ko)`-yJNBQamf<<)xmB_NutC|Q)mpQrFK$Mp z7EZ>D*Hj(X9>A%Fu<|-Mq#oNpF_@PasFpuF`>-8%p;z#?*4?p+A)rfR4QDD~U-Z-i zZMH5J3oN*|Nd+e>YZNh@zdD5F<9r|?t2i+`7ZF7Ef%XfyfeR!)7vb+zEzAszfcKyZ z<|0Ry0PClPxtF0Axfz7P9%2PAlu!J@U~knP$nqLPtpP>DR>E~0@CAYuaFGpUK({~b zb8o*+TX1A_OE*uZ@2yQHtn6SlmsDt=E!@SvSf{+6^g@;E3$9ocv%px$%}v*UOH5U+ zU9lKo5cjNgGmu(w=@0nI=T1{D>czghu^gD$YP$ug2qJo*`8{ZU(E<~Ay9K()gm_=_L28A-cFxbM1ztlREA5n-za$U=+i7ERM#jK5 zz)eP7QC(4ar|udVod8#NE%Re17H^%b2p@KPypQRc(9vK;I8>d zKylGJ;~C<1$>x}+x0??VL>IPGMN?Jze;T&^=diNIKZXr_FZl*ofW&eGH_qP$MNjLL zw~L3HwWn*~#edBA_sD5CACLK=rMc#ZpcP&Ug0}dak0*F0)xYPn`FjkuQ%zY}=^x)^ z`yY?}+!3w$HJbRkf+ecWPx<%IDFcHu0lw~@m%td(+)!WU)NzADDw>B5DX1zgdz@ad~cKQYQx(31BT<0GP zOt&zK^mPwJxdgZ!^#EH9+j-R8-4g^fR0b50r-zSQfQ*Wwin5~mzuttp=msYI&mT`| zadApe`7NzZN9o_zuQPwaKk60Sx9}Oj0RSjUKM@7I`H4wxJ^+XU0OG7fsx$}*t+?U| zcIMx9L`Z1wouE5S^2g3@s?}4wK6m}XQQOn{`?8MSi2HE;@rx~HGbPEPla$z$t%V%- z7T3H>*?Wt|5pSGdTiMDVf9hJ7(y0s^4E5TL^cl=(;!)71oQ$PpAdT5vQ=%z zn%RK?iSP$zA)b$~DC%rzSAFJQv&pENs~{!k#7(!uHt`VZDh=juEdJEV-{yWI#33X= z9j;ONXYbQJJ5|1I{N`h!xHr6S=xkD^WISPR_(e{X;p-lm(OZJ=LrPW~-HmLVOws$3 z&tVvSl~1jVn;K7E+UWaX=jrP*x_h>`MXdi@gz&>!mZ?dmrwhEig8Yi0{DT(4nXgb%A*#!{!7jS#l<(U)QEa1tYIcG zY0Y*SGnooMi=bYe4brIE>-EK3qv!Gfde?;$)mT;k!h&~oDs2r0eVZ+nDq!5M!6DK6 z>NB~yP*G9gkbf8g@j~;P8~aH8Im?i zJ{s%5a;Y8XkPv7Ol)_`jUGyE|Z}#ARePActa?%99Vx?kH+p1G-&&n?7D`NL6e%xo2 zbA6>(z{Qm?KiQar=6xUW8hej=ox7mX*?CrTv+&;GH}YMC+@Z$$ZuddfWs`;pcUUp^ ze1~3yt{hD;z!M149W$$EiPnD{SFxJ!Y(heQUN3$q`^))-SC_?CDlfb` zBC=x3!Yi35p>+$d#Px-s1`7TYkri6C@G46D^73@^p;(UHa-u9(#R4h_EhEY@d@lEj zg<@Flv&*DnnL#bn#rX&lZM1|YE@1S z{<2_ly%z75Hx`p{3#}U&U#rBM82=zF+LrE4zKw63Nv*S@-APzy)!yS#W+JfYLqz!9 zjMTM3w+Av^U1ZT{D{os+A4lDGKpn7$wK%fb10y!JEgh)?YANOih6 zJN7uBxg_8vt7=b2#dzFC?bVK{nJE$3pGq#9Wh`29%2Bx;XusFk8nY@>J^vxn6^Xiu zBli$-)X1LJRf-CS@uFkHO9oxEvYsZF^az1WpUm_Oz`ax-AF=D`(2~`ez0m)zr0*Q7 z_mO?BPvN06)?`LTbnvhF_m;k-vfH8vM3Nlck!(x*KD9A{?(K)`-dHb@Kx9up+CGr& zPQ_2n4&V4LkiHc$`@PVKtf^PRC9mfEn*VOv-FIQ5zgC<*r?>a>M4|2>r$lEjuNx(l zPuy<-I8wr`C*{a21TH8b^jiUe>P(|dq9Vu5H=>17`jm71c>XMbY<@h;XesK7u(d0N&Sj6-h%~1~&1=Uohms2tz=RxiM*!y~5!=lA` z;tVScqxrR^?ZhC3h4Uq)?{q5Q`Pu5eyi@WlQzMXef+1YGXDJPSnY18KB?IX-hfPO2 zn|}mlU(XxCKH;ZVZrpC0dYh$zopT_v%lTy)8X&7!rfkEcf3M_5Wyrbe!K&Ag>< zI>#yulFp!|5kprY=!M%WL*`0q4=c;P__Xx6XIb2Y_V}d!D=bsZvOvbOit$?lHq+O- zs(;Wc2~k1{vg1TcIB)5^{s*Ii%VX8!H#byIOoX7_hR=igX(_0X>p91%3T}sWF;I~$ zPPSU*B+i&;vTpeEG@4>$DVeF$0|vSaDh92X$O0r^&7?pRIXYB|XS~e_CQjD(t5Xry z2--9kJMBpkgih(5!Zfy%wsqKXY<~cx59!aH8=PC6c`R&^$f6dWvZg4U~YhSv<59py0ye@0LThtb!11pTE2eLm^ ze$`Jb5woi5kC?ot=5gpHF^DmK^FwY2_wC$|(Vnc{gCGy^G$x;&{N#YNq<>YbL?r)~ z(g9t+M{HlFT{KS{UrEedH>W$x^Gzck;?2FFF?2)2xomAV(Q2JWzZ1M@B#`+qlfvr} z<3z>@66}+w*UlG#@)ImkV5&aU?ST453No>iCKg0;m;q#OnikHMQ}FG{-dxIrb#w*s z0EZ;X>@D(?GraZv>I?F0x3yB-7Av{WRx~}ZUA=M<6F~qTUXqzRY-^s1C6}qVE<v$SvyT~O>-*Uwwe z*Zn+^=<)|)g6Bho3j$Qa=M-)}dAKio57m>S-4yTFl=$ajlgc+dCyCpxXpfUl&}x4) zX2S{-b1HG7!yjd5YP`y*?KEv)uL$F%Q`_QvgIZ(69?)}pw)*9U+NcpS!X|iTBSp<1 z`mm05>Fd3$$w+Pfbb{ih3c_5iu*(uoguA#AV~GG@S!CpX?2eprw|`X$^vct(aims&z(JGSu7<->3H? z=+MqQLLkyFQF05yc5seuoGhtkw+p;4WaO1tCyIjB5G^eUdy;&@L%vRFJ$fQ!i&|~G zk9_tse%=jyaHdW*FJRQ??J=lWnjL<^hD}TfB}f|-!bRq9ILz)zL#dfczYcNgbM1NBw;~01p6oSkk9>JRY?E84^G0sZy1vw^h0~hL zw9ert1MiuQT*gfB*-Z&?%1yP>pBw}q2fJDB&Y_{)8LHX$U9iRdQQHkaRGGp{+-w9?W1#l+i zuO9^roi~~Hf*R_7H#v!o`~2{bgue>iI3Iu97nw|_VEx~%-3I5BOOoB;hCS!i)Kpf( zyCi>)y8OcM{8yLmL&3#j%AzS5D-uF%UKF`M^Y~@TN9Ojf@WV9&s>QY&PTFaA15pGZU=Ey07N^}S#GEz4Lt*I7hUyQ`x&lnX@L};95@L@eKW{s zD8=)nI{p~+FmzPXcdt2_Uu>9Dl zU~aKzB%c5~(2phUN{DYaZchlZKrk5e94Yyvs9k!8G@J&H5af%@`Cq;WFhd_;_gLnv zwYEpSBV0$`WF_e9*?Idjp52ycdlra+S>=-FlrNONWITZ8x+ZQq!^IegFIM4{HyB9L zbaZ4&#r6jbe5td2bIwUTu`G{c6Y7GrxdD&1w#m1OOm9_pPI%B7mR{(T>m)s)-=rJZ zog6l8sHfOumF-OTpv-=3J52bk)IdbG#BQ(y-rwS5Fp#C7!>ebqt1AksCYgO-i<``* zCi|}DD5Sy}U%L0vpC{$Q=;o2MXcKy5^sRYYwF@3Swc9FBsXwrRwS8~2 z-;e3OHm`IlbGj@pa_A~rP20R%#ojTg3>o@-fI-Pvo$-{+&&wYerxI0t5}n@qA^ahZ~RfK zVwxSlrg`jj`8Hyg+8zRup!KS$&c}i-amsJ3JlhCiA0mi$eO31aV_W>adxzKSgc8W@ zMg6u~bRi~dXz)OG_h8_GrJxHX#(!=&SmK5p)hM^DDC`KsbFhjVHJT1`((iTo-=qhp zCHJ6Dm|ACL5?qn4QZ#bhL}uiK;Nx)Eu;tqBL22sv33tO-jPg(~>rRd@Tl#EP|IY!t@Aq7q&rE*sW^<1GkCe(@xR-l$}-zmVws&BMy zcGNLLE^mukf@q_5LAlb^UtVi6Cwr|K5#EU3=~-$GyutSFxI#WF0-V7w{1$*@ zjzlS_OHlc#DQ)4I;?C#Sbp1}b?c)&!K8>en(;L}lyss{2?jn@_G?s~w}>(PKJQ z^p=L1emia6+4CGb@O^r7lEV9mA5HqPnQJv4vu>Ume!AwJTKXD9z3kGL#n;2Vvr&47 z6K4Y1=~c;w+R}Lj56chbsc@XSU8GXO|Edal_l$kR>D{O2B%fY;H?Tb@t6=y$M$9vcH+)1^YObT*T!b;jUBws-`Hhv|QNpr0_ zST>~Y?BLiRfepA3eSHx%q;GX$V#+P~kXR&jwPpd~oe%pBW3!_8QqGD0h|Vz#cAU@c zP&g?I=}h6*`OvWLlg@4>364{Dlspc4FxHhKg3D_JyXr&<)_zr7}TXT5W>7m+}qYr?h?rr*wG z-L|Ok-8Y0I8Mik<5NnSMT3`1~S`es`jqrMY?Sc;S`6O=VQY3HxkgNj;Netx@J+^Th z8^Z?15-<~TFo{cL#M|w21>008X{`F3E&L!=P~tnfU9l~CG>^_3y5@vZ4U~nGGwqIH z?FiOufYWdJ@+NcqTAroH(9fvdMIV?v>tddNU*JeunQw%&&qUqZBJvz1Qj|x|Op%)C)ip z{MdqVy8i{%VfI)Q^~z}zlsD*NgD=5cQshYbZnmp>&8JU@Xq#Q~2bosx<+?0vk5%8v zZ}mYOLJxXs6>*X%R+`ox)J812l5b=~{Ojkc?}H@uC@~A4$~D2iF>gHENZx$f%w65g zyK4s=JEv4UYe$V7wU6k~{?bj4QSC9t7OscS4wIYW)*n1-ME&R$|KM|ia7r15$7IKk zkH{9lAF5)0Q64wMOfzFtW*`XLQKKVwbE!tI4^&t3`s?Gj=xMPeoHgX~Xs;zvEXj}0 ztY}DEx`lHEy=0>G=v3~YVk&1vrJ#CDx=~x3zZV*1S(XNsZ5!|BQUH%FFbEe-cntRDT78lEW8zUZB&e|!cI}f=RK*Z5% z=d||p=;TIxx(dbIxPcm2UdGWV`GDV!$iZ*9Q2FQm3zTwvT3A`*L5{agLCt9-6~D2= zA>u`kdiqIYfe-r!tJbLBn#>n}1Qxzs{(*ILY5B&}i(bwP)qr<7SqG!f4&k;RDj|d^ zgVfEUe0rp-$~r%^mq5tS?s7)Usfb)zkTcOf&+xtm2a=o_(`N_~ljgTIUtlE*C4$1- zzYTlTaGVMLU$f#7^con*oCI$@h_6urqjsdrG-w9QV8ikQMOpFlJNu4O6b6yvEa~#E zv7_fh_e?zVdn*$p@@t1hk( z>MsEJLocDd4mL^EG;+k_qh{Vws?g_YrC-!h6n+RP;x)@=m=^i1efQk2^Gw5Lg(UNe zW6LZXPTgiz)pm(D9?-OI*BmT)lo;Ii{cUSgtQeviu){LW-8!-Lh-&fpQA<-$9`DkM z;Z^1=_`8Q551BNh6r3qBC8fbFp^QO#EWtV5NUnl`t2Z89+WP=43ciQ+rNQwbu7Jx@ zO$bEpX6^G3lx&x9h8@oAhK<%w#oO;!^Mh6N{e#@L2jWgvLbHq6I z2tL#;vs)5=b)S8hfc5Zmk`W5#ku zproS}1=x9&Hqt}=j5zJ!2f5S-){;(FuvKv8pGnfWwMIdnWnOyUM#I51xZ2Mj17!QF zO$<=r%`F0C`;ZeZ84v!S6{tlWrdWTjfNX!nn8!ub zZ_90qzjFg_ZUL{IKVk- z^XsQXT*)(WGd+jI{CR>OK<@Q22O59cKoCD|Dh&^71vG^oAVvxrgvo=g z{DN3P=~;@9&g*lIGn-`_~GukzXyl@I*(N02*$T zt%(ce;S8lD(U1t$9jumnAA%5(1z_-$s=ks5Tin>ox^3o2l|tX!W1NdnhiC+RYE2>JLo(SD1Nv$8TdKJJ-UroA;B~8X!BC~eL-@}i1b&StOrTt9Lh2yykXN2&@fo~` z#tH?r8&pA9_CSx9W8gBAl@U__QGC!=rD`1d%`hX)K%-4nu0ner=H$|!&i8M4$po!E zw|2u)zDqTLu5;}^qmGu)KhXrjWNnQ!$^J`Mzj?-`J;QTU8@(@tfn}c=>FAC_gW#7) zjVL03hbG2;72P&xGNc&j8%T&YCDFSzwPqiSl~#lVM&|4>*tt~C233|k{h>|wKTPB8 zyc8Sjt7fX(?b|;gfTvgKX3%_}Vb(C9$+FpMJDVrPqVCH1q9GskB73kK2udZZ&qRl3 z?08V?D5$uzyoeS8sNn%TpK>683B>ypBu8{#j7_Qa*%oT5r*7A3a5Qd^sIWD_k*7^R zQfCN*(Dggc30`G&G>858Qq=52?KMfyQjjc4SHN-;LNm>@XOX&7-!nelZn;-Q`mqGo zM>7A&h#Yv;pK+soB(J2cm)vxx>bOc37heR7NL$9LePjrJ!g9iTAf;bf>kbqq@cxWN zb-8oLhEzqM+NtqUM>UGSHHM%9mz3Ml1W2kEF!uJ*9z%4j9N25~ec0#fS0GB`gTu(+ z>GPa&BO{>}Up(sp`ZZ{{yQ9X;8#hTbfU4>8To1{CO2Sv?N z|KN*1hE_SyNV}hrpOh<2b6ZdTj3z@o1`ly3+%XgWl`)BV^gJ&F`nR=2Mx=XXU9Hl7 z%&bKWgzHc|Ham8ndeZ9C4A7tKJH7pFi(|dy0ZAfkYOE};8-RE}t3)a^(4>$h+8a4o zi>%0nY`(|=>;1gq{DC&Fere+>{U~Cd!BSs)#Ov^J$gll;vIF(Lrrf{55w)YBWIHE+ zti`ml5{ zYk)8K}(R$K_p0|sx7BZ1NhoX(%Uo6&UgtuR zr2s$4uAL0dt~NH}^iyWSVxd0&*m8E(-{N5Ec8EK(irO#_wbi%F?rP4jHFEzt-B=#n zmmv-(-Kj-`F7rtSVb@sSo65WeAj3AI4u{_2m4koSsvbM0t>$1FH_%mV(OT%if(jY5 zKW7Cs-(Bjd(o$30iBdbSYH|JY=Y0nI=r+>~jvxdez$8U!R%S_Y{0R;>%mAU7y_TK1 zRjlsX6%~q>8fSoO<>4m3lUvU zU%`{H)^O}Z9>_Hk0Q1DqU|W_AKCmn1La&B@L%T2{rwcmeKs2Z9SYod>Zrnn0xlO_Y zFDQeC@iw^Xu+LHtw)Z6ivqxPJw^<3M;(rcg4~EcE0-1(-cEj7cF4U$sKx>7-mTWmr z!pcl*hZ-8A`XD7D8^v?f(ET5DPxRkEHL5Cs%z@O5l5Gw`>w4H2ltaV*8 zwsA;j{9ya$!X15h+Xm0b{&$1oeP@`hlFuM;0bp^Dcx&25#i{I-0q0s|iqqdr>-K@kMRC3aQ6%)W!_nr$wA%HELx<}jg6ZlAvNS4|;6W>D z8Nc||&Wj%*;xaO=UecHjDL;@{rZ{prAn|qnlKWt1l+Ni9@0NHBuroH~J;?7U%LXS! z`L6WH12~SMY?PPvDxk1vyDY>+&DEIP6ptlI?SDIk`R7~bc{IIz@AZ6zXv60&Ip3?% z=w^n+xA5+~VX|+5GR&B(7eWl18Wp;h)=qQf9cRB{BG|;iK*#cy60VB2Ixh@nWr~1J z4B1#~2Ld>9c)}9J8H|Axq&Fq)i_zj*|xO9pLSv;HDQtlov&Vu z@$%UkD*mk3h!Ja}F6{*P+||uWRWHU)n|9ocd67M0+Fs_<*;bI0TLy_vyf(U4vDz6wE8TKfG|%bF(lLgqR8Hnm zJi!z`S9|qt`)%TK^10{CMrqS!;P1a8+ zEsmXW`PHAy=I%YFYbmP!9d$iRt|!r=pr-`+D$^fonSeR*Nb6;zZnvyTrmHx0Fe@q) z$zD8v(~chy$&|O{HXG|ro11oYL)6;pCHqBC=cjancF1`;dmw*6Lo>AXX8VC9d;ds+ zS5DU!_Sv_sgv{-0Wly`Yf<)9367j|%b2sbw%t(@2tYZaqNL5-{4VXEXdvuWL3ON>` z5kSe$7?CItF$q9e?+?8)aw_MYDI*evMeQQE8xbAeq+DA0%!ckOQl|(%;sjo=%a|GS;FU`yc^n5Zl30-BSlSb|*azO*yWhd^~Q?BoQ_q;!J-R z*H=&%)`}0E>7JDMLGn3Vt#y(vt`E72HpUI3gv%QR5dVc>wZCX#jy zqVR{@)U#)1Dw!IFH;#%d{CchVUhG%zCSc&qIc2A3hPrPt4Y5?gQ#a320 z85n8L(;jpvj=2pJ3&^ydy=~G=RRsF9R|y5Y?r1F_C*u!OCGy&>i)Sl%ja41LEm|L| zQQshi-eHa`N=zX@xE0(TgopGMXpSZ&Z4M5MlV5!xabvUQcO+_qnFEsbCb_1%Si9jY z;&8RvXy2Vda2RTy~=nz*V;5=$@K zC48Sw(|rkkb)GBmCl^SS_mKMy=uof!8c`N2M@U|!y`(Nl4POZF{KmQl<=Bp)=lF~+ zICKt_-+H#iFxgp4b@qXHpWt`>a^=aK`;4_JlpU(U&FqTp^TZm6IZ}TgI4fda6OY__ zVeYEg zSD~mz{aFuKbqXpfK<`TLX`~>uNN1*4HXk<_R9{br?E-8^cS8x}*#3rXaTYBOE<RXT zC}q1B=k;BVaY6$Q46zZt4J8oppTy0qjn?%i@S0+DJ%qujI|@IB>Wm^*ZT#ttfFrfX zWd7*w>~yoZ8o)g?>5#uDoctX6p#kVw+-+$sJeJK2?!g)|v_h!oJ`EIHwxBaZ%KS)| z5r-8;hl^9qfWoO-H%~qHU8bm=2eliL!}^#7hmNBUaDOQ4f4?7m0Q??d`cjZ%nf7yz zm_sp{e+g!F;-9N|3@r2pP=64+4BU5SRBkFojLvSD7i+-O4EEw}H*la{h2F2<2WxJ> zd|zrlG*y;W^oQ)im|cZ*Y5r=e%MPHYyp5UUhHoFMUXV`>S7SMd2qLqiCzIS#(96&( z!^*q@258sk3Ma-UQQ69kN1OwoZH%al;acRe_+SZb&~GR(yU$1`&z=CQOnf_$6qZ}Q z=`A=AqyaCyhz3um6}{v?=ag}q4n^UC%y9(b6Of<7XghhPpYWn{cN;n}!hTBd)!Fr4 zW1HNbf;F;F59$f3W@=HDx~B;@R6SBLa)_4mbpxN$@8^jcv7{Gw806OUHNFT3ZK z)DNBM#tNFO=Yp?e$2C;=#Any8d5Bh(53(S|8iGY+&VL2%Fh6+j2XKM^IbbJ+PRr?` zan!7G^t?d+LdAbA>-+J(T{i0Bz+h$u_j6TY;g7+9AKbASswlSQeG4sO;4768hD&-> zX6-8=T)%fu8nhy?RPuw!bmsAYc&z-D^9}O 0.51 && abs(in_coord.y - 0.5) > 0.51); } - - - - +float rand(vec2 co, float size){ + return fract(sin(dot(co, vec2(12.9898, 78.233))) * 43758.5453) * size; +} diff --git a/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc b/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc index 9a18e76..a8257ac 100644 --- a/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc +++ b/bezel/Mega_Bezel/shaders/base/common/params-0-screen-scale.inc @@ -23,7 +23,7 @@ */ // Screen Scale Required Parameters -#pragma parameter HSM_MEGA_BEZEL_TITLE "[ --- HSM MEGA BEZEL V1.9.0_2023-01-22 --- ]" 0 0 0.001 0.001 +#pragma parameter HSM_MEGA_BEZEL_TITLE "[ --- HSM MEGA BEZEL V1.11.0_2023-02-25 --- ]" 0 0 0.001 0.001 #pragma parameter HSM_RESOLUTION_DEBUG_ON " Show Resolution Info" 0 0 1 1 float HSM_RESOLUTION_DEBUG_ON = global.HSM_RESOLUTION_DEBUG_ON; @@ -138,7 +138,7 @@ float HSM_FLIP_CORE_VERTICAL = -(global.HSM_FLIP_CORE_VERTICAL * 2 - 1); // float HSM_FLIP_CORE_HORIZONTAL = global.HSM_FLIP_CORE_HORIZONTAL; float HSM_FLIP_CORE_HORIZONTAL = -(global.HSM_FLIP_CORE_HORIZONTAL * 2 - 1); -#pragma parameter HSM_ROTATE_CORE_IMAGE " Rotate CRT Tube" 0 0 1 1 +#pragma parameter HSM_ROTATE_CORE_IMAGE " Rotate CRT Tube -- -1:270 | 0 | 1:90" 0 -1 1 1 float HSM_ROTATE_CORE_IMAGE = global.HSM_ROTATE_CORE_IMAGE; @@ -307,10 +307,15 @@ float HSM_CROP_BLACK_THRESHOLD = global.HSM_CROP_BLACK_THRESHOLD / 100; //--------------------------------------------------------------------------------------------------- // DREZ Filter //--------------------------------------------------------------------------------------------------- -#pragma parameter HSM_DREZ_EMPTY_LINE " " 0 0 0.001 0.001 -#pragma parameter HSM_DREZ_TITLE "[ DREZ DOWNSAMPLE FILTER - HYLLIAN - DREZ PRESETS ONLY ]:" 0 0 0.001 0.001 +#pragma parameter HSM_GSHARP_DREZ_EMPTY_LINE " " 0 0 0.001 0.001 +#pragma parameter GSHARP_DREZ_TITLE "[ --- DREZ DOWNSAMPLE FILTER - GUEST.R G-SHARP RESAMPLER --- ]:" 0 0 0.01 0.01 -#pragma parameter C_FILTER_MODE " DREZ Filter: B-SPLINE | BICUBIC | CATMULL-ROM | BICUBIC H" 0 0 3 1 +#pragma parameter HSM_DREZ_GSHARP_ON " G-SHARP ON" 1 0 1 1 +// Default was 1.2, now set to 2.3 to match smoothing in Hyllian b-spline +#pragma parameter HSM_DREZ_HSHARP0 " Filter Range" 2.3 1.0 6.0 0.1 +#pragma parameter HSM_DREZ_SIGMA_HV " Gaussian Blur Sigma" 0.75 0.1 7.0 0.05 +#pragma parameter HSM_DREZ_SHAR " Sharpness Definition" 0.5 0.0 2.0 0.05 +#pragma parameter HSM_DREZ_HAR " Anti-Ringing" 0.5 0.0 1.0 0.10 //--------------------------------------------------------------------------------------------------- // SCANLINE DIRECTION @@ -456,6 +461,9 @@ float HSM_CRT_CURVATURE_SCALE = global.HSM_CRT_CURVATURE_SCALE / 100; #pragma parameter HSM_SIGNAL_NOISE_AMOUNT " Amount" 0.2 -1.0 1.0 0.02 #define HSM_SIGNAL_NOISE_AMOUNT global.HSM_SIGNAL_NOISE_AMOUNT +#pragma parameter HSM_SIGNAL_NOISE_BLACK_LEVEL " Contrast" 100 0 300 5 +#define HSM_SIGNAL_NOISE_BLACK_LEVEL global.HSM_SIGNAL_NOISE_BLACK_LEVEL / 100 + #pragma parameter HSM_SIGNAL_NOISE_SIZE_MODE " Noise Resolution Mode: SCANLINE | CORE | SMOOTHED" 0 0 2 1 #define HSM_SIGNAL_NOISE_SIZE_MODE global.HSM_SIGNAL_NOISE_SIZE_MODE diff --git a/bezel/Mega_Bezel/shaders/base/intro.inc b/bezel/Mega_Bezel/shaders/base/intro.inc index 5cc5ddd..fcf01ff 100644 --- a/bezel/Mega_Bezel/shaders/base/intro.inc +++ b/bezel/Mega_Bezel/shaders/base/intro.inc @@ -106,12 +106,16 @@ vec4 GetColorWithIntro(vec4 in_color, vec2 in_coord, in sampler2D in_logo_image_ in_coord.y = HSM_FLIP_VIEWPORT_VERTICAL * HSM_FLIP_CORE_VERTICAL * in_coord.y; in_coord.x = HSM_FLIP_VIEWPORT_HORIZONTAL * HSM_FLIP_CORE_HORIZONTAL * in_coord.x; - if (HSM_ROTATE_CORE_IMAGE > 0.5) + if (abs(HSM_ROTATE_CORE_IMAGE) == 1) { in_coord.xy = in_coord.yx; - in_coord.y = (in_coord.y - 0.5) * -1 + 0.5; + + if (HSM_ROTATE_CORE_IMAGE == 1) + in_coord.y = (in_coord.y - 0.5) * -1 + 0.5; + else if (HSM_ROTATE_CORE_IMAGE == -1) + in_coord.x = (in_coord.x - 0.5) * -1 + 0.5; } - + float frame_count = HSM_INTRO_WHEN_TO_SHOW == 2 ? CURRENT_FRAME_FROM_CACHE_INFO : global.FrameCount; float mask_wait = 20 / HSM_INTRO_SPEED; @@ -152,7 +156,7 @@ vec4 GetColorWithIntro(vec4 in_color, vec2 in_coord, in sampler2D in_logo_image_ vec2 noise_res = global.SourceSize.xy; noise_res = min(noise_res, vec2(640, 480)); - if (HSM_ROTATE_CORE_IMAGE > 0.5) + if (abs(HSM_ROTATE_CORE_IMAGE) > 0.5) noise_res.xy = noise_res.yx; vec2 quantized_coord = vec2(floor((in_coord.x + 0.01) * noise_res.x) / noise_res.x, floor((in_coord.y + 0.01) * noise_res.y) / noise_res.y); @@ -189,7 +193,7 @@ vec4 GetColorWithIntro(vec4 in_color, vec2 in_coord, in sampler2D in_logo_image_ float intro_logo_height = HSM_INTRO_LOGO_HEIGHT; if (intro_logo_height == 0) - intro_logo_height = HSM_ROTATE_CORE_IMAGE > 0.5 ? intro_image_res.y / global.OriginalSize.y + intro_logo_height = abs(HSM_ROTATE_CORE_IMAGE) > 0.5 ? intro_image_res.y / global.OriginalSize.y : intro_image_res.y / global.OriginalSize.x; vec2 intro_image_scale = vec2(intro_logo_height * intro_image_aspect / SCREEN_ASPECT, intro_logo_height) * min(SCREEN_ASPECT, 1); diff --git a/bezel/Mega_Bezel/shaders/base/text.inc b/bezel/Mega_Bezel/shaders/base/text.inc index 8dac321..72259a3 100644 --- a/bezel/Mega_Bezel/shaders/base/text.inc +++ b/bezel/Mega_Bezel/shaders/base/text.inc @@ -569,11 +569,11 @@ float DrawResolutions(vec2 uv, vec2 viewport_size, vec2 screen_size, vec4 screen print_pos.x = margin; print_pos.y += STRHEIGHT(1); - // Text Version V1.9.0_2023-01-22 + // Text Version V1.11.0_2023-02-25 // Version - _1 _per _9 _per _0 _spc + _1 _per _1 _1 _per _0 _spc // Date - _2 _0 _2 _3 _dsh _0 _1 _dsh _2 _2 + _2 _0 _2 _3 _dsh _0 _2 _dsh _2 _5 // Title ---------------------------------------------------------- print_pos.x = margin; diff --git a/bezel/Mega_Bezel/shaders/guest/extras/hsm-drez-g-sharp_resampler.slang b/bezel/Mega_Bezel/shaders/guest/extras/hsm-drez-g-sharp_resampler.slang new file mode 100644 index 0000000..3bb2df3 --- /dev/null +++ b/bezel/Mega_Bezel/shaders/guest/extras/hsm-drez-g-sharp_resampler.slang @@ -0,0 +1,152 @@ +#version 450 + +/* + G-sharp resampler - dynamic range, resizable + + Copyright (C) 2020 - 2021 guest(r) - guest.r@gmail.com + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + Anti-Ringing inspired by Hyllian + +*/ + +layout(push_constant) uniform Push +{ + vec4 SourceSize; + vec4 OriginalSize; + vec4 OutputSize; + uint FrameCount; + float HSM_DREZ_GSHARP_ON; + float HSM_DREZ_SIGMA_HV; + float HSM_DREZ_HSHARP0; + float HSM_DREZ_HAR; + float HSM_DREZ_SHAR; +} params; + +#pragma parameter HSM_GSHARP_DREZ_EMPTY_LINE " " 0 0 0.001 0.001 +#pragma parameter GSHARP_DREZ_TITLE "[ --- DREZ DOWNSAMPLE FILTER - GUEST.R G-SHARP RESAMPLER --- ]:" 0 0 0.01 0.01 + +#pragma parameter HSM_DREZ_GSHARP_ON " G-SHARP ON" 1 0 1 1 +#define HSM_DREZ_GSHARP_ON params.HSM_DREZ_GSHARP_ON + +// Default was 1.2, now set to 2.3 to match smoothing in Hyllian b-spline +#pragma parameter HSM_DREZ_HSHARP0 " Filter Range" 2.3 1.0 6.0 0.1 +#define HSM_DREZ_HSHARP0 params.HSM_DREZ_HSHARP0 + +// Default was 0.75 +#pragma parameter HSM_DREZ_SIGMA_HV " Gaussian Blur Sigma" 0.75 0.1 7.0 0.05 +#define HSM_DREZ_SIGMA_HV params.HSM_DREZ_SIGMA_HV + +// Default was 0.5 +#pragma parameter HSM_DREZ_SHAR " Sharpness Definition" 0.5 0.0 2.0 0.05 +#define HSM_DREZ_SHAR params.HSM_DREZ_SHAR + +// Default was 0.5 +#pragma parameter HSM_DREZ_HAR " Anti-Ringing" 0.5 0.0 1.0 0.10 +#define HSM_DREZ_HAR params.HSM_DREZ_HAR + +layout(std140, set = 0, binding = 0) uniform UBO +{ + mat4 MVP; +} global; + +#pragma stage vertex +layout(location = 0) in vec4 Position; +layout(location = 1) in vec2 TexCoord; +layout(location = 0) out vec2 vTexCoord; + +void main() +{ + gl_Position = global.MVP * Position; + vTexCoord = TexCoord; +} + +#pragma stage fragment +layout(location = 0) in vec2 vTexCoord; +layout(location = 0) out vec4 FragColor; +layout(set = 0, binding = 2) uniform sampler2D Source; + +#define COMPAT_TEXTURE(c,d) texture(c,d) +#define SourceSize params.SourceSize + +float invsqrsigma_h = 1.0/(2.0*HSM_DREZ_SIGMA_HV*HSM_DREZ_SIGMA_HV); + +float gaussian(float x, float y) +{ + return exp(-(x*x + y*y)*invsqrsigma_h); +} + +void main() +{ + if (HSM_DREZ_GSHARP_ON == 0) + { + FragColor = texture(Source, vTexCoord); + return; + } + + vec2 f = fract(SourceSize.xy * vTexCoord.xy); + f = 0.5 - f; + vec2 tex = floor(SourceSize.xy * vTexCoord)*SourceSize.zw + 0.5*SourceSize.zw; + vec2 dx = vec2(SourceSize.z, 0.0); + vec2 dy = vec2(0.0, SourceSize.w); + + vec3 colorx = 0.0.xxx; + vec3 colory = 0.0.xxx; + float wx, wy; + float wsumx = 0.0; + float wsumy = 0.0; + vec3 pixel; + float x; + + vec3 xcmax = 0.0.xxx; + vec3 xcmin = 1.0.xxx; + + float sharp = gaussian(HSM_DREZ_HSHARP0, 0.0); + float maxsharp = 0.07; + float FPR = HSM_DREZ_HSHARP0; + float fpx = 1.0; + + float LOOPSIZE = ceil(2.0*FPR); + float y = -LOOPSIZE; + + do + { + x = -LOOPSIZE; + + do + { + pixel = COMPAT_TEXTURE(Source, tex + x*dx + y*dy).rgb; + + wx = gaussian(x+f.x, y+f.y) - sharp; + fpx = (sqrt(dot(vec2(x+f.x,y+f.y),vec2(x+f.x,y+f.y)))-FPR)/FPR; + if (((x*x) + (y*y)) < 1.25*FPR) { xcmax = max(xcmax, pixel); xcmin = min(xcmin, pixel); } + if (wx < 0.0) wx = clamp(wx, mix(-maxsharp, 0.0, pow(abs(fpx), HSM_DREZ_SHAR)), 0.0); + colorx = colorx + wx * pixel; + wsumx = wsumx + wx; + x = x + 1.0; + + } while (x <= LOOPSIZE); + + y = y + 1.0; + + } while (y <= LOOPSIZE); + + vec3 color = colorx/wsumx; + + color = mix(clamp(color, 0.0, 1.0), clamp(color, xcmin, xcmax), HSM_DREZ_HAR); + + FragColor = vec4(color, 1.0); +} diff --git a/bezel/Mega_Bezel/shaders/guest/grade/hsm-pre-shaders-afterglow-grade.slang b/bezel/Mega_Bezel/shaders/guest/grade/hsm-pre-shaders-afterglow-grade.slang index da9dfdd..e5e5847 100644 --- a/bezel/Mega_Bezel/shaders/guest/grade/hsm-pre-shaders-afterglow-grade.slang +++ b/bezel/Mega_Bezel/shaders/guest/grade/hsm-pre-shaders-afterglow-grade.slang @@ -900,9 +900,9 @@ vec3 vcolor = adj; HSM_UpdateGlobalScreenValuesFromCache(InfoCachePass, vTexCoord); vec2 derezed_size = HSM_GetNegativeCropAddedSize(); vec2 cur_pixel_pos = vTexCoord * derezed_size; - vec2 cropped_size = HSM_ROTATE_CORE_IMAGE > 0.5 ? vec2(CROPPED_ROTATED_SIZE.y, CROPPED_ROTATED_SIZE.x) : CROPPED_ROTATED_SIZE; - vec2 raw_size = HSM_ROTATE_CORE_IMAGE > 0.5 ? vec2(ROTATED_CORE_PREPPED_SIZE.y, ROTATED_CORE_PREPPED_SIZE.x) : ROTATED_CORE_PREPPED_SIZE; - vec2 sample_start_area = HSM_ROTATE_CORE_IMAGE > 0.5 ? vec2(SAMPLE_AREA_START_PIXEL_COORD.y, SAMPLE_AREA_START_PIXEL_COORD.x) : SAMPLE_AREA_START_PIXEL_COORD; + vec2 cropped_size = abs(HSM_ROTATE_CORE_IMAGE) > 0.5 ? vec2(CROPPED_ROTATED_SIZE.y, CROPPED_ROTATED_SIZE.x) : CROPPED_ROTATED_SIZE; + vec2 raw_size = abs(HSM_ROTATE_CORE_IMAGE) > 0.5 ? vec2(ROTATED_CORE_PREPPED_SIZE.y, ROTATED_CORE_PREPPED_SIZE.x) : ROTATED_CORE_PREPPED_SIZE; + vec2 sample_start_area = abs(HSM_ROTATE_CORE_IMAGE) > 0.5 ? vec2(SAMPLE_AREA_START_PIXEL_COORD.y, SAMPLE_AREA_START_PIXEL_COORD.x) : SAMPLE_AREA_START_PIXEL_COORD; vec2 pos_in_cropped_coords = (cur_pixel_pos - sample_start_area) / cropped_size; pos_in_cropped_coords = (pos_in_cropped_coords - 0.5) * (1 - 2 * MAX_NEGATIVE_CROP) + 0.5; diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.inc b/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.inc index 2a19fe1..ade941c 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.inc +++ b/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass1.inc @@ -1,7 +1,7 @@ /* CRT - Guest - NTSC - Pass1 - Copyright (C) 2018-2022 guest(r) - guest.r@gmail.com + Copyright (C) 2018-2023 guest(r) - guest.r@gmail.com Incorporates many good ideas and suggestions from Dr. Venom. I would also like give thanks to many Libretro forums members for continuous feedback, suggestions and caring about the shader. @@ -42,7 +42,7 @@ layout(push_constant) uniform Push #pragma parameter HSM_NTSC_FILTERING_EMPTY_LINE " " 0 0 0.001 0.001 #pragma parameter HSM_NTSC_FILTERING_TITLE "[ NTSC FILTERING OPTIONS ]: " 0.0 0.0 1.0 1.0 -#pragma parameter HSHARPNESS " NTSC Horizontal Filter Range -- HSHARPNESS" 1.5 1.0 8.0 0.05 +#pragma parameter HSHARPNESS " NTSC Horizontal Filter Range -- HSHARPNESS" 1.5 1.0 1.5 0.05 #define HSHARPNESS params.HSHARPNESS #pragma parameter SIGMA_HOR " NTSC Horizontal Blur Sigma -- SIGMA_HOR" 0.90 0.1 7.0 0.05 diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.inc b/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.inc index 370e7d2..4e3b4c3 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.inc +++ b/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced-ntsc-pass2.inc @@ -1,7 +1,7 @@ /* CRT - Guest - Advanced - NTSC - Copyright (C) 2018-2022 guest(r) - guest.r@gmail.com + Copyright (C) 2018-2023 guest(r) - guest.r@gmail.com Incorporates many good ideas and suggestions from Dr. Venom. I would also like give thanks to many Libretro forums members for continuous feedback, suggestions and caring about the shader. @@ -56,7 +56,7 @@ layout(push_constant) uniform Push #pragma parameter bogus_brightness "[ BRIGHTNESS SETTINGS ]:" 0.0 0.0 1.0 1.0 -#pragma parameter glow " Glow Strength -- glow" 0.08 -2.0 2.0 0.01 +#pragma parameter glow " (Magic) Glow Strength -- glow" 0.08 -2.0 2.0 0.01 #define glow global.glow // Glow Strength #pragma parameter bloom " Bloom Strength -- bloom" 0.0 -2.0 2.0 0.05 @@ -103,7 +103,7 @@ layout(push_constant) uniform Push #pragma parameter vertmask " Scanline Color Deconvergence -- vertmask" 0.0 -1.0 1.0 0.1 #define vertmask global.vertmask // Scanline deconvergence colors -#pragma parameter scans " Scanline Saturation / Mask Falloff -- scans" 0.40 0.0 3.5 0.05 +#pragma parameter scans " Scanline Saturation / Mask Falloff -- scans" 0.50 -5.0 5.0 0.10 #define scans global.scans // scanline saturation #pragma parameter scan_falloff " Scanline Falloff -- scan_falloff" 1.0 0.20 2.0 0.05 @@ -418,8 +418,10 @@ if (!interb) cref1 = color1 / mc1; cref2 = color2 / mc2; - w1 = pow(w1, mix(2.0*scans.xxx + 1.0, 1.0.xxx, cref1))*mix(1.0.xxx + 0.075*scans, 1.0.xxx, cref1); - w2 = pow(w2, mix(2.0*scans.xxx + 1.0, 1.0.xxx, cref2))*mix(1.0.xxx + 0.075*scans, 1.0.xxx, cref2); + float scanpow1 = (scans > 0.0) ? 1.0 : pow(f1, 0.375); + float scanpow2 = (scans > 0.0) ? 1.0 : pow(f2, 0.375); + w1 = pow(w1, mix(2.0*abs(scans).xxx + 1.0, 1.0.xxx, mix(1.0.xxx, cref1, scanpow1))); + w2 = pow(w2, mix(2.0*abs(scans).xxx + 1.0, 1.0.xxx, mix(1.0.xxx, cref2, scanpow2))); // Scanline Deconvergence diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced.inc b/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced.inc index 2c29eed..0f00d36 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced.inc +++ b/bezel/Mega_Bezel/shaders/guest/hsm-crt-guest-advanced.inc @@ -1,7 +1,7 @@ /* CRT - Guest - Advanced - Copyright (C) 2018-2022 guest(r) - guest.r@gmail.com + Copyright (C) 2018-2023 guest(r) - guest.r@gmail.com Incorporates many good ideas and suggestions from Dr. Venom. I would also like give thanks to many Libretro forums members for continuous feedback, suggestions and caring about the shader. @@ -28,7 +28,7 @@ #pragma parameter GDV_BRIGHTNESS_EMPTY_LINE " " 0 0 0.001 0.001 #pragma parameter bogus_brightness "[ BRIGHTNESS SETTINGS ]:" 0.0 0.0 1.0 1.0 -#pragma parameter glow " Glow Strength -- glow" 0.08 -2.0 2.0 0.01 +#pragma parameter glow " (Magic) Glow Strength -- glow" 0.08 -2.0 2.0 0.01 #define glow global.glow // Glow Strength #pragma parameter bloom " Bloom Strength -- bloom" 0.0 -2.0 2.0 0.05 @@ -76,7 +76,7 @@ #pragma parameter vertmask " Scanline Color Deconvergence -- vertmask" 0.0 -1.0 1.0 0.1 #define vertmask global.vertmask // Scanline deconvergence colors -#pragma parameter scans " Scanline Saturation / Mask Falloff -- scans" 0.4 0.0 3.5 0.05 +#pragma parameter scans " Scanline Saturation / Mask Falloff -- scans" 0.5 -5.0 5.0 0.10 #define scans global.scans // scanline saturation #pragma parameter scan_falloff " Scanline Falloff -- scan_falloff" 1.0 0.20 2.0 0.05 @@ -100,10 +100,10 @@ #pragma parameter h_sharp " Horizontal sharpness -- h_sharp" 5.20 0.20 15.0 0.10 #define h_sharp global.h_sharp // pixel sharpness -#pragma parameter s_sharp " Substractive sharpness (1.0 recommended) -- s_sharp" 0.80 0.0 1.5 0.10 +#pragma parameter s_sharp " Substractive sharpness (1.0 recommended) -- s_sharp" 0.50 0.0 2.0 0.10 #define s_sharp global.s_sharp // substractive sharpness -#pragma parameter ring " Substractive sharpness Ringing -- ring" 0.8 0.0 4.0 0.1 +#pragma parameter ring " Substractive sharpness Ringing -- ring" 0.0 0.0 3.0 0.05 #define ring global.ring // substractive sharpness ringing #pragma parameter smart_ei " Smart Edges Effect Strength -- smart_ei" 0.0 0.0 0.75 0.01 @@ -125,11 +125,26 @@ // #pragma parameter IOS " Integer Scaling: Odd:Y, Even:'X'+Y" 0.0 0.0 4.0 1.0 // #define IOS params.IOS // Smart Integer Scaling -// #pragma parameter OS " R. Bloom Overscan Mode" 1.0 0.0 2.0 1.0 -// #define OS params.OS // Do overscan +#pragma parameter GDV_RASTERBLOOM_EMPTY_LINE " " 0 0 0.001 0.001 +#pragma parameter GDV_RASTERBLOOM_TITLE "[ OVERSCAN & RASTER BLOOM ]: " 0.0 0.0 1.0 1.0 -// #pragma parameter BLOOM " Raster bloom %" 0.0 0.0 20.0 1.0 -// #define BLOOM params.BLOOM // Bloom overscan percentage +#pragma parameter GDV_OVERSCAN " Overscan % -- GDV_OVERSCAN" 0 -50 100 0.5 +#define GDV_OVERSCAN (global.GDV_OVERSCAN / 100) + +#pragma parameter GDV_OVERSCAN_X " Overscan X % -- GDV_OVERSCAN_X" 0 -50 100 0.5 +#define GDV_OVERSCAN_X (GDV_OVERSCAN + global.GDV_OVERSCAN_X / 100) + +#pragma parameter GDV_OVERSCAN_Y " Overscan Y % -- GDV_OVERSCAN_Y" 0 -50 100 0.5 +#define GDV_OVERSCAN_Y (GDV_OVERSCAN + global.GDV_OVERSCAN_Y / 100) + +#pragma parameter GDV_RASTER_BLOOM_ON " Raster Bloom ON -- GDV_RASTER_BLOOM_ON" 0 0 1 1 +#define GDV_RASTER_BLOOM_ON global.GDV_RASTER_BLOOM_ON + +#pragma parameter OS " Raster Bloom Overscan Mode -- OS" 2.0 0.0 2.0 1.0 +#define OS global.OS + +#pragma parameter BLOOM " Raster Bloom % -- BLOOM" 5.0 0.0 20.0 1.0 +#define BLOOM global.BLOOM // Bloom overscan percentage // #pragma parameter warpX " CurvatureX (default 0.03)" 0.0 0.0 0.25 0.01 // #define warpX params.warpX // Curvature X @@ -224,12 +239,13 @@ vec2 Warp(vec2 pos) return pos*0.5 + 0.5; } +*/ + vec2 Overscan(vec2 pos, float dx, float dy){ pos=pos*2.0-1.0; pos*=vec2(dx,dy); return pos*0.5+0.5; } -*/ vec3 gc(vec3 c) { @@ -316,10 +332,39 @@ void main() vec2 pos = Warp(texcoord); */ + // HSM Added + + // HSM Added vec2 screen_curved_coord = HSM_GetCRTShaderCurvedCoord(SCREEN_COORD); + + // Screen Curved Coordinate but not Mirrored + vec2 screen_curved_coord_with_overscan = HSM_ApplyOverscan(screen_curved_coord, GDV_OVERSCAN_X, GDV_OVERSCAN_Y); + vec2 pos = HSM_GetMirrorWrappedCoord(screen_curved_coord); + // Add overscan to mirror wrapped coord + pos = HSM_ApplyOverscan(pos, GDV_OVERSCAN_X, GDV_OVERSCAN_Y); + + vec2 screen_scale_with_overscan = SCREEN_SCALE * (vec2(GDV_OVERSCAN_X, GDV_OVERSCAN_Y) + 1); + + // Screen Coordinate overscan but without curvature + vec2 screen_coord_with_overscan = HSM_ApplyOverscan(SCREEN_COORD, GDV_OVERSCAN_X, GDV_OVERSCAN_Y); + + if (GDV_RASTER_BLOOM_ON > 0.5) + { + pos = HSM_ApplyRasterBloomOverscan(pos, OS, BLOOM, lum); + screen_curved_coord_with_overscan = HSM_ApplyRasterBloomOverscan(screen_curved_coord_with_overscan, OS, BLOOM, lum); + screen_coord_with_overscan = HSM_ApplyRasterBloomOverscan(screen_coord_with_overscan, OS, BLOOM, lum); + screen_scale_with_overscan *= HSM_GetRasterBloomScale(OS, BLOOM, lum); + + if (HHLP_IsOutsideCoordSpace(screen_curved_coord_with_overscan)) + { + FragColor = vec4(0); + return; + } + } + bool smarte = (smart_ei > 0.01); // smart edge interpolation on / off vec2 coffset = vec2(0.5, 0.5); @@ -363,7 +408,8 @@ void main() float sharp1 = s_sharp * zero; /* HSM Removed - float fdivider = max(min(mix(prescalex.x, prescalex.y,TATE), 2.0), 1.5*float(interb)); + float idiv = clamp(mix(SourceSize.x, SourceSize.y, TATE) / 400.0, 1.0, 2.0); + float fdivider = max(min(mix(prescalex.x, prescalex.y,TATE), 2.0), idiv*float(interb)); */ // HSM Added @@ -390,8 +436,8 @@ void main() float twl3 = max(wl3 - sharp1, 0.0); float twl2 = max(wl2 - sharp1, mix(-0.12, 0.0, 1.0-fp1*fp1)); - float twl1 = max(wl1 - sharp1, 0.0); - float twr1 = max(wr1 - sharp1, 0.0); + float twl1 = max(wl1 - sharp1, -0.12); + float twr1 = max(wr1 - sharp1, -0.12); float twr2 = max(wr2 - sharp1, mix(-0.12, 0.0, 1.0-fpx*fpx)); float twr3 = max(wr3 - sharp1, 0.0); @@ -408,7 +454,7 @@ void main() c2 = max(c2 - sth, 0.0); } - vec3 l3, l2, l1, r1, r2, r3, sl2, sl1, sr1, sr2, color1, color2, colmin, colmax; + vec3 l3, l2, l1, r1, r2, r3, color1, color2, colmin, colmax; l3 = COMPAT_TEXTURE(LinearizePass, pC4 -off2).rgb; l2 = COMPAT_TEXTURE(LinearizePass, pC4 -offx).rgb; @@ -442,8 +488,8 @@ void main() float rm2 = max(max(r2.r,r2.g),r2.b); float swl2 = max(twl2, 0.0) * (dot(l2,luma) + ts); - float swl1 = twl1 * (dot(l1,luma) + ts); - float swr1 = twr1 * (dot(r1,luma) + ts); + float swl1 = max(twl1, 0.0) * (dot(l1,luma) + ts); + float swr1 = max(twr1, 0.0) * (dot(r1,luma) + ts); float swr2 = max(twr2, 0.0) * (dot(r2,luma) + ts); float fscolor1 = (lm2*swl2 + lm1*swl1 + rm1*swr1 + rm2*swr2)/(swl2+swl1+swr1+swr2); @@ -493,8 +539,8 @@ void main() rm2 = max(max(r2.r,r2.g),r2.b); swl2 = max(twl2, 0.0) * (dot(l2,luma) + ts); - swl1 = twl1 * (dot(l1,luma) + ts); - swr1 = twr1 * (dot(r1,luma) + ts); + swl1 = max(twl1, 0.0) * (dot(l1,luma) + ts); + swr1 = max(twr1, 0.0) * (dot(r1,luma) + ts); swr2 = max(twr2, 0.0) * (dot(r2,luma) + ts); float fscolor2 = (lm2*swl2 + lm1*swl1 + rm1*swr1 + rm2*swr2)/(swl2+swl1+swr1+swr2); @@ -558,8 +604,10 @@ if (!interb) cref1 = color1 / mc1; cref2 = color2 / mc2; - w1 = pow(w1, mix(2.0*scans.xxx + 1.0, 1.0.xxx, cref1))*mix(1.0.xxx + 0.075*scans, 1.0.xxx, cref1); - w2 = pow(w2, mix(2.0*scans.xxx + 1.0, 1.0.xxx, cref2))*mix(1.0.xxx + 0.075*scans, 1.0.xxx, cref2); + float scanpow1 = (scans > 0.0) ? 1.0 : pow(f1, 0.375); + float scanpow2 = (scans > 0.0) ? 1.0 : pow(f2, 0.375); + w1 = pow(w1, mix(2.0*abs(scans).xxx + 1.0, 1.0.xxx, mix(1.0.xxx, cref1, scanpow1))); + w2 = pow(w2, mix(2.0*abs(scans).xxx + 1.0, 1.0.xxx, mix(1.0.xxx, cref2, scanpow2))); // Scanline Deconvergence @@ -622,6 +670,6 @@ if (abs(vertmask) > 0.025) if (HSM_GetUseFakeScanlines()) { vec2 tube_curved_coord = HSM_GetTubeCurvedCoord(TUBE_DIFFUSE_COORD, 1, TUBE_DIFFUSE_SCALE, TUBE_SCALE, TUBE_DIFFUSE_ASPECT, 1); - FragColor = HSM_ApplyScanlineMask(FragColor, SCREEN_SCALE, SCREEN_COORD, screen_curved_coord, tube_curved_coord, HSM_FAKE_SCANLINE_OPACITY); + FragColor = HSM_ApplyScanlineMask(FragColor, screen_scale_with_overscan, screen_coord_with_overscan, screen_curved_coord_with_overscan, tube_curved_coord, HSM_FAKE_SCANLINE_OPACITY); } } diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-deconvergence.inc b/bezel/Mega_Bezel/shaders/guest/hsm-deconvergence.inc index e95d7a3..a82fef6 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-deconvergence.inc +++ b/bezel/Mega_Bezel/shaders/guest/hsm-deconvergence.inc @@ -1,7 +1,7 @@ /* CRT - Guest - Advanced - Copyright (C) 2018-2022 guest(r) - guest.r@gmail.com + Copyright (C) 2018-2023 guest(r) - guest.r@gmail.com Incorporates many good ideas and suggestions from Dr. Venom. I would also like give thanks to many Libretro forums members for continuous feedback, suggestions and caring about the shader. @@ -25,28 +25,38 @@ #pragma parameter GDV_BRIGHTNESS_EMPTY_LINE " " 0 0 0.001 0.001 #pragma parameter bogus_brightness "[ BRIGHTNESS SETTINGS ]:" 0.0 0.0 1.0 1.0 -#pragma parameter glow " Glow Strength -- glow" 0.08 -2.0 2.0 0.01 +#pragma parameter m_glow " Ordinary Glow / Magic Glow -- m_glow" 0.0 0.0 1.0 1.0 + +#pragma parameter m_glow_low " Magic Glow Low Strength -- m_glow_low" 0.35 0.0 7.0 0.05 + +#pragma parameter m_glow_high " Magic Glow High Strength -- m_glow_high" 5.0 0.0 7.0 0.10 + +#pragma parameter m_glow_dist " Magic Glow Distribution -- m_glow_dist" 1.0 0.20 4.0 0.05 + +#pragma parameter m_glow_mask " Magic Glow Mask Strength -- m_glow_mask" 1.0 0.0 2.0 0.025 + +#pragma parameter glow " (Magic) Glow Strength -- glow" 0.08 -2.0 2.0 0.01 #define glow global.glow // Glow Strength -#pragma parameter bloom " Bloom Strength -- bloom" 0.0 -2.0 2.0 0.05 +#pragma parameter bloom " Bloom Strength -- bloom" 0.0 -2.0 2.0 0.05 #define bloom global.bloom // bloom effect -#pragma parameter mask_bloom " Mask Bloom -- mask_bloom" 0.0 0.0 2.0 0.05 +#pragma parameter mask_bloom " Mask Bloom -- mask_bloom" 0.0 0.0 2.0 0.05 #define mask_bloom global.mask_bloom // bloom effect -#pragma parameter bloom_dist " Bloom Distribution -- bloom_dist" 0.0 0.0 3.0 0.05 +#pragma parameter bloom_dist " Bloom Distribution -- bloom_dist" 0.0 0.0 3.0 0.05 #define bloom_dist global.bloom_dist // bloom effect distribution -#pragma parameter halation " Halation Strength -- halation" 0.0 -2.0 2.0 0.025 +#pragma parameter halation " Halation Strength -- halation" 0.0 -2.0 2.0 0.025 #define halation global.halation // halation effect -#pragma parameter gamma_c " Gamma Correct -- gamma_c" 1.0 0.50 2.0 0.025 +#pragma parameter gamma_c " Gamma Correct -- gamma_c" 1.0 0.50 2.0 0.025 #define gamma_c global.gamma_c // adjust brightness -#pragma parameter brightboost " Bright Boost Dark Pixels -- brightboost" 1.40 0.25 10.0 0.05 +#pragma parameter brightboost " Bright Boost Dark Pixels -- brightboost" 1.40 0.25 10.0 0.05 #define brightboost global.brightboost // adjust brightness -#pragma parameter brightboost1 " Bright Boost Bright Pixels -- brightboost1" 1.10 0.25 3.00 0.025 +#pragma parameter brightboost1 " Bright Boost Bright Pixels -- brightboost1" 1.10 0.25 3.00 0.025 #define brightboost1 global.brightboost1 // adjust brightness // #pragma parameter bogus_screen "[ SCREEN OPTIONS ]: " 0.0 0.0 1.0 1.0 @@ -60,11 +70,23 @@ // #pragma parameter IOS " Integer Scaling: Odd:Y, Even:'X'+Y" 0.0 0.0 4.0 1.0 // #define IOS params.IOS // Smart Integer Scaling -// #pragma parameter OS " R. Bloom Overscan Mode" 1.0 0.0 2.0 1.0 -// #define OS params.OS // Do overscan +#pragma parameter GDV_OVERSCAN " Overscan % -- GDV_OVERSCAN" 0 -50 100 0.5 +#define GDV_OVERSCAN (global.GDV_OVERSCAN / 100) -// #pragma parameter BLOOM " Raster bloom %" 0.0 0.0 20.0 1.0 -// #define BLOOM params.BLOOM // Bloom overscan percentage +#pragma parameter GDV_OVERSCAN_X " Overscan X % -- GDV_OVERSCAN_X" 0 -50 100 0.5 +#define GDV_OVERSCAN_X (GDV_OVERSCAN + global.GDV_OVERSCAN_X / 100) + +#pragma parameter GDV_OVERSCAN_Y " Overscan Y % -- GDV_OVERSCAN_Y" 0 -50 100 0.5 +#define GDV_OVERSCAN_Y (GDV_OVERSCAN + global.GDV_OVERSCAN_Y / 100) + +#pragma parameter GDV_RASTER_BLOOM_ON " Raster Bloom ON -- GDV_RASTER_BLOOM_ON" 0 0 1 1 +#define GDV_RASTER_BLOOM_ON global.GDV_RASTER_BLOOM_ON + +#pragma parameter OS " Raster Bloom Overscan Mode -- OS" 2.0 0.0 2.0 1.0 +#define OS global.OS + +#pragma parameter BLOOM " Raster Bloom % -- BLOOM" 5.0 0.0 20.0 1.0 +#define BLOOM global.BLOOM // Bloom overscan percentage // #pragma parameter csize " Corner Size" 0.0 0.0 0.25 0.005 // #define csize params.csize // corner size @@ -78,7 +100,7 @@ #pragma parameter GDV_HUMBAR_LINE " " 0 0 0.001 0.001 #pragma parameter gdv_humbar_title "[ HUM BAR ]: " 0.0 0.0 0.1 0.1 -#pragma parameter barspeed " Hum Bar Speed" 50.0 3.0 200.0 1.0 +#pragma parameter barspeed " Hum Bar Speed" 50.0 3.0 200.0 0.2 #pragma parameter barintensity " Hum Bar Intensity" 0.0 -1.0 1.0 0.01 @@ -150,13 +172,18 @@ #pragma parameter slotms " Slot Mask Size - Auto | 2K | 4k -- slotms" 1.0 0.0 4.0 1.0 #define slotms global.slotms // Slot Mask Size -#pragma parameter mclip " Keep Mask effect with clipping -- mclip" 0.0 0.0 1.0 0.05 +#pragma parameter mclip " Keep Mask Effect with Clipping -- mclip" 0.0 0.0 1.0 0.05 #define mclip global.mclip -#pragma parameter smoothmask " Smooth Masks in bright scanlines" 0.0 0.0 1.0 1.0 +#pragma parameter smoothmask " Smooth Masks in Bright Scanlines -- smoothmask" 0.0 0.0 1.0 1.0 #define smoothmask global.smoothmask -// #pragma parameter gamma_out "Gamma out" 2.4 1.0 5.0 0.05 +#pragma parameter smask_mit " Mitigate Slotmask Interaction -- smask_mit" 0.0 0.0 1.0 0.05 +#define smask_mit global.smask_mit + +// #pragma parameter gamma_out " Gamma out" 2.4 1.0 5.0 0.05 +// #define gamma_out global.gamma_out // output gamma + #define gamma_out HSM_GAMMA_OUT_CRT // output gamma @@ -316,11 +343,11 @@ vec3 Mask(vec2 pos, float mx, float mb) if (fract((pos.y + odd)/2.0) < 0.49) line = maskDark; - pos.x = fract(pos.x/3.0); + pos.x = floor(mod(pos.x,3.0)); - if (pos.x < 0.3) mask.r = maskLight; - else if (pos.x < 0.6) mask.g = maskLight; - else mask.b = maskLight; + if (pos.x < 0.5) mask.r = maskLight; + else if (pos.x < 1.5) mask.g = maskLight; + else mask.b = maskLight; mask*=line; } @@ -328,11 +355,11 @@ vec3 Mask(vec2 pos, float mx, float mb) // Aperture-grille. else if (shadowMask == 2.0) { - pos.x = fract(pos.x/3.0); + pos.x = floor(mod(pos.x,3.0)); - if (pos.x < 0.3) mask.r = maskLight; - else if (pos.x < 0.6) mask.g = maskLight; - else mask.b = maskLight; + if (pos.x < 0.5) mask.r = maskLight; + else if (pos.x < 1.5) mask.g = maskLight; + else mask.b = maskLight; } // Stretched VGA style shadow mask (same as prior shaders). @@ -343,7 +370,7 @@ vec3 Mask(vec2 pos, float mx, float mb) if (pos.x < 0.3) mask.r = maskLight; else if (pos.x < 0.6) mask.g = maskLight; - else mask.b = maskLight; + else mask.b = maskLight; } // VGA style shadow mask. @@ -355,7 +382,7 @@ vec3 Mask(vec2 pos, float mx, float mb) if (pos.x < 0.3) mask.r = maskLight; else if (pos.x < 0.6) mask.g = maskLight; - else mask.b = maskLight; + else mask.b = maskLight; } // Trinitron mask 5 @@ -375,9 +402,9 @@ vec3 Mask(vec2 pos, float mx, float mb) else if (shadowMask == 6.0) { mask = vec3(0.0); - pos.x = fract(pos.x/3.0); - if (pos.x < 0.3) mask.r = 1.0; - else if (pos.x < 0.6) mask.g = 1.0; + pos.x = floor(mod(pos.x,3.0)); + if (pos.x < 0.5) mask.r = 1.0; + else if (pos.x < 1.5) mask.g = 1.0; else mask.b = 1.0; mask = clamp(mix( mix(one, mask, mcut), mix(one, mask, maskstr), mx), 0.0, 1.0) * dark_compensate; } @@ -486,12 +513,12 @@ float SlotMask(vec2 pos, float m) pos = floor(pos/slotms); */ float mlen = slotwidth*2.0; - float px = fract(pos.x/mlen); + float px = floor(mod(pos.x, 0.99999*mlen)); float py = floor(fract(pos.y/(2.0*double_slot))*2.0*double_slot); float slot_dark = mix(1.0-slotmask1, 1.0-slotmask, m); float slot = 1.0; - if (py == 0.0 && px < 0.5) slot = slot_dark; else - if (py == double_slot && px >= 0.5) slot = slot_dark; + if (py == 0.0 && px < slotwidth) slot = slot_dark; else + if (py == double_slot && px >= slotwidth) slot = slot_dark; return slot; } @@ -523,7 +550,6 @@ float humbar(float pos) } } - /* HSM Removed float corner(vec2 pos) { vec2 b = vec2(bsize1, bsize1) * vec2(1.0, OutputSize.x/OutputSize.y) * 0.05; @@ -735,17 +761,41 @@ void main() vec2 pos1 = TEX0.xy; - /* HSM Removed vec2 pos = Warp(texcoord); vec2 pos0 = Warp(TEX0.xy); */ // HSM Added - vec2 screen_curved_coord = HSM_GetCurvedCoord(SCREEN_COORD, HSM_CRT_CURVATURE_SCALE, SCREEN_ASPECT); - vec2 pos = HSM_GetMirrorWrappedCoord(screen_curved_coord); - vec2 pos0 = pos; + vec2 screen_curved_coord = HSM_GetCRTShaderCurvedCoord(SCREEN_COORD); + // Screen Curved Coordinate but not Mirrored + vec2 screen_curved_coord_with_overscan = HSM_ApplyOverscan(screen_curved_coord, GDV_OVERSCAN_X, GDV_OVERSCAN_Y); + + vec2 pos = HSM_GetMirrorWrappedCoord(screen_curved_coord); + + // Add overscan to mirror wrapped coord + pos = HSM_ApplyOverscan(pos, GDV_OVERSCAN_X, GDV_OVERSCAN_Y); + + // vec2 screen_scale_with_overscan = SCREEN_SCALE * (vec2(GDV_OVERSCAN_X, GDV_OVERSCAN_Y) + 1); + + // Screen Coordinate overscan but without curvature + vec2 screen_coord_with_overscan = HSM_ApplyOverscan(SCREEN_COORD, GDV_OVERSCAN_X, GDV_OVERSCAN_Y); + + if (GDV_RASTER_BLOOM_ON > 0.5) + { + pos = HSM_ApplyRasterBloomOverscan(pos, OS, BLOOM, lum); + screen_curved_coord_with_overscan = HSM_ApplyRasterBloomOverscan(screen_curved_coord_with_overscan, OS, BLOOM, lum); + screen_coord_with_overscan = HSM_ApplyRasterBloomOverscan(screen_coord_with_overscan, OS, BLOOM, lum); + // screen_scale_with_overscan *= HSM_GetRasterBloomScale(OS, BLOOM, lum); + + if (HHLP_IsOutsideCoordSpace(screen_curved_coord_with_overscan)) + { + FragColor = vec4(0); + return; + } + } + // color and bloom fetching vec3 color = COMPAT_TEXTURE(Source,pos1).rgb; vec3 Bloom = HSM_GetCroppedTexSample(BloomPass, pos).rgb; @@ -792,10 +842,11 @@ if ((abs(global.deconrr) + abs(global.deconrry) + abs(global.deconrg) + abs(glob vec3 orig1 = color; vec3 cmask = one; - vec2 maskcoord = gl_FragCoord.yx * 1.000001; + vec2 maskcoord = gl_FragCoord.yx * 1.00001; if (notate) maskcoord = maskcoord.yx; - float smask = SlotMask(maskcoord, mx); + float smask = SlotMask(maskcoord, mx); + smask = clamp(smask + mix(smask_mit, 0.0, min(w3, sqrt(max(max(orig1.r,orig1.g),orig1.b)))), 0.0, 1.0); cmask*= Mask(maskcoord, mx, mb); if (mask_layout > 0.5) cmask = cmask.rbg; @@ -841,7 +892,7 @@ if (abs(bloom) > 0.025) Bloom1 = min(Bloom1*(orig1+color), max(0.5*(colmx + orig1 - color),0.001*Bloom1)); Bloom1 = 0.5*(Bloom1 + mix(Bloom1, mix(colmx*orig1, Bloom1, 0.5), 1.0-color)); Bloom1 = Bloom1 * mix(1.0, 2.0-colmx, bloom_dist); - color = color + abs(bloom) * Bloom1; + color = pow(pow(color, vec3(mask_gamma/gamma_in)) + abs(bloom) * pow(Bloom1, vec3(mask_gamma/gamma_in)), vec3(gamma_in/mask_gamma)); } color = min(color, mix(one, cmask1, mclip)); @@ -857,10 +908,24 @@ if (abs(bloom) > 0.025) Bloom = plant(Bloom + Ref + orig1 + Bloom*Bloom*Bloom, min(mbl*mbl,0.75)); color = color + 2.0*mix(1.0,w3,0.5*colmx)*mix(one,cmask,0.5)*Bloom*(-halation); } + float w = 0.25 + 0.60*mix(w3, 1.0, sqrt(colmx)); if (smoothmask > 0.5) { w3 = mix(1.0, w3, smoothstep(0.3, 0.6, mx1)); color = max(min(color/w3, 1.0)*w3, min(color,color*(1.0-w3))); } - Glow = mix(Glow, 0.25*color, 0.7*colmx); - if (glow >= 0.0) color = color + 0.5*Glow*glow; else { cmask*=cmask; cmask*=cmask; color = color + (-glow)*cmask*Glow; } + if (global.m_glow < 0.5) Glow = mix(Glow, 0.25*color, 0.7*colmx); + else + { + maxb = max(max(Glow.r,Glow.g),Glow.b); + orig1 = plant(orig1 + 0.001*Ref, 1.0); + Bloom = plant(Glow, 1.0); + Ref = abs(orig1-Bloom); + mx0 = max(max(orig1.g,orig1.g),orig1.b)-min(min(orig1.g,orig1.g),orig1.b); + mx2 = max(max(Bloom.g,Bloom.g),Bloom.b)-min(min(Bloom.g,Bloom.g),Bloom.b); + Bloom = mix(maxb*min(Bloom,orig1), w*mix(mix(Glow, max(max(Ref.g,Ref.g),Ref.b)*Glow, max(mx,mx0)), Glow, max(mx0,mx2)*Ref), min(sqrt((1.10-mx0)*(0.10+mx2)),1.0)); + Glow = mix(global.m_glow_low*Glow, global.m_glow_high*Bloom, pow(colmx, global.m_glow_dist/gamma_in)); + } + + if (glow >= 0.0 && global.m_glow < 0.5) color = color + 0.5*Glow*glow; + else { if(global.m_glow > 0.5) cmask1 = max(mix(one, cmask1, global.m_glow_mask),0.0); color = color + abs(glow)*cmask1*Glow; } /* HSM Removed color = min(color, 1.0); diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-gaussian_horizontal.slang b/bezel/Mega_Bezel/shaders/guest/hsm-gaussian_horizontal.slang index 1053754..3787879 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-gaussian_horizontal.slang +++ b/bezel/Mega_Bezel/shaders/guest/hsm-gaussian_horizontal.slang @@ -30,6 +30,11 @@ layout(push_constant) uniform Push float glow; float SIZEH; float SIGMA_H; + float m_glow; + float m_glow_cutoff; + float m_glow_low; + float m_glow_high; + float m_glow_dist; } params; #pragma parameter GDV_GDV_ADV_LINE " " 0 0 0.001 0.001 @@ -37,13 +42,26 @@ layout(push_constant) uniform Push #pragma parameter bogus_glow "[ GLOW ]:" 0.0 0.0 1.0 1.0 -#pragma parameter glow " Glow Strength -- glow" 0.08 -2.0 2.0 0.01 -#define glow params.glow // Glow Strength +#pragma parameter m_glow " Ordinary Glow / Magic Glow -- m_glow" 0.0 0.0 1.0 1.0 -#pragma parameter SIZEH " Horizontal Radius (Num Samples) -- SIZEH" 6.0 1.0 50.0 1.0 +#pragma parameter m_glow_low " Magic Glow Low Strength -- m_glow_low" 0.35 0.0 7.0 0.05 + +#pragma parameter m_glow_high " Magic Glow High Strength -- m_glow_high" 5.0 0.0 7.0 0.10 + +#pragma parameter m_glow_dist " Magic Glow Distribution -- m_glow_dist" 1.0 0.20 4.0 0.05 + +#pragma parameter glow " (Magic) Glow Strength -- glow" 0.08 -2.0 2.0 0.01 +#define m_glow params.m_glow + +#pragma parameter m_glow_mask " Magic Glow Mask Strength -- m_glow_mask" 1.0 0.0 2.0 0.025 + +#pragma parameter m_glow_cutoff " Magic Glow Cutoff -- m_glow_cutoff" 0.12 0.0 0.4 0.01 +#define m_glow_cutoff params.m_glow_cutoff + +#pragma parameter SIZEH " Horizontal Radius (Num Samples) -- SIZEH" 6.0 1.0 50.0 1.0 #define SIZEH params.SIZEH -#pragma parameter SIGMA_H " Horizontal Sigma ( Spread ) -- SIGMA_H" 1.20 0.20 15.0 0.10 +#pragma parameter SIGMA_H " Horizontal Sigma ( Spread ) -- SIGMA_H" 1.20 0.20 15.0 0.10 #define SIGMA_H params.SIGMA_H layout(std140, set = 0, binding = 0) uniform UBO @@ -76,6 +94,12 @@ float gaussian(float x) return exp(-x*x*invsqrsigma); } +vec3 plant (vec3 tar, float r) +{ + float t = max(max(tar.r,tar.g),tar.b) + 0.00001; + return tar * r / t; +} + void main() { vec4 SourceSize1 = params.OriginalSize; @@ -93,6 +117,11 @@ void main() do { pixel = COMPAT_TEXTURE(LinearizePass, tex + n*dx).rgb; + if (m_glow > 0.5) + { + pixel = max(pixel-m_glow_cutoff, 0.0); + pixel = plant(pixel, max(max(max(pixel.r,pixel.g),pixel.b)-m_glow_cutoff,0.0)); + } w = gaussian(n+f); color = color + w * pixel; wsum = wsum + w; diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-interlace-and-linearize.inc b/bezel/Mega_Bezel/shaders/guest/hsm-interlace-and-linearize.inc index 76db51d..47eac92 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-interlace-and-linearize.inc +++ b/bezel/Mega_Bezel/shaders/guest/hsm-interlace-and-linearize.inc @@ -46,10 +46,14 @@ layout(std140, set = 0, binding = 0) uniform UBO } global; -// #pragma parameter GAMMA_INPUT "Gamma Input" 2.4 1.0 5.0 0.05 -*/ +// #pragma parameter bogus_gamma "[ GAMMA OPTIONS ]: " 0.0 0.0 0.0 1.0 + +// #pragma parameter GAMMA_INPUT " Gamma Input" 2.4 1.0 5.0 0.05 +// #define GAMMA_INPUT params.GAMMA_INPUT + +// #pragma parameter gamma_out " Gamma out" 2.4 1.0 5.0 0.05 +// #define gamma_out params.gamma_out // output gamma -/* // #pragma parameter bogus_interlacing "[ INTERLACING OPTIONS ]: " 0.0 0.0 0.0 1.0 // #pragma parameter inter " Interlace Trigger Resolution :" 350.0 0.0 800.0 25.0 @@ -178,7 +182,7 @@ void main() use_vert_scanlines_bool = (USE_VERTICAL_SCANLINES > 0.5); // HSM Added - if (HSM_ROTATE_CORE_IMAGE > 0.5) + if (abs(HSM_ROTATE_CORE_IMAGE) > 0.5) { use_vert_scanlines_bool = !use_vert_scanlines_bool; } @@ -284,6 +288,7 @@ void main() noise_size = HSM_SIGNAL_NOISE_SIZE_MULT; vec3 noise0 = noise(vec3(floor(global.SourceSize.xy * vTexCoord / noise_size), float(global.FrameCount)), HSM_SIGNAL_NOISE_AMOUNT); + noise0 = clamp(HSM_SIGNAL_NOISE_BLACK_LEVEL * (noise0 - 0.5) + 0.5, 0, 1); if (HSM_SIGNAL_NOISE_TYPE < 0.5) c = mix(c, noise0, diff --git a/bezel/Mega_Bezel/shaders/guest/hsm-pre-shaders-afterglow.slang b/bezel/Mega_Bezel/shaders/guest/hsm-pre-shaders-afterglow.slang index a221eb3..18f31a1 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm-pre-shaders-afterglow.slang +++ b/bezel/Mega_Bezel/shaders/guest/hsm-pre-shaders-afterglow.slang @@ -73,7 +73,7 @@ layout(push_constant) uniform Push #pragma parameter pre_bb " Brightness Adjustment" 1.0 0.0 2.0 0.01 -#pragma parameter contr " Contrast Adjustment" 0.0 -1.0 1.0 0.05 +#pragma parameter contr " Contrast Adjustment" 0.0 -2.0 2.0 0.05 #pragma parameter sega_fix " Sega Brightness Fix" 0.0 0.0 1.0 1.0 @@ -241,12 +241,11 @@ vec3 plant (vec3 tar, float r) } float contrast(float x) -{ - float y = 2.0*x-1.0; - y = (sin(y*1.57079632679)+1.0)*0.5; - return mix(x, y, params.contr); +{ + return max(mix(x, smoothstep(0.0, 1.0, x), params.contr),0.0); } + void main() { vec4 imgColor = COMPAT_TEXTURE(PreCRTPass, vTexCoord.xy); @@ -351,10 +350,8 @@ void main() color = plant(color, contrast(max(max(color.r,color.g),color.b))); p = 2.2; - + color = clamp(color, 0.0, 1.0); color = pow(color, vec3(p)); - - color = clamp(color, 0.0, 1.0); vec3 warmer = D65_to_D55*color; warmer = ToSRGB*warmer; diff --git a/bezel/Mega_Bezel/shaders/guest/hsm_crt-guest-advanced-release-version.txt b/bezel/Mega_Bezel/shaders/guest/hsm_crt-guest-advanced-release-version.txt index f0c611f..f9c5610 100644 --- a/bezel/Mega_Bezel/shaders/guest/hsm_crt-guest-advanced-release-version.txt +++ b/bezel/Mega_Bezel/shaders/guest/hsm_crt-guest-advanced-release-version.txt @@ -1 +1 @@ -crt-guest-advanced-2022-11-28-release1 \ No newline at end of file +crt-guest-advanced-2023-02-25-release1 \ No newline at end of file diff --git a/bezel/Mega_Bezel/shaders/hyllian/crt-super-xbr/crt-super-xbr.slangp b/bezel/Mega_Bezel/shaders/hyllian/crt-super-xbr/crt-super-xbr.slangp index f51b1dd..20a8816 100644 --- a/bezel/Mega_Bezel/shaders/hyllian/crt-super-xbr/crt-super-xbr.slangp +++ b/bezel/Mega_Bezel/shaders/hyllian/crt-super-xbr/crt-super-xbr.slangp @@ -1,7 +1,7 @@ shaders = "11" -shader0 = "linearize.slang" +shader0 = "shaders/linearize.slang" filter_linear0 = "false" wrap_mode0 = "clamp_to_border" mipmap_input0 = "false" @@ -13,7 +13,7 @@ scale_x0 = "1.000000" scale_type_y0 = "source" scale_y0 = "1.000000" -shader1 = "super-xbr-pass0.slang" +shader1 = "shaders/super-xbr-pass0.slang" filter_linear1 = "false" wrap_mode1 = "clamp_to_border" mipmap_input1 = "false" @@ -25,7 +25,7 @@ scale_x1 = "1.000000" scale_type_y1 = "source" scale_y1 = "1.000000" -shader2 = "super-xbr-pass1.slang" +shader2 = "shaders/super-xbr-pass1.slang" filter_linear2 = "false" wrap_mode2 = "clamp_to_border" mipmap_input2 = "false" @@ -37,7 +37,7 @@ scale_x2 = "2.000000" scale_type_y2 = "source" scale_y2 = "2.000000" -shader3 = "super-xbr-pass2.slang" +shader3 = "shaders/super-xbr-pass2.slang" filter_linear3 = "false" wrap_mode3 = "clamp_to_border" mipmap_input3 = "false" @@ -49,7 +49,7 @@ scale_x3 = "1.000000" scale_type_y3 = "source" scale_y3 = "1.000000" -shader4 = "custom-bicubic-x.slang" +shader4 = "shaders/custom-bicubic-x.slang" filter_linear4 = "false" wrap_mode4 = "clamp_to_border" mipmap_input4 = "false" @@ -61,7 +61,7 @@ scale_x4 = "1.000000" scale_type_y4 = "source" scale_y4 = "1.000000" -shader5 = "custom-bicubic-y.slang" +shader5 = "shaders/custom-bicubic-y.slang" filter_linear5 = "false" wrap_mode5 = "clamp_to_border" mipmap_input5 = "false" @@ -73,7 +73,7 @@ scale_x5 = "1.000000" scale_type_y5 = "source" scale_y5 = "0.500000" -shader6 = "crt-hyllian-sinc-curvature.slang" +shader6 = "shaders/crt-hyllian-sinc-curvature.slang" filter_linear6 = "true" wrap_mode6 = "clamp_to_border" mipmap_input6 = "false" @@ -85,7 +85,7 @@ scale_x6 = "1.000000" scale_type_y6 = "viewport" scale_y6 = "1.000000" -shader7 = "threshold.slang" +shader7 = "shaders/threshold.slang" filter_linear7 = "false" wrap_mode7 = "clamp_to_border" mipmap_input7 = "false" @@ -97,7 +97,7 @@ scale_x7 = "1.000000" scale_type_y7 = "source" scale_y7 = "1.000000" -shader8 = "blur_horiz.slang" +shader8 = "shaders/blur_horiz.slang" filter_linear8 = "true" wrap_mode8 = "clamp_to_border" mipmap_input8 = "true" @@ -109,7 +109,7 @@ scale_x8 = "0.200000" scale_type_y8 = "source" scale_y8 = "0.200000" -shader9 = "blur_vert.slang" +shader9 = "shaders/blur_vert.slang" filter_linear9 = "true" wrap_mode9 = "clamp_to_border" mipmap_input9 = "false" @@ -117,7 +117,7 @@ alias9 = "" float_framebuffer9 = "false" srgb_framebuffer9 = "true" -shader10 = "custom-resolve.slang" +shader10 = "shaders/custom-resolve.slang" filter_linear10 = "true" wrap_mode10 = "clamp_to_border" mipmap_input10 = "false" diff --git a/blurs/dual_filter_2_pass.slangp b/blurs/dual_filter_2_pass.slangp index 621e1c7..3dad1b1 100644 --- a/blurs/dual_filter_2_pass.slangp +++ b/blurs/dual_filter_2_pass.slangp @@ -7,7 +7,7 @@ scale_x0 = 1.0 scale_y0 = 1.0 float_framebuffer0 = true -shader1 = shaders/dual_filter/downsample.slang +shader1 = shaders/dual_filter_downsample.slang filter_linear1 = true scale_type1 = source scale_x1 = 0.5 @@ -15,7 +15,7 @@ scale_y1 = 0.5 float_framebuffer1 = true wrap_mode1 = mirrored_repeat -shader2 = shaders/dual_filter/upsample.slang +shader2 = shaders/dual_filter_upsample.slang filter_linear2 = true scale_type2 = source scale_x2 = 2.0 diff --git a/blurs/dual_filter_4_pass.slangp b/blurs/dual_filter_4_pass.slangp index a352a95..e655cd7 100644 --- a/blurs/dual_filter_4_pass.slangp +++ b/blurs/dual_filter_4_pass.slangp @@ -7,7 +7,7 @@ scale_x0 = 1.0 scale_y0 = 1.0 float_framebuffer0 = true -shader1 = shaders/dual_filter/downsample.slang +shader1 = shaders/dual_filter_downsample.slang filter_linear1 = true scale_type1 = source scale_x1 = 0.5 @@ -15,7 +15,7 @@ scale_y1 = 0.5 float_framebuffer1 = true wrap_mode1 = mirrored_repeat -shader2 = shaders/dual_filter/downsample.slang +shader2 = shaders/dual_filter_downsample.slang filter_linear2 = true scale_type2 = source scale_x2 = 0.5 @@ -23,7 +23,7 @@ scale_y2 = 0.5 float_framebuffer2 = true wrap_mode2 = mirrored_repeat -shader3 = shaders/dual_filter/upsample.slang +shader3 = shaders/dual_filter_upsample.slang filter_linear3 = true scale_type3 = source scale_x3 = 2.0 @@ -31,7 +31,7 @@ scale_y3 = 2.0 float_framebuffer3 = true wrap_mode3 = mirrored_repeat -shader4 = shaders/dual_filter/upsample.slang +shader4 = shaders/dual_filter_upsample.slang filter_linear4 = true scale_type4 = source scale_x4 = 2.0 diff --git a/blurs/dual_filter_6_pass.slangp b/blurs/dual_filter_6_pass.slangp index 873e487..181b8bf 100644 --- a/blurs/dual_filter_6_pass.slangp +++ b/blurs/dual_filter_6_pass.slangp @@ -7,7 +7,7 @@ scale_x0 = 1.0 scale_y0 = 1.0 float_framebuffer0 = true -shader1 = shaders/dual_filter/downsample.slang +shader1 = shaders/dual_filter_downsample.slang filter_linear1 = true scale_type1 = source scale_x1 = 0.5 @@ -15,7 +15,7 @@ scale_y1 = 0.5 float_framebuffer1 = true wrap_mode1 = mirrored_repeat -shader2 = shaders/dual_filter/downsample.slang +shader2 = shaders/dual_filter_downsample.slang filter_linear2 = true scale_type2 = source scale_x2 = 0.5 @@ -23,7 +23,7 @@ scale_y2 = 0.5 float_framebuffer2 = true wrap_mode2 = mirrored_repeat -shader3 = shaders/dual_filter/downsample.slang +shader3 = shaders/dual_filter_downsample.slang filter_linear3 = true scale_type3 = source scale_x3 = 0.5 @@ -31,7 +31,7 @@ scale_y3 = 0.5 float_framebuffer3 = true wrap_mode3 = mirrored_repeat -shader4 = shaders/dual_filter/upsample.slang +shader4 = shaders/dual_filter_upsample.slang filter_linear4 = true scale_type4 = source scale_x4 = 2.0 @@ -39,7 +39,7 @@ scale_y4 = 2.0 float_framebuffer4 = true wrap_mode4 = mirrored_repeat -shader5 = shaders/dual_filter/upsample.slang +shader5 = shaders/dual_filter_upsample.slang filter_linear5 = true scale_type5 = source scale_x5 = 2.0 @@ -47,7 +47,7 @@ scale_y5 = 2.0 float_framebuffer5 = true wrap_mode5 = mirrored_repeat -shader6 = shaders/dual_filter/upsample.slang +shader6 = shaders/dual_filter_upsample.slang filter_linear6 = true scale_type6 = source scale_x6 = 2.0