Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
01_clear_screen.cpp
02_triangle_shared.cpp
03_triangle_staged.cpp
04_triangle_recorded.cpp
05_spinny_double.cpp
06_spinny_staged.cpp
07_hello_texture.cpp
08_klein_bottle.cpp
09_particle_system.cpp
0a_particle_system.cpp
0b_shadertoy.cpp
0c_framebuffer.cpp
CMakeLists.txt
README.md

README.md

This folder contains a series of simple independent Lava demos that use GLFW for windowing and glslang for real-time SPIRV generation.

Note that the core Lava library does not have dependencies on GLFW or glslang. AmberProgram and AmberCompiler depend on glslang but they live outside the core Lava library.

Demo Description
clear_screen Simplest demo and does not draw any geometry.
triangle_shared Draws a triangle using a vertex buffer that resides in shared CPU-GPU memory.
triangle_staged Draws a triangle using a vertex buffer uploaded from a staging area.
triangle_recorded Draws a triangle using a recorded command buffer.
klein_bottle Indexed triangles with a depth buffer and MSAA.
particle_system Fun with point sprites.
shadertoy Full screen triangle with a complex fragment shader.
framebuffer Offscreen framebuffer.