Andrzej Kapolka
892987d68a
Increase tesselation to minimize artifacts.
2014-11-04 18:13:33 -08:00
Andrzej Kapolka
feabd1d5b3
Use a fullscreen quad when we're actually inside the light influence.
2014-11-04 18:08:56 -08:00
Andrzej Kapolka
1763d8f7f0
Switch to using cones/spheres (as opposed to screen-aligned quads) with depth
...
testing for light geometry.
2014-11-04 17:29:19 -08:00
Andrzej Kapolka
3b56f613e2
Cone render function, some cleanup of GeometryCache methods.
2014-11-04 13:21:51 -08:00
Sam Gateau
4f26c9e0fa
fix formatting and syntax issues
2014-10-06 11:06:23 -07:00
Sam Gateau
738369e21f
Replacing glutSolidSphere by a cached Geometry
...
Instead of calling glutSolidSphere, just call Application::getInstance()->getGeometryCache()->renderSphere(...)
- replaced all the instances of "glutSolidSphere"
- Changed the atmosphere shaders so instead of drawing a sphere of the size of the atmosphere, we draw a unit sphere, the vertices get scaled at the right radius in th vertex shader using fOuterRadius
2014-10-03 16:55:58 -07:00
Andrzej Kapolka
446c2193ff
Limit what we render for deferred point/spot lights based on the light's
...
radius.
2014-09-19 12:18:00 -07:00
Andrzej Kapolka
b9ae005e53
Working on the actual deferred lights.
2014-09-18 16:12:46 -07:00
Andrzej Kapolka
7580a1da89
Glow fix for simple shader.
2014-09-15 17:33:07 -07:00
Andrzej Kapolka
da05d37015
Leave the glow level alone when writing the deferred-lit bits.
2014-09-15 17:19:15 -07:00
Andrzej Kapolka
0f3a020b5d
Working on getting particles/entities to work with deferred lighting;
...
normalize normals from buffer.
2014-09-15 16:07:48 -07:00
Andrzej Kapolka
70c8c146bc
Fix for specular issue on Nvidia, try passing along material colors.
2014-09-15 12:44:25 -07:00
Andrzej Kapolka
919112fe7c
Starting to work on handling translucent meshes with deferred lighting.
2014-09-15 12:18:59 -07:00
Andrzej Kapolka
e36ff0d238
Fix deferred lighting for rear view mirror.
2014-09-12 18:56:07 -07:00
Andrzej Kapolka
f8772135b1
Color fix.
2014-09-12 18:35:56 -07:00
Andrzej Kapolka
7074d96c04
Working on support for specular components in deferred lights.
2014-09-12 14:11:56 -07:00
Andrzej Kapolka
618f6415da
Working on specular bits for deferred lighting.
2014-09-11 19:36:37 -07:00
Andrzej Kapolka
f954e4d7ea
Fix for deferred lighting on voxels.
2014-09-11 19:06:29 -07:00
Andrzej Kapolka
e6f37544fd
Use deferred lighting for voxels as well as metavoxels.
2014-09-11 18:06:56 -07:00
Andrzej Kapolka
c2b58c9781
Move deferred lighting into its own class.
2014-09-11 16:39:17 -07:00