ShaderMaterial from PointsMaterial

Hei Community,
I want to use a custom shader together with a Point cloud. I used to solve this with PointsMaterial but now I want to add additional functionality with a custom shader. Unfortunately it seams like the colors are rendered differently. The colors seam to be more intense as before. Also the Size (I think because of sieAttenuation) seams to behaive differently. Can you recommend any solutions for this in the custom shader ? Appreciate any help. Regards Manuel

I don’t know what and how you do in your shader, but to modify the existing PointsMaterial you can use .onBeforeCompile :thinking:

You probably need to include the color correction chunk at the end of your shader.