I need help

**"How can I apply this code

#pragma glslify: blendLinearDodge = require(./linear-dodge) #pragma glslify: blendLinearBurn = require(./linear-burn)

float blendLinearLight(float base, float blend) { return blend<0.5?blendLinearBurn(base,(2.0blend)):blendLinearDodge(base,(2.0(blend-0.5))); }

vec3 blendLinearLight(vec3 base, vec3 blend) { return vec3(blendLinearLight(base.r,blend.r),blendLinearLight(base.g,blend.g),blendLinearLight(base.b,blend.b)); }

vec3 blendLinearLight(vec3 base, vec3 blend, float opacity) { return (blendLinearLight(base, blend) * opacity + base * (1.0 - opacity)); }

#pragma glslify: export(blendLinearLight)

to blend-overlay.glsl Android?"**

looks like it’s referring to two other files/functions, “linear-burn” and “linear-dodge”. Without those, the code doesn’t really work.

1 Like

Thank you I thick I can’t do that