glsl-blend icon indicating copy to clipboard operation
glsl-blend copied to clipboard

glsl photoshop blending modes. glslify formatted.

Results 8 glsl-blend issues
Sort by recently updated
recently updated
newest added

Subtract is not as same as LinearBurn Subtract should be ```glsl float blendSubtract(float base, float blend) { return max(base-blend, 0.0); } vec3 blendSubtract(vec3 base, vec3 blend) { return max(base-blend, vec3(0.0));...

Is it possible to use the Normal Blend.. but if the blend texture has parts that are alpha 0.0 show the basetexture below? Just like putting a image that has...

what is shader for base.a < 1 and overlay.a < 1

According to https://en.wikipedia.org/wiki/Blend_modes#Dodge_and_burn > Blending any color with white gives white. Blending with black does not change the image. The operation is not invertible due to possible clipping of highlights....

Update: This aplies to the demo at http://jamieowen.github.io/glsl-blend `demo-three.min.js:13 THREE.WebGLShader: Shader couldn't compile. demo-three.min.js:13 THREE.WebGLShader: gl.getShaderInfoLog() fragment ERROR: 0:343: '(' : memory exhausted THREE.WebGLShader: gl.getShaderInfoLog() fragment ERROR: 0:343: '(' :...