@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
38 lines (36 loc) • 1.08 kB
TypeScript
import { Uniform } from 'three';
export const SubsurfaceScatteringShader: {
uniforms: {
alphaMap: Uniform;
ambientLightColor: Uniform;
color: Uniform;
diffuse: Uniform;
directionalLights: Uniform;
directionalShadowMap: Uniform;
directionalShadowMatrix: Uniform;
emissive: Uniform;
hemisphereLights: Uniform;
lightProbe: Uniform;
map: Uniform;
opacity: Uniform;
pointLights: Uniform;
pointShadowMap: Uniform;
pointShadowMatrix: Uniform;
rectAreaLights: Uniform;
shininess: Uniform;
specular: Uniform;
spotLights: Uniform;
spotShadowMap: Uniform;
spotShadowMatrix: Uniform;
thicknessAmbient: Uniform;
thicknessAttenuation: Uniform;
thicknessColor: Uniform;
thicknessDistortion: Uniform;
thicknessMap: Uniform;
thicknessPower: Uniform;
thicknessScale: Uniform;
uvTransform: Uniform;
};
vertexShader: string;
fragmentShader: string;
};