import{S as i}from"./index-CDrXokXW.js";import"./index-DWyDLubb.js";const o="iblVoxelSlabDebugVertexShader",r="attribute vec3 position;varying vec3 vNormalizedPosition;uniform mat4 world;uniform mat4 invWorldScale;uniform mat4 cameraViewMatrix;uniform mat4 projection;uniform mat4 viewMatrix;void main(void) {vec4 worldPosition=(world*vec4(position,1.));gl_Position=projection*cameraViewMatrix*worldPosition;vNormalizedPosition=(viewMatrix*invWorldScale*worldPosition).rgb;vNormalizedPosition.xyz=vNormalizedPosition.xyz*vec3(0.5)+vec3(0.5);}";i.ShadersStore[o]||(i.ShadersStore[o]=r);const a={name:o,shader:r};export{a as iblVoxelSlabDebugVertexShader};
