Skip to content

MV10/opengl-buffer-swap-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opengl-buffer-swap-test

Testing Shadertoy-style buffer swapping, where previous-frame buffer content is used to produce feedback effects.

For testing, this is an implementation of the HSL Cellular Automata shader. However, others like isovalues 3 don't work for reasons I don't yet understand.

  • FrameData provides a full-viewport quad (ie. draw all pixels) to the vertex shader
  • BufferInfo stores a related set of Framebuffer and Texture handles and a TextureUnit
  • RenderPass stores BufferInfo objects, the current-frame draw buffer and the last frame's old buffer

Untitled

About

Testing Shadertoy-style buffer swapping

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published