Gordon G Posted April 9, 2021 Share Posted April 9, 2021 Hi Phaser3 learner here, How is everyone? I was trying to pass a value to shader, for example, an 'intensity' value. But for different images the intensity is different, for example image 1 with intensity 0.5, image 2 with intensity 1.0. I have created a SinglePipeline and changed the value of by calling set1f('intensity', 0.5), but yea, it applies to all images that shared the same pipeline. In Unity there is a material property block that allows you to change per-material property but I am wondering is there a similar thing in Phaser3 or is there a different way to do the job? Link to comment Share on other sites More sharing options...
Recommended Posts