mirror of
git://soft.sys114.com/mainsail
synced 2026-02-11 12:30:25 +09:00
Release v2.14.0
This commit is contained in:
1
assets/kernelBlur.vertex-SB8k7aXt.js
Normal file
1
assets/kernelBlur.vertex-SB8k7aXt.js
Normal file
@@ -0,0 +1 @@
|
||||
import{S as e}from"./Viewer-DVCEMRp5.js";import"./kernelBlurVaryingDeclaration-DuItmes5.js";import"./vuetify-Ce4WN_Dg.js";import"./overlayscrollbars-CiKU261J.js";import"./index-Bku7SJna.js";import"./echarts-DzoUeqWp.js";import"./codemirror-ZSHHXwGs.js";const n="kernelBlurVertex",o="vertexOutputs.sampleCoord{X}=vertexOutputs.sampleCenter+uniforms.delta*KERNEL_OFFSET{X};";e.IncludesShadersStoreWGSL[n]=o;const t="kernelBlurVertexShader",r="attribute position: vec2f;uniform delta: vec2f;varying sampleCenter: vec2f;\n#include<kernelBlurVaryingDeclaration>[0..varyingCount]\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {const madd: vec2f= vec2f(0.5,0.5);\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvertexOutputs.sampleCenter=(input.position*madd+madd);\n#include<kernelBlurVertex>[0..varyingCount]\nvertexOutputs.position= vec4f(input.position,0.0,1.0);\n#define CUSTOM_VERTEX_MAIN_END\n}";e.ShadersStoreWGSL[t]=r;const l={name:t,shader:r};export{l as kernelBlurVertexShaderWGSL};
|
||||
Reference in New Issue
Block a user