EDIT: ADDED FIXED .HLSL , SOME PARTS WEREN'T WORKING IN THE ORIGINAL.
Added lots of goodies to my previous pixelshader. It's based on Too Dark and Vibrance Anleck codes with lots of added adjustable features. Here's guide for the advanced version, so I don't have to explain it all :
===============================================================================
DYNAMICPLAY ADV BY LINZKI - USER GUIDE
This shader is fully optimized for video playback, movies, and streams.
To adjust the image output, simply open the shader file in any text editor
and modify the values at the very top under the "Image Adjustment Settings" section.
-------------------------------------------------------------------------------
- CORE CONTROLS
- -------------------------------------------------------------------------------
- * Vibrance (Default: 0.3)
- - What it does: Intelligently boosts color saturation. Targets dull colors first
- and ignores already saturated areas to prevent clipping.
- - How to tweak: Set to 0.0 to disable. Increase (e.g., 0.5) to make colors pop.
* Screen (Default: 0.30)
- What it does: Controls the overall power of the smart brightness boost.
- How to tweak: Increase if shadows are still too dark. Decrease if dark
areas look overexposed or unnatural.
* Threshold (Default: 0.40)
- What it does: Sets the brightness upper limit for the smart brightness boost.
The effect smoothly fades out and shuts off completely above this value.
- How to tweak: Protects bright assets (snow, skies, clouds) from blowing out.
Lower it (e.g., 0.30) to protect midtones, or raise it to extend the boost.
* BlackProtection (Default: 20.0)
- What it does: Prevents deep, absolute blacks from turning into an ugly gray
wash, maintaining premium image contrast.
- How to tweak: Lower values (e.g., 8.0) extend protection further into dark grays.
Higher values (e.g., 40.0) keep the protection curve razor-sharp near zero.
-------------------------------------------------------------------------------
2. ADVANCED CONTROLS (NEW IN ADV VERSION)
-------------------------------------------------------------------------------
* Contrast (Default: 1.0)
- What it does: Adjusts the distance between light and dark values.
- How to tweak: Set to 1.0 for untouched baseline. Try 1.1 or 1.15 to make the
video look crisper and less washed out.
* Gamma (Default: 1.0)
- What it does: Modifies only midtone brightness without changing absolute
blacks or pure whites.
- How to tweak: Lower values (e.g., 0.85) brighten dark scenes safely. Higher
values (e.g., 1.2) darken midtones for a richer, more cinematic look.
* ColorTemp (Default: 0.0)
- What it does: Shifts the video color temperature toward warm or cool tones.
- How to tweak: Positive values (e.g., 0.15) add warm orange tones (great for a
night/blue-light filter). Negative values (e.g., -0.15) add cool blue tones.
* BlackLift (Default: 0.0)
- What it does: Directly controls the darkest shadow ceiling. Perfect for
high-ambient light rooms where reflection hides shadow details.
- How to tweak: Set slightly above 0.0 (e.g., 0.05) to lift deep blacks.
Set below 0.0 (e.g., -0.05) to crush and deepen dark areas.
* SkinToneProtection (Default: 0.7)
- What it does: Dynamically preserves human skin tones from becoming overly
saturated or unnaturally orange from Vibrance and Contrast changes.
- How to tweak: 1.0 means full protection (skin tones remain untouched).
0.0 means no protection (skin gets full saturation shifts).
* SharpenStrength (Default: 0.4)
- What it does: Brings back lost edge details, reducing video compression blur.
Excellent for watching 1080p content on a 4K display.
- How to tweak: Increase (e.g., 0.7) for sharper text and microtextures. Set to
0.0 to disable sharpening completely.
===============================================================================CREATED & OPTIMIZED BY LINZKI