Search Results for:

Coco

Cars 3

Talks

Conferences GTC 2017. Advances in Real-Time Graphics at Pixar. California, USA. Video SIGGRAPH 2016. Real-Time Graphics for Film Production at Pixar. California, USA. Video FMX 2016. Painting with Code. Stuttgart, Germany. Article1 Article2 Video GPU Technology Conference 2016. Real-Time Graphics for Film Production at Pixar. California, USA.  Video GPU Technology Conference 2016. Discovering the New Frontier of Shadertoy. California, USA.  Video […]

Continue Reading

Finding Dory

Branchless Photoshop Blend Modes

by Pol Jeremias on April 3, 2016

No Comments

If you have used Adobe Photoshop you have probably seen that it allows users to draw (or create content) in different layers. These layers can after be combined in many different ways, the blend modes. https://en.wikipedia.org/wiki/Blend_modes.

The blog post you are reading right now builds on top of the idea of having a branchless RGB to HSL conversion (http://www.poljeremias.com/branchless-rgb-to-hsl), and it proposes branchless solutions to the most common color blending operations.

If you want to just play around with it, visit the following Shadertoy, there you can try live the different branchless blending operations : https://www.shadertoy.com/view/Md3GzX

This post contains implementations for the following blending operations :


  • Source
  • Destination
  • Multiply
  • Screen
  • Exclusion
  • Overlay
  • Hard Light
  • Soft Light
  • Color Dodge
  • Color Burn
  • Linear Dodge
  • Linear Burn
  • Vivid Light
  • Linear Light
  • Pin Light
  • Hard Mix
  • Substract
  • Divide

  • Addition
  • Difference
  • Darken
  • Lighten
  • Invert
  • Invert RGB
  • Hue
  • Saturation
  • Color
  • Luminosity



Continue Reading