diff --git a/src/plugins/visualArts/components/voxelizedShader/postProcessing.vue b/src/plugins/visualArts/components/voxelizedShader/postProcessing.vue new file mode 100644 index 00000000..52b6a42b --- /dev/null +++ b/src/plugins/visualArts/components/voxelizedShader/postProcessing.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/plugins/visualArts/pages/voxelizedShader.vue b/src/plugins/visualArts/pages/voxelizedShader.vue index 2ecf6989..7ee6a6ad 100644 --- a/src/plugins/visualArts/pages/voxelizedShader.vue +++ b/src/plugins/visualArts/pages/voxelizedShader.vue @@ -4,7 +4,7 @@ * @Autor: 地虎降天龙 * @Date: 2025-01-10 11:30:03 * @LastEditors: 地虎降天龙 - * @LastEditTime: 2025-01-10 12:23:07 + * @LastEditTime: 2025-01-10 15:03:43 --> @@ -28,6 +30,7 @@ import { OrbitControls } from '@tresjs/cientos' import { reflectorDUDV } from 'PLS/floor' import { Pane } from 'tweakpane' import voxelizedShaderModel from '../components/voxelizedShader/model.vue' +import postProcessing from '../components/voxelizedShader/postProcessing.vue' const state = { clearColor: '#050505', @@ -44,6 +47,9 @@ const voxelizedShaderConfig = reactive({ mosaic: 2.31, progress: 0.31, triScale: 1, + use: true, + start: 0, + translate: 0, }) const paneControl = new Pane({ title: '参数' }) paneControl.addBinding(voxelizedShaderConfig, 'progress', { @@ -64,4 +70,19 @@ paneControl.addBinding(voxelizedShaderConfig, 'triScale', { max: 1, step: 0.01, }) +paneControl.addBinding(voxelizedShaderConfig, 'use', { + label: '开启延迟', +}) +paneControl.addBinding(voxelizedShaderConfig, 'start', { + label: '曲折度', + min: 0, + max: 1, + step: 0.01, +}) +paneControl.addBinding(voxelizedShaderConfig, 'translate', { + label: '偏移量', + min: 0, + max: 1, + step: 0.01, +})