This is my repository for keeping the OpenGL examples as I work through the OpenGL Superbible's 7th edition in rust.
- Example Images
More examples are available than the ones listed in the readme. Storing a lot of gifs would bloat the repo, so only a few are displayed here.
To run any of the programs:
cargo run --bin name
This gif has artifacts from the method used to generate it but you get the idea.
- alienrain
- basicfbo
- bindlesstex
- blendmatrix
- blinnphong
- bumpmapping
- clipdistance
- compressrgtc
- csflocking
- cubemapenv
- cubicbezier
- cullindirect
- deferredshading
- depthclamp
- dflandscape
- dispmap
- dof
- envmapsphere
- equirectangular
- fontdemo
- fragcolorfrompos
- fragmentlist
- grass
- gsculling
- gslayered
- gsquads
- gstessellate
- hdrbloom
- hdrexposure
- hdrtonemap
- hqfilter
- indexedcube
- indirectmaterial
- instancedattribs
- julia
- ktxview
- linesmooth
- mirrorclampedge
- movingtri
- msaanative
- multidrawindirect
- multimaterial
- multiscissor
- multiviewport
- noperspective
- normalviewer
- objectexploder
- ompparticles
- packetbuffer
- perpixelgloss
- phonglighting
- pmbfractal
- pmbstreaming
- polygonsmooth
- prefixsum
- prefixsum2d
- programinfo
- raytracer
- rimlight
- sampleshading
- sb6mrender
- sdfdemo
- shadowmapping
- shapedpoints
- simpleclear
- simpletexcoords
- simpletexture
- singlepoint
- singletri
- sparsetexture
- spinnycube
- springmass
- ssao
- starfield
- stereo
- subroutines
- tessellatedcube
- tessellatedgstri
- tessellatedtri
- tessmodes
- tesssubdivmodes
- toonshading
- tunnel
- wrapmodes