mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-22 15:49:30 -07:00
The cursor channel of the rain pass is now propagated in isolation to the effect passes.
This commit is contained in:
@@ -31,7 +31,7 @@ const prideStripeColors = [
|
||||
export default ({ regl, config }, inputs) => {
|
||||
const output = makePassFBO(regl, config.useHalfFloat);
|
||||
|
||||
const { backgroundColor, ditherMagnitude, bloomStrength } = config;
|
||||
const { backgroundColor, cursorColor, ditherMagnitude, bloomStrength } = config;
|
||||
|
||||
// Expand and convert stripe colors into 1D texture data
|
||||
const stripeColors =
|
||||
@@ -49,6 +49,7 @@ export default ({ regl, config }, inputs) => {
|
||||
|
||||
uniforms: {
|
||||
backgroundColor,
|
||||
cursorColor,
|
||||
ditherMagnitude,
|
||||
bloomStrength,
|
||||
tex: inputs.primary,
|
||||
|
||||
Reference in New Issue
Block a user