Coder Social home page Coder Social logo

papadanku / cshade Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 1.0 584 KB

Image and video processing shaders for ReShade (convolutions, optical flow, etc.).

Home Page: https://papadanku.github.io/CShade/

License: BSD 3-Clause "New" or "Revised" License

HLSL 100.00%
hlsl image-processing reshade video-processing shaders optical-flow

cshade's Introduction

CShade

About

CShade is an HLSL shader collection for ReShade. CShade introduces conventional image and video processing effects from a different angle.

CShade also includes .fxh files that contain algorithms used in the collection.

Effects

Adaptive Exposure

CShade features an adaptive-exposure shader that uses hardware blending for temporal smoothing. The shader also features spot-metering, allowing users to expose their image depending on an area.

Image Processing

CShade features shaders that deal with getting information about an image.

  • Census transformation
  • Convolutions
  • Chromaticity
  • Edge-detection
  • Grayscale

Video Processing

CShade features real-time motion estimation and feature-matching shaders.

  • Hierarchal block-matching
  • Lucas-Kanade optical flow
  • Template-matching

Post Processing

CShade features shaders that filter images for aesthetics.

  • Backbuffer blending
  • Dual-Kawase bloom
  • Film-grain
  • Sharpening
  • Vignetting

Coding Convention

  • Prefix shared method with it's file name.
    • shared/common/cLib.fxh -> Common_CLib_FunctionName()
  • ALLCAPS
    • State parameters
    • System semantics
  • ALL_CAPS
    • Preprocessor Macros
    • Preprocessor Macro Arguments
  • _SnakeCase
    • Uniform variables
  • SnakeCase
    • Function arguments
    • Global Variables
    • Local Variables
    • Textures and Samples
  • Snake_Case
    • Data subcategory
  • PREFIX_Data
    • struct datatype

      APP2VS_

      VS2PS_

      PS2FB_

      PS2MRT_

    • VertexShader methods

      VS_

    • PixelShader methods

      PS_

Acknowledgments

cshade's People

Contributors

papadanku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

microdee

cshade's Issues

cOpticalFlow.fx instant ctd

Using latest version of reshade, start game or emulator bring up reshade UI and as soon as you click to enable cOpticalFlow.fx i get a instant crash to desktop with nothing in the log.

Folder structure issue

Since all shaders have been packed into cshade folder now, when downloading CShade effects through ReShade official installer, the effect files are placed under reshade-shaders/Shaders/CShade/cshade. It is okay for ReShade to load them with recursive searching, but I think this is kind of weird.

cCheckerBoard.fx help .

Hi could you please tell me what this shader does and how to activate it properly ? When I activate cCheckerBoard.fx everything becomes grey .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.