Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/h/chemshapes-HEAD/host/gletools/examples/tesselation/terrain.py   chemshapes(Download)
from gletools import ShaderProgram, Matrix, Texture, Sampler2D, DepthTest
 
from util import View, make_triangles
 
config = Config(buffers=2, samples=4)
normals = ShaderProgram.open('normals.shader')
 
vbo = make_triangles(128, 128, terrain)
fps = pyglet.clock.ClockDisplay(color=(144.0/255.0,195.0/255.0,6.0/255.0,0.5))