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.

14 lines 541 B
// Do not edit. import { ShaderStore } from "../../Engines/shaderStore.js"; const name = "imageProcessingCompatibility"; const shader = `#ifdef IMAGEPROCESSINGPOSTPROCESS fragmentOutputs.color=vec4f(pow(fragmentOutputs.color.rgb, vec3f(2.2)),fragmentOutputs.color.a); #endif `; // Sideeffect if (!ShaderStore.IncludesShadersStoreWGSL[name]) { ShaderStore.IncludesShadersStoreWGSL[name] = shader; } /** @internal */ export const imageProcessingCompatibilityWGSL = { name, shader }; //# sourceMappingURL=imageProcessingCompatibility.js.map