@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.
29 lines • 907 B
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "pbrBlockDirectLighting";
const shader = `var diffuseBase: vec3f=vec3f(0.,0.,0.);
var diffuseTransmissionBase: vec3f=vec3f(0.,0.,0.);
var specularBase: vec3f=vec3f(0.,0.,0.);
var clearCoatBase: vec3f=vec3f(0.,0.,0.);
var sheenBase: vec3f=vec3f(0.,0.,0.);
var preInfo: preLightingInfo;var info: lightingInfo;var shadow: f32=1.;
var aggShadow: f32=0.;var numLights: f32=0.;
var absorption: vec3f=vec3f(0.);
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStoreWGSL[name]) {
ShaderStore.IncludesShadersStoreWGSL[name] = shader;
}
/** @internal */
export const pbrBlockDirectLightingWGSL = { name, shader };
//# sourceMappingURL=pbrBlockDirectLighting.js.map