Gradient Overlay

  • Posts: 137
4 years 6 months ago - 4 years 6 months ago #1 by TreyM
Simple idea for a fullscreen gradient overlay shader.

Color could be defined in RGB values

255,0,0 (Red for example)

define 1st and 2nd color
and select a blend mode and transparency (Photoshop type modes?)

Perhaps it could have a gradient angle value to tilt it in any direction

Please Log in or Create an account to join the conversation.

  • Posts: 137
4 years 2 months ago #2 by TreyM
Bump

Would still like to see this if possible. A gradient overlay could be cool for some advanced color grading.

Please Log in or Create an account to join the conversation.

  • Posts: 40
4 years 2 months ago - 4 years 2 months ago #3 by Iddqd
You need like this: postimg.org/image/d38ui586p/full/

Gradient + BlendLinearDodgef overlay mode + GradientOpacility = 0.1 + TonemapShader(OnlyGammaEdit Gamma=1.150)
The following user(s) said Thank You: TreyM

Please Log in or Create an account to join the conversation.

  • Posts: 3723
4 years 2 months ago #4 by crosire
float3 gradientColor1 = float3(1, 0, 0);
float3 gradientColor2 = float3(0, 0, 1);

// Blend mode: Add
color += lerp(gradientColor1, gradientColor2, (texcoord.x + texcoord.y) * 0.5);
// Blend mode: Multiply
color *= lerp(gradientColor1, gradientColor2, (texcoord.x + texcoord.y) * 0.5);
// ...
The following user(s) said Thank You: TreyM

Please Log in or Create an account to join the conversation.

  • Posts: 40
4 years 2 months ago #5 by Iddqd
Can i add Gradient Shader to github?
The following user(s) said Thank You: TreyM

Please Log in or Create an account to join the conversation.

  • Posts: 137
4 years 1 month ago #6 by TreyM
Wonderful! *itshappening.gif*

Please Log in or Create an account to join the conversation.

  • Posts: 40
4 years 1 month ago #7 by Iddqd
You can try shader, Github
But it can doesn't work with Reshade Assistance because i never use it
The following user(s) said Thank You: TreyM

Please Log in or Create an account to join the conversation.