Andrew Ames
5001977dad
Fixed stencil testing sample to actually set the uniform matrices on the single color shader program. Without it, the border does not show up.
2017-04-25 14:48:33 -07:00
Joey de Vries
85530ab997
Code re-work: shadow mapping.
2017-04-22 20:40:35 +02:00
Joey de Vries
91dc770bc5
Code re-work: Blending.
2017-04-20 22:04:34 +02:00
Joey de Vries
9994831d5d
Code re-work: anti-aliasing.
2017-04-20 21:30:22 +02:00
Joey de Vries
cd5f93211b
Code re-work instancing.
2017-04-20 21:30:07 +02:00
Joey de Vries
5693c59693
Code re-work: geometry shader.
2017-04-20 00:04:02 +02:00
Joey de Vries
c763be2c08
Code re-work: Advanced OpenGL
2017-04-19 22:05:36 +02:00
Joey de Vries
4b6b4d6377
Start code re-work Advanced OpenGL chapter.
2017-04-17 20:40:26 +02:00
Joey de Vries
af6104b2f5
Instancing glDrawElements argument fix.
2016-10-12 18:53:19 +02:00
Joey de Vries
c819799803
Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL
2016-10-03 21:47:20 +02:00
Joey de Vries
93d9412ba7
Asteroid instancing example bugfix.
2016-10-03 18:23:35 +02:00
txf
8baa9bf99e
Fixed bug: cannot load images in vs2015.
2016-08-25 15:16:46 +08:00
Andrew Copland
7ee4d9b56a
Bind the rock models texture to the shaders sampler so texture mapping works in instancing example.
2016-03-30 10:53:53 +01:00
Joey de Vries
20999a1b68
Update to depth testing article
...
Instead of directly dividing by far in the LinearizeDepth function,
divide by far in the main() function to make it explicitly clear the
LinearizeDepth value returns the depth value up to far.
2015-08-12 10:09:49 +02:00
Marin Nilsson
a8a8d11f22
Support for out-of-source builds.
...
Uses environment variable to tell the program where to find resource
files.
Sharder sources are still search for in the current workind directory.
2015-07-30 21:48:41 +02:00
zmertens
30d336f044
sample keyword is reserved in GLSL 4.2+
2015-04-26 11:29:01 -07:00
zmertens
049037561a
added keyboard call back to geometry shader tutorial
2015-04-12 21:01:31 -07:00
Joey de Vries
f28ad1e256
Initial commit, all code samples with working CMake script for VS/Windows.
2015-03-23 15:42:04 +01:00