Đan Mạchcinight/MinimalCompute
No description provided for this repository.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#2 Repository Của Tuần
#6 Repository Của Tuần
#9 Repository Của Tuần
🎮 Minimal Compute Shader Examples — Playground GPU trên Unity
Từ compute texture tới AsyncGPUReadback, hơn 50 scene thử nghiệm GPU-CPU.
Dự án mở nguồn MinimalCompute tập trung vào việc thử nghiệm các kỹ thuật compute shader trong Unity. Mỗi scene là một ví dụ nhỏ, giúp người dùng nhanh chóng hiểu cách dữ liệu lưu chuyển giữa CPU và GPU thông qua compute shader, compute buffer, structured buffer, indirect rendering và mesh manipulation.
Dự án hỗ trợ cả BuiltinRP và URP, được kiểm thử trên Win DX11 với Unity 6.3.
✨ Điểm nổi bật
- 01_1_Basic: Chỉnh sửa texture bằng compute shader đơn giản nhất.
- 01_2_FallingSand: Mô phỏng pixel rơi bằng compute shader.
- 01_3_Fluid_2D / 01_4_Fluid_3D: Mô phỏng chất lưu GPU 2D và 3D.
- 02_1_StructuredBufferNoCompute: Dùng ComputeBuffer trong shader thông thường.
- 02_2_ComputePaintTexture: Vẽ texture bằng StructuredBuffer.
- 02_4_ComputePaintTexture_DFT: Vẽ bằng biến đổi Fourier rời rạc (DFT).
- 02_5_ComputeParticlesDirect: Hệ thống hạt GPU cố định.
- 03_2_AsyncGPUReadback: Đọc dữ liệu GPU về CPU bất đồng bộ.
- 03_4_AsyncGPUReadbackMesh: Cập nhật vertex mesh bằng compute + readback.
- 04_2_ComputeParticlesIndirect: Hạt GPU động không cần readback.
- 06_1_ComputeVertex: Thay thế vertex buffer bằng StructuredBuffer.
- 06_4_SkinnedMeshBuffer_DiffMesh: Kết hợp vertex từ 2 mesh khác nhau.
💡 Vì sao đáng chú ý
Dự án không tập trung vào hiệu năng tối ưu, mà là công cụ học tập thực tế. Mỗi scene được thiết kế nhỏ gọn, dễ hiểu, phù hợp cho người mới bắt đầu với compute shader hoặc muốn nhanh chóng thử nghiệm ý tưởng trên GPU.
#Unity3D #ComputeShader #GPU #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.
UIEffect is an open-source package that allows you to intuitively apply rich UI effects directly from the Inspector or via code. Combine various filters, such as grayscale, blur, and dissolve, to decorate your UI with a unique visual style!
This is literally a game framework, based on Unity game engine. It encapsulates commonly used game modules during development, and, to a large degree, standardises the process, enhances the development speed and ensures the product quality.
Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.