Here’s a sandbox demo: Babylon.js Playground
I have this as the base texture: https://i.imgur.com/sMltV2n.png
I’m trying to have a dynamic texture that has colors for a given id (in this case an rgb color) and replace the output color with the colors from the dynamic texture. From the example texture above, I would like to replace the black pixels with blue and the red pixels with green.
No matter what I do I’m only getting white pixels and I cannot figure out why… I would really appreciate it if someone can help me.