Hi all,
I’m trying to achieve a subsurface scattering (SSS) effect in PlayCanvas for a material that simulates silicone shader.
PlayCanvas’s StandardMaterial does not natively support SSS, but I would like to mimic SSS or achieve a “fake” SSS look.
- Is there a recommended way to inject SSS-like shading via material shader chunks?
- Are there any sample projects or best practices for “artist-friendly” SSS in PlayCanvas?
My material so far :
const glossyRedMat = new pc.StandardMaterial();
glossyRedMat.blendType = pc.BLEND_NORMAL;
glossyRedMat.diffuse = new pc.Color(0.9, 0.05, 0.05);
glossyRedMat.specular = new pc.Color(0.01, 0.01, 0.01);
glossyRedMat.shininess = 90;
glossyRedMat.glossy = 1;
glossyRedMat.metalness = 0.0;
glossyRedMat.useMetalness = false;
glossyRedMat.update();