e$11 bilateralBlurPixelShader e$10 bilateralBlurQualityPixelShader r$3_ rsmGlobalIlluminationPixelShader e$$ rsmFullGlobalIlluminationPixelShader r$3Z bilateralBlurPixelShader o$2D uniform sampler2D textureSampler;uniform sampler2D depthSampler;uniform sampler2D normalSampler;uniform int filterSize;uniform vec2 blurDir;uniform float depthThreshold;uniform float normalThreshold;varying vec2 vUV;void main(void) {vec3 c… — e$_ bilateralBlurQualityPixelShader o$2C uniform sampler2D textureSampler;uniform sampler2D depthSampler;uniform sampler2D normalSampler;uniform int filterSize;uniform vec2 blurDir;uniform float depthThreshold;uniform float normalThreshold;varying vec2 vUV;void main(void) {vec3 c… — r$3Y rsmGlobalIlluminationPixelShader e$Z rsmFullGlobalIlluminationPixelShader e$Y fluidRenderingStandardBlurPixelShader e$X fluidRenderingStandardBlurPixelShader o$2A uniform sampler2D textureSampler;uniform int filterSize;uniform vec2 blurDir;varying vec2 vUV;void main(void) {vec4 s=textureLod(textureSampler,vUV,0.);if (s.r==0.) {glFragColor=vec4(0.,0.,0.,1.);return;}
float sigma=float(filterSize)/3.0; … — r$3X fluidRenderingBilateralBlurPixelShader t$36 fluidRenderingBilateralBlurPixelShader r$3W uniform sampler2D textureSampler;uniform int maxFilterSize;uniform vec2 blurDir;uniform float projectedParticleConstant; uniform float depthThreshold;varying vec2 vUV;void main(void) {float depth=textureLod(textureSampler,vUV,0.).x;if (dept cut — r$3V fluidRenderingRenderPixelShader r$3U fluidRenderingRenderPixelShader o$2y #define DISABLE_UNIFORMITY_ANALYSIS
#define IOR 1.333
#define ETA 1.0/IOR
#define F0 0.02
uniform sampler2D textureSampler;uniform sampler2D depthSampler;
#ifdef FLUIDRENDERING_DIFFUSETEXTURE
uniform sampler2D diffuseSampler;
#else
uniformcut — e$W fluidRenderingParticleDiffusePixelShader e$V fluidRenderingParticleDiffusePixelShader o$2x uniform float particleAlpha;varying vec2 uv;varying vec3 diffuseColor;void main(void) {vec3 normal;normal.xy=uv*2.0-1.0;float r2=dot(normal.xy,normal.xy);if (r2>1.0) discard;glFragColor=vec4(diffuseColor,1.0);} t$33 fluidRenderingParticleDepthVertexShader r$3T attribute position: vec3f;attribute offset: vec2f;uniform view: mat4x4f;uniform projection: mat4x4f;uniform size: vec2f;varying uv: vec2f;varying viewPos: vec3f;varying sphereRadius: f32;
#ifdef FLUIDRENDERING_VELOCITY
attribute velocity: cut — r$3S fluidRenderingParticleDepthPixelShader i$29 fluidRenderingParticleDepthVertexShader o$2v attribute vec3 position;attribute vec2 offset;uniform mat4 view;uniform mat4 projection;uniform vec2 size;varying vec2 uv;varying vec3 viewPos;varying float sphereRadius;
#ifdef FLUIDRENDERING_VELOCITY
attribute vec3 velocity;varying floatcut — r$3R fluidRenderingParticleDepthPixelShader i$28 uniform mat4 projection;varying vec2 uv;varying vec3 viewPos;varying float sphereRadius;
#ifdef FLUIDRENDERING_VELOCITY
varying float velocityNorm;
#endif
void main(void) {vec3 normal;normal.xy=uv*2.0-1.0;float r2=dot(normal.xy,normal.xy); … — t$31 fluidRendering ParticleThickness VertexShader r$3Q attribute position: vec3f;attribute offset: vec2f;uniform view: mat4x4f;uniform projection: mat4x4f;uniform size: vec2f;varying uv: vec2f;@vertex
fn main(input: VertexInputs)->FragmentInputs {var cornerPos: vec3f=vec3f(
vec2f(vertexInputs. cut — e$U fluidRendering ParticleThickness PixelShader o$2t fluidRendering ParticleThickness VertexShader r$3P attribute vec3 position;attribute vec2 offset;uniform mat4 view;uniform mat4 projection;uniform vec2 size;varying vec2 uv;void main(void) {vec3 cornerPos;cornerPos.xy=vec2(offset.x-0.5,offset.y-0.5)*size;cornerPos.z=0.0;vec3 viewPos=(view* … — e$T fluidRendering ParticleThickness PixelShader a$2i uniform float particleAlpha;varying vec2 uv;void main(void) {vec3 normal;normal.xy=uv*2.0-1.0;float r2=dot(normal.xy,normal.xy);if (r2>1.0) discard;float thickness=sqrt(1. 0-r2);glFragColor= vec4(vec3(particleAlpha*thickness), 1.0);} r$3O iblShadowGBufferDebugPixelShader r$3N iblShadowGBufferDebugPixelShader o$2r #ifdef GL_ES
precision mediump float;
#endif
varying vec2 vUV;uniform sampler2D textureSampler;uniform sampler2D depthSampler;uniform sampler2D normalSampler;uniform sampler2D positionSampler;uniform sampler2D velocitySampler;uniform vec4 cut — e$S logDepthFragment r$3M #ifdef LOGARITHMICDEPTH
fragmentOutputs. fragDepth= log2(fragmentInputs. vFragmentDepth)*uniforms. logarithmicDepthConstant*0. 5;
#endif t$2$ logDepthDeclaration o$2p #ifdef LOGARITHMICDEPTH
uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
#endif e$R clipPlaneFragmentDeclaration f$12 #ifdef CLIPPLANE
varying fClipDistance: f32;
#endif
#ifdef CLIPPLANE2
varying fClipDistance2: f32;
#endif
#ifdef CLIPPLANE3
varying fClipDistance3: f32;
#endif
#ifdef CLIPPLANE4
varying fClipDistance4: f32;
#endif
#ifdef CLIPPLANE5
varyingcut — i$27 clipPlaneFragment f$11 #if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
if (false) {}
#endif
#ifdef CLIPPLANE
else if (fragmentInputs.fClipDistance>0.0)
{discard;}
#endif
#i… — n$1L outlinePixelShader f$10 a$2g, n$1N, n$1M, o$2q e$Q logDepthVertex r$3L #ifdef LOGARITHMICDEPTH
vertexOutputs. vFragmentDepth=1. 0+vertexOutputs. position.w; vertexOutputs. position.z= log2(max(0.000001, vertexOutputs. vFragmentDepth))*uniforms. logarithmicDepthConstant;
#endif r$3K morphTargetsVertexGlobal o$2o #ifdef MORPHTARGETS
#ifdef MORPHTARGETS_TEXTURE
var vertexID : f32;
#endif
#endif t$2_ morphTargetsVertex r$3J #ifdef MORPHTARGETS
#ifdef MORPHTARGETS_TEXTURE
#if {X}==0
for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
#ifdef USE_VERTEX_PULLING
vertexID= f32(vpVertexIndex)*uniforms. morphTargetTextureInfo cut — r$3I morphTargetsVertexGlobalDeclaration t$2Y morphTargetsVertexDeclaration i$25 instancesDeclaration d$T #ifdef INSTANCES
attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
#ifdef INSTANCESCOLOR
attribute instanceColor : vec4<f32>;
#endif
#if defined(THIN_INSTANCES) && !definedcut — t$2X bakedVertexAnimationDeclaration r$3F #ifdef BAKED_VERTEX_ANIMATION_TEXTURE
uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
#ifdef INSTANCES
attribute bakedVertexAnimationSettingsInstanced cut — d$S instancesVertex r$3E #ifdef INSTANCES
var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR cut — t$2W bakedVertexAnimation r$3D #ifdef BAKED_VERTEX_ANIMATION_TEXTURE
{
#ifdef INSTANCES
let VATStartFrame: f32=vertexInputs. bakedVertexAnimationSettingsInstanced. x;let VATEndFrame: f32=vertexInputs. bakedVertexAnimationSettingsInstanced. y;let VATOffsetFrame: f32=vertexIn cut — i$24 clipPlaneVertex t$2V #ifdef CLIPPLANE
vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
#endif
#ifdef CLIPPLANE2
vertexOutputs.fClipDistance2=dot(worldPos,uniforms.vClipPlane2);
#endif
#ifdef CLIPPLANE3
vertexOutputs.fClipDistance3=dot(worldPos,un cut — t$2U bonesDeclaration r$3C #if NUM_BONE_INFLUENCERS>0
#ifndef USE_VERTEX_PULLING
attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
#if NUM_BONE_INFLUENCERS>4
attribute matricesIndicesExtra : vec4f;attribute matricesWeightsExtra : vec4f;
#endif
#encut — i$23 clipPlaneVertexDeclaration f$X #ifdef CLIPPLANE
uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
#endif
#ifdef CLIPPLANE2
uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
#endif
#ifdef CLIPPLANE3
uniform vClipPlane3: vec4<f32>;varying fClipDistance3: cut — n$1I bonesVertex i$22 #ifndef BAKED_VERTEX_ANIMATION_TEXTURE
#if NUM_BONE_INFLUENCERS>0
var influence : mat4x4<f32>;
#ifdef BONETEXTURE
influence= readMatrixFromRawSampler(boneSampler, vertexInputs. matricesIndices [0])*vertexInputs. matricesWeights [0];
#if NUM_BONE cut — r$3A outlineVertexShader S$B attribute position: vec3f;attribute normal: vec3f;
#include<bonesDeclaration>
#include<baked VertexAnimation Declaration>
#include<morph TargetsVertex GlobalDeclaration>
#include<morphTargetsVertexDeclaration> [0..maxSimultaneousMorphTargets]
#… — V$k f$Y, f$_, i$26, r$3H, a$2f, r$3G, n$1N, S$C, d$U, n$1K, r$3B, n$1J t$2T logDepthFragment r$3z #ifdef LOGARITHMICDEPTH
gl_FragDepthEXT= log2(vFragmentDepth)*logarithmicDepthConstant*0. 5;
#endif t$2S logDepthDeclaration o$2n #ifdef LOGARITHMICDEPTH
uniform float logarithmicDepthConstant; varying float vFragmentDepth;
#endif e$P clipPlaneFragmentDeclaration f$W #ifdef CLIPPLANE
varying float fClipDistance;
#endif
#ifdef CLIPPLANE2
varying float fClipDistance2;
#endif
#ifdef CLIPPLANE3
varying float fClipDistance3;
#endif
#ifdef CLIPPLANE4
varying float fClipDistance4;
#endif
#ifdef CLIPPLANE5
varcut — i$21 clipPlaneFragment d$R #if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
if (false) {}
#endif
#ifdef CLIPPLANE
else if (fClipDistance>0.0)
{discard;}
#endif
#ifdef CLIPPLANE2cut — i$20 outlinePixelShader