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.

37 lines 1.02 kB
// Do not edit. import { ShaderStore } from "../../Engines/shaderStore.js"; const name = "imageProcessingDeclaration"; const shader = `#ifdef EXPOSURE uniform float exposureLinear; #endif #ifdef CONTRAST uniform float contrast; #endif #if defined(VIGNETTE) || defined(DITHER) uniform vec2 vInverseScreenSize; #endif #ifdef VIGNETTE uniform vec4 vignetteSettings1;uniform vec4 vignetteSettings2; #endif #ifdef COLORCURVES uniform vec4 vCameraColorCurveNegative;uniform vec4 vCameraColorCurveNeutral;uniform vec4 vCameraColorCurvePositive; #endif #ifdef COLORGRADING #ifdef COLORGRADING3D uniform highp sampler3D txColorTransform; #else uniform sampler2D txColorTransform; #endif uniform vec4 colorTransformSettings; #endif #ifdef DITHER uniform float ditherIntensity; #endif `; // Sideeffect if (!ShaderStore.IncludesShadersStore[name]) { ShaderStore.IncludesShadersStore[name] = shader; } /** @internal */ export const imageProcessingDeclaration = { name, shader }; //# sourceMappingURL=imageProcessingDeclaration.js.map