LLGI
LLGI copied to clipboard
To use VectorField for 3D textures in GpuParticles
fix #137 ## Tasks - [ ] add sample of Fluid2D and reproduce the bug. (ref https://github.com/altseed/Altseed2-csharp/pull/237) - [x] add shaders - [ ] implement cpp - [ ] fix...
Build ShaderTranspiler on Windows ```bash cmake -S . -B build -DBUILD_TEST=ON -DBUILD_TOOLS=ON cmake --build build ``` Build glslangValidator on Windows ```bash cd thirdparty/glslang mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX="$(pwd)/install"...
DX12 と Vulkan では、CommandList の Dispatchが同期実行されない。そのため、一度に複数のDispatchを行うと、複数のComputeShaderが並列に実行されてしまって意図しない出力になる可能性がある。そのため、Dispatch する際に 各 ComputeBuffer に対してResource Barrier を 行い、同期的に実行されるようにする。
### Current version ```cpp auto b = buffer->Lock(); memset(b, ...); buffer->Unlock(); ``` ### Ideal version ```cpp commandBuffer->SetData(buffer, srcData, size); ``` ### Note I seem that it may should support a...