123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- uniform mat4 view;
- uniform mat4 viewProjection;
- #ifdef ALBEDO
- uniform mat4 albedoMatrix;
- uniform vec2 vAlbedoInfos;
- #endif
- #ifdef AMBIENT
- uniform mat4 ambientMatrix;
- uniform vec4 vAmbientInfos;
- #endif
- #ifdef OPACITY
- uniform mat4 opacityMatrix;
- uniform vec2 vOpacityInfos;
- #endif
- #ifdef EMISSIVE
- uniform vec2 vEmissiveInfos;
- uniform mat4 emissiveMatrix;
- #endif
- #ifdef LIGHTMAP
- uniform vec2 vLightmapInfos;
- uniform mat4 lightmapMatrix;
- #endif
- #ifdef REFLECTIVITY
- uniform vec3 vReflectivityInfos;
- uniform mat4 reflectivityMatrix;
- #endif
- #ifdef METALLIC_REFLECTANCE
- uniform vec2 vMetallicReflectanceInfos;
- uniform mat4 metallicReflectanceMatrix;
- #endif
- #ifdef MICROSURFACEMAP
- uniform vec2 vMicroSurfaceSamplerInfos;
- uniform mat4 microSurfaceSamplerMatrix;
- #endif
- #ifdef BUMP
- uniform vec3 vBumpInfos;
- uniform mat4 bumpMatrix;
- #endif
- #ifdef POINTSIZE
- uniform float pointSize;
- #endif
- // Reflection
- #ifdef REFLECTION
- uniform vec2 vReflectionInfos;
- uniform mat4 reflectionMatrix;
- #endif
- // Clear Coat
- #ifdef CLEARCOAT
- #ifdef CLEARCOAT_TEXTURE
- uniform vec2 vClearCoatInfos;
- uniform mat4 clearCoatMatrix;
- #endif
- #ifdef CLEARCOAT_BUMP
- uniform vec2 vClearCoatBumpInfos;
- uniform mat4 clearCoatBumpMatrix;
- #endif
- #ifdef CLEARCOAT_TINT_TEXTURE
- uniform vec2 vClearCoatTintInfos;
- uniform mat4 clearCoatTintMatrix;
- #endif
- #endif
- // Anisotropy
- #ifdef ANISOTROPIC
- #ifdef ANISOTROPIC_TEXTURE
- uniform vec2 vAnisotropyInfos;
- uniform mat4 anisotropyMatrix;
- #endif
- #endif
- // Sheen
- #ifdef SHEEN
- #ifdef SHEEN_TEXTURE
- uniform vec2 vSheenInfos;
- uniform mat4 sheenMatrix;
- #endif
- #endif
- // Sub Surface
- #ifdef SUBSURFACE
- #ifdef SS_REFRACTION
- uniform vec4 vRefractionInfos;
- uniform mat4 refractionMatrix;
- #endif
- #ifdef SS_THICKNESSANDMASK_TEXTURE
- uniform vec2 vThicknessInfos;
- uniform mat4 thicknessMatrix;
- #endif
- #endif
|