Joey de Vries
534b6ec8c9
IBL Diffuse irradiance source code. Note that these projects use stb_image.h directly, but still link with SOIL causing libray conflicts. Run these specific projects by not linking to SOIL. This will get resolved the moment all projects run on stb_image.h instead of SOIL.
2017-02-16 22:42:05 +01:00
Joey de Vries
c5b584deb9
Improved CMakeLists for clearer project setup with added library support for stb_image.
2017-01-18 21:56:31 +01:00
Joey de Vries
96ced3c198
PBR attenuation fix with proper Fresnel adjustments.
2017-01-09 19:57:53 +01:00
Joey de Vries
5042701210
Ambient light to correspond with tutorial's version.
2016-12-18 11:45:35 +01:00
Joey de Vries
0f78bb69ae
Prevent double multiplication of Fresnel.
2016-12-18 11:28:01 +01:00
Joey de Vries
70f2ec7c1b
Adjust code to more properly reflect tutorial.
2016-12-17 21:53:41 +01:00
Joey de Vries
ec42b25235
Tutorial spacing fix.
2016-12-17 21:34:46 +01:00
Joey de Vries
15e7808d55
Adjustments to PBR lighting code.
2016-12-17 21:29:22 +01:00
Joey de Vries
9e2f12aeaa
Updated PBR code samples.
2016-12-17 15:58:17 +01:00
Joey de Vries
0a46f53608
Template PBR lighting tut with folder re-structure to fit PBR tuts.
2016-12-12 21:10:58 +01:00
Joey de Vries
b2657d7e1c
Some SSAO improvements.
2016-12-06 20:20:26 +01:00
Joey de Vries
5a17132991
Multiply ambient component with diffuse's surface (albedo) color.
2016-12-05 22:21:11 +01:00
Joey de Vries
47048b9840
Updated SSAO tutorial.
2016-12-05 21:13:41 +01:00
Joey de Vries
621f28fc65
Normal mapping gram-schmidth bugfix.
2016-11-23 08:12:53 +01:00
Joey de Vries
494dba710d
Issue #43
2016-10-24 09:10:12 +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
Drahomír Hanák
a1638ea19a
Fix switching draw mode in SSAO deferred shader
2016-07-06 15:09:56 +02:00
J. de Vries
4d3a93859d
Issue #33 : removed text rendering from repository for now.
2016-05-24 14:11:10 +02:00
J. de Vries
30c6c04bf4
Forgot to add text_rendering source file to GitHub.
2016-05-24 10:18:28 +02:00
J. de Vries
11b26e6fc3
comments fix
2016-05-11 20:07:16 +02:00
J. de Vries
b63d9af161
New debugging tutorial source code w/ artificial errors.
2016-05-11 20:05:16 +02:00
J. de Vries
336df22af5
Added source code for debugging tutorials; new code_viewer directly loads from GitHub.
2016-05-11 19:43:32 +02:00
J. de Vries
f313234c9a
Fix viewport display for high-DPI devices.
2016-04-30 11:38:05 +02: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
J. de Vries
d7ed65ff5d
Shadow mapping view frustum clean-up (more intuitive LookAt Up vector).
2016-03-28 01:07:11 +02:00
J. de Vries
d5c3be70ab
Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL
2016-03-06 11:29:09 +01:00
J. de Vries
2bf1ed16f1
Fix: framebuffer color format.
2016-03-06 11:24:34 +01:00
Andrew Parlane
1e9908378e
Deferred Shading: Fixed bug with the normal texture component of the
...
gBuffer.
The texture was being set up as GL_RGB instead of GL_RGB16F which caused
negative components of normals to be set to 0.
2016-01-19 22:29:05 -04: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
26758e0dea
Merge remote-tracking branch 'upstream/master'
2015-08-02 13:49:33 +02:00
zryan3
bebe39c0be
refactored CMakeLists to build for Linux Mint 17.2, and removed std::sqrtf which is not apart of GCC C++ libraries apparently
2015-08-02 00:40:56 -07: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
Joey de Vries
eac76c9a50
New tutorial code
...
Added code of new tutorials to the repository
2015-07-15 11:48:45 +02:00
Joey de Vries
635309ef0b
New tutorial code
...
New tutorial code
2015-06-20 11:55:58 +02:00
Joey de Vries
c4c3221de9
Added Parallax Mapping code/resources
...
Added code samples and necessary texture resources for upcoming Parallax
Mapping tutorial
2015-06-04 19:59:04 +02:00
Joey de Vries
2a0a415c8f
Normal mapping code
...
Normal mapping code for normal mapping tutorial (+ few extra's for next
tutorial)
2015-05-26 22:00:21 +02:00
zmertens
4018e023de
fixed Linux error with the gamma variable already being defined in mathcalls.h
2015-05-22 20:25:46 -07:00
Joey de Vries
f6c5ac42fc
Shadow tutorials added
...
Added source code of shadow mapping and omnidirectional shadow mapping
tutorial.
2015-05-15 11:25:35 +02:00
Joey de Vries
052070123a
Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL
2015-04-27 13:40:44 +02:00
Joey de Vries
231651b44f
Merge branch 'master' of https://github.com/JoeyDeVries/LearnOpenGL
2015-04-27 13:38:11 +02:00
Joey de Vries
8d0df8edb8
Added new project/code files
2015-04-27 13:37:18 +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