Changing "color" in the material on runtime won't work.
let props = Object.keys(gBufferMaterial)
props = props.filter(
key => !key.startsWith("_") && !key.startsWith("is") && key !== "uuid" && key !== "type" && key !== "transparent"
)
const propsPrimitive = props.filter(
key => typeof gBufferMaterial[key] === "string" || typeof gBufferMaterial[key] === "number"
)
Changing "color" in the material on runtime won't work.
It seems like
propsPrimitivedidn't have color property inherited fromMaterialclass.(https://github.com/0beqz/realism-effects/blob/main/src/gbuffer/material/GBufferMaterial.js)