@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.
22 lines • 517 B
JavaScript
// Do not edit.
import { ShaderStore } from "../Engines/shaderStore.js";
const name = "pickingPixelShader";
const shader = `
varying vec4 vMeshID;
uniform vec4 meshID;
void main(void) {
gl_FragColor=vMeshID;
gl_FragColor=meshID;
}`;
// Sideeffect
if (!ShaderStore.ShadersStore[name]) {
ShaderStore.ShadersStore[name] = shader;
}
/** @internal */
export const pickingPixelShader = { name, shader };
//# sourceMappingURL=picking.fragment.js.map