ReadShade
    • BlueSkyDefender Author of SuperDepth3D, AstrayFX, and various secret projects.
    • papadanku Hobbyist programmer. Contributor to the Project Reality game modification and CShade.
    • PHARTGAMES / PEZZALUCIFER Developed WibbleWobble, turning your display into a window to virtual worlds.
  • ReShade Homepage
/

ReShade Guide

  • ReShade General
    • Disable DLSS Frame Generation
    • Install ReShade with DXVK
    • Use Large Address Aware
    • Disable Unreal Engine’s Post Effects
    • Change ReShade Version
    • Game Windows DPI Settings
  • Licensing
    • United States Copyright
    • Software Licensing
  • Learning
    • Tools & Resources
    • Literature
    • Writing Shaders
      • 1. Introduction to Shaders and ReShade FX
      • 2. Basic Shader Structure
      • 3. Create a New .fx File
      • 4. Add the Basic Structure
      • 5. Implement the Grayscale Logic
      • 6. Apply the Shader in ReShade
      • 7. Understanding Key Concepts
      • 8. Further Exploration

Software guides

  • Addons
    • Generic Depth
    • Reshade Effect Shader Toggler (R.E.S.T)
    • Shader Toggler
  • Agent Skills
    • ReShadeFX Coder Skill
    • reStructuredText Writer Skill
  • Emulators
    • PCSX2
  • GPU Selector
  • Shaders
    • CShade
      • cLayer
      • Library
      • Macros
        • CSHADE_COMPOSITE
        • CSHADE_APPLY_DITHER
        • CSHADE_APPLY_GRAIN
        • CSHADE_DEBUG_PEAKING
        • CSHADE_APPLY_SWIZZLE
        • CSHADE_APPLY_VIGNETTE

Third-Party Guides

  • Depth3D
    • Hardware Guides
      • Simulated Reality Displays
      • VITURE
  • WibbleWobble
    • Frame Sequential (Monitor)
    • Frame Sequential (Projector)
  1. ReadShade /
  2. Shaders /
  3. CShade /
  4. Macros

Macros¶

CShade utilizes a variety of preprocessor macros to configure and extend the core rendering pipeline. These macros allow for efficient, integrated effects without the overhead of additional shader passes.

  • CSHADE_COMPOSITE
  • CSHADE_APPLY_DITHER
  • CSHADE_APPLY_GRAIN
  • CSHADE_DEBUG_PEAKING
  • CSHADE_APPLY_SWIZZLE
  • CSHADE_APPLY_VIGNETTE
Previous
Library
Next
CSHADE_COMPOSITE

2026, The ReadShade Team

Made with Sphinx and Shibuya theme.