项目作者: tcoppex

项目描述 :
Compute Shader sample using C99 and OpenGL 4.3.
高级语言: C
项目地址: git://github.com/tcoppex/gl-compute-c99.git
创建时间: 2016-08-23T10:18:25Z
项目社区:https://github.com/tcoppex/gl-compute-c99

开源协议:The Unlicense

下载


gl-compute-c99

A Propos

A simple & self-contains Compute Shader sample using C99 and OpenGL 4.3.

A custom python script, ‘glextgen’, is provided to automically create at compilation-time the C binding code needed to load OpenGL extensions.

Quickstart

Dependencies

This project keeps few dependencies :

  • OpenGL 4.3+ [required]
  • GLFW 3 [required]
  • GLEW 1.10+ [optional]
  • Python 2.7+ [if not using GLEW]

Build

Enter your terminal in the project root directory and type the following :

  1. $ mkdir build; cd build
  2. $ cmake ../
  3. $ cmake --build .

Known Limitations

On Windows’s MSVC, the thirdparties directory should be specified by hand on the CMakeLists.txt file.

Acknowledgment

Noise and fbm shaders code from Iñigo Quilez.

License

This project is released under The Unlicense.