Skip to content

Commit

Permalink
Heretic|PostFX: Darker Gold shader for the Ring
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 17, 2018
1 parent ceda764 commit c59be8b
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -68,6 +68,7 @@ fx {
vec4 colorized = rgbToHsv(original);
colorized.x = 40.0; // Fix hue to gold.
colorized.y = 1.0; // Full saturation.
colorized.z = pow(colorized.z, 1.75); // Darker curve.
colorized = hsvToRgb(colorized);
if (uFadeInOut < 1.0) {
out_FragColor = mix(original, colorized, uFadeInOut);
Expand Down

0 comments on commit c59be8b

Please sign in to comment.