Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xjine/unity_colorcorrectionshader
Shader functions to color correction
https://github.com/xjine/unity_colorcorrectionshader
shader unity
Last synced: 15 days ago
JSON representation
Shader functions to color correction
- Host: GitHub
- URL: https://github.com/xjine/unity_colorcorrectionshader
- Owner: XJINE
- License: bsd-3-clause
- Created: 2023-07-14T06:27:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-09T05:43:46.000Z (5 months ago)
- Last Synced: 2024-08-10T06:21:16.038Z (5 months ago)
- Topics: shader, unity
- Language: HLSL
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity_ColorCorrectionShader
Shader functions to color correction.
## Functions
```hlsl
float4 RgbToHsv(float4 rgb)
float4 HsvToRgb(float4 hsv)
float4 RgbToHsl(float4 rgb)
float4 HslToRgb(float4 hsl)float4 HsvShift(float4 rgb, float4 shift)
float4 HslShift(float4 rgb, float4 shift)float4 GrayScale(float4 color)
float4 GrayScaleREC601(float4 color)
float4 GrayScaleREC709(float4 color)float4 BrightnessSaturationContrast
(float4 color, float brightness, float saturation, float contrast)float4 ColorCorrection
(float4 color, float4 bscPrams, float4 hsvShift)
```## Importing
You can use Package Manager or import it directly.
```
https://github.com/XJINE/Unity_ColorCorrectionShader.git?path=Assets/Packages/ColorCorrectionShader
```