@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
32 lines • 907 B
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "pbrBlockDirectLighting";
const shader = `vec3 diffuseBase=vec3(0.,0.,0.);
vec3 diffuseTransmissionBase=vec3(0.,0.,0.);
vec3 specularBase=vec3(0.,0.,0.);
vec3 clearCoatBase=vec3(0.,0.,0.);
vec3 sheenBase=vec3(0.,0.,0.);
vec3 coloredFresnel;
preLightingInfo preInfo;lightingInfo info;float shadow=1.;
float aggShadow=0.;float numLights=0.;
vec3 absorption=vec3(0.);
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStore[name]) {
ShaderStore.IncludesShadersStore[name] = shader;
}
/** @internal */
export const pbrBlockDirectLighting = { name, shader };
//# sourceMappingURL=pbrBlockDirectLighting.js.map