【文件属性】:
文件名称:VoxelSpace-GPU:GPU加速的Comanche样式体素渲染器
文件大小:7.04MB
文件格式:ZIP
更新时间:2021-04-29 08:35:13
Lua
VoxelSpace-GPU
使用GLSL着色器的GPU加速的Comanche风格体素引擎
Voxel渲染器非常酷,我喜欢 。 但是,至少在网络演示中,性能不是很好。 我的速度约为20 FPS。 在我的GPU上使用几乎相同的算法,我得到大约500 FPS。
跑步
安装
git clone和cd进入这个仓库,然后运行love .
这个怎么运作
着色器/voxel.glsl
// This function is applied to every pixel on the screen in parallel using your GPU
vec4 effect( vec4 loveColor, Image texture, vec2 texture_coords, vec2 screen_coords) {
// Start at a point close to the c
【文件预览】:
VoxelSpace-GPU-master
----main.lua(3KB)
----img()
--------demo.gif(6.52MB)
----maps()
--------color.png(369KB)
--------height.png(159KB)
----shaders()
--------voxel.glsl(2KB)
----conf.lua(3KB)
----README.md(2KB)