Gradient Overlay

  • TreyM
  • Topic Author
More
9 years 10 months ago - 9 years 10 months ago #1 by TreyM Gradient Overlay was created 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
Last edit: 9 years 10 months ago by TreyM.

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

  • TreyM
  • Topic Author
More
9 years 5 months ago #2 by TreyM Replied by TreyM on topic Gradient Overlay
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.

  • Iddqd
More
9 years 5 months ago - 9 years 5 months ago #3 by Iddqd Replied by Iddqd on topic Gradient Overlay
You need like this: postimg.org/image/d38ui586p/full/

Gradient + BlendLinearDodgef overlay mode + GradientOpacility = 0.1 + TonemapShader(OnlyGammaEdit Gamma=1.150)
Last edit: 9 years 5 months ago by Iddqd.
The following user(s) said Thank You: TreyM

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

  • crosire
More
9 years 5 months ago #4 by crosire Replied by crosire on topic Gradient Overlay
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.

  • Iddqd
More
9 years 5 months ago #5 by Iddqd Replied by Iddqd on topic Gradient Overlay
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.

  • TreyM
  • Topic Author
More
9 years 5 months ago #6 by TreyM Replied by TreyM on topic Gradient Overlay
Wonderful! *itshappening.gif*

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

  • Iddqd
More
9 years 5 months ago #7 by Iddqd Replied by Iddqd on topic Gradient Overlay
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.