UNPKG

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