summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2011-03-23DRIVER BUGSdriverbugsKenneth Graunke3-14/+49
2011-03-22Switch main FBO's depth attachment to be a texture.Kenneth Graunke1-6/+10
2011-03-22Blit to screen via a full screen quad and shader.Kenneth Graunke1-3/+20
2011-03-22Add a metric shitload of donuts.Kenneth Graunke1-3/+45
2011-03-22Make the rings smaller, more like Sonic rings.Kenneth Graunke1-1/+1
2011-03-22Remove the specular_exponent field.Kenneth Graunke1-8/+1
2011-03-22Remove steaming pilesKenneth Graunke5-179/+11
2011-02-09change light w component to 1.0Kenneth Graunke1-3/+4
2011-02-09Perform front-face culling when rendering the shadow map.Kenneth Graunke1-0/+2
2011-02-09Actually scale/translate the z component.Kenneth Graunke1-3/+3
2011-02-09WIPKenneth Graunke2-7/+7
2011-02-09phong: don't use environment mapKenneth Graunke1-1/+1
2011-02-09Set up min/mag filters on the shadowmap.Kenneth Graunke1-0/+2
2011-02-09don't need glClearColor when rendering a depth-only textureKenneth Graunke1-1/+0
2011-02-09Reorder drawing - render the shadow map before using itKenneth Graunke1-6/+6
2011-02-09Check for FBO completeness, just in caseKenneth Graunke1-0/+10
2011-02-02WIPKenneth Graunke4-64/+44
2011-02-02Switch to tori!Kenneth Graunke2-2/+2
2011-01-26add forgotten files shadow.frag and shadow.vertKenneth Graunke2-0/+12
2011-01-26Actually apply the shadow.Kenneth Graunke4-3/+15
2011-01-26Create a dummy 1x1 shadow map...supply one or the other to the shader.Kenneth Graunke4-2/+24
2011-01-26phong: Rename "sampler" to "environment".Kenneth Graunke2-5/+5
2011-01-26Mark top sphere as an occluder; only draw occluders into shadowtex.Kenneth Graunke1-4/+13
2011-01-26Move light to world space and draw the shadows from PoV of the light.Kenneth Graunke2-9/+17
2011-01-22main: Remove leftover shader loading cruft.Kenneth Graunke1-20/+0
2011-01-22Lower the resolution of the shadow FBOKenneth Graunke1-3/+3
2011-01-21Move glViewport calls into Scene::ReshapeKenneth Graunke2-4/+3
2011-01-21STUFF!!!Kenneth Graunke3-39/+65
2011-01-21scene: Rename shader specific variable names to "phong_..."Kenneth Graunke1-21/+21
2011-01-21Initial refactoring for rendering the scene to multiple FBOs.Kenneth Graunke3-47/+53
2011-01-21Use textureOffsetKenneth Graunke3-30/+14
2011-01-21Fix the lack of a depth buffer.sobelKenneth Graunke1-0/+6
2011-01-21Check for ARB_framebuffer_objects.Kenneth Graunke1-0/+5
2011-01-21Render to a FBO and apply a Sobel filter as a post-processing effect.Kenneth Graunke12-416/+767
2010-12-08Ian says I'm supposed to use 'n' and 'v' in the Fresnel calculation.HEADmasterKenneth Graunke1-3/+3
2010-12-08Fix up the lighting/environment combining - use mix().Kenneth Graunke1-6/+3
2010-12-08Use GL_LINEAR instead of GL_NEAREST for the texture filtering.Kenneth Graunke1-2/+2
2010-12-08Make "eye" a uniform rather than an attribute.Kenneth Graunke2-10/+6
2010-12-01Remove unnecessary glEnable call.Kenneth Graunke1-2/+0
2010-11-17Small fragment shader changes.Kenneth Graunke1-2/+3
2010-11-17Combine the environment mapping and bump mapping via a Fresnel factor.Kenneth Graunke1-4/+24
2010-11-17Upgrade shaders to GLSL 1.20.Kenneth Graunke2-0/+2
2010-11-17Make the C1 camera the default.Kenneth Graunke1-1/+1
2010-11-17Add environment mapping.Kenneth Graunke3-2/+32
2010-11-17Load the cube texture at startup.Kenneth Graunke2-0/+37
2010-11-17Add cube map textures from Humus.Kenneth Graunke6-0/+0
2010-11-07Implement a procedular bump map.Kenneth Graunke2-4/+29
2010-11-04Convert shaders to work in surface space rather than eye space.Kenneth Graunke2-19/+27
2010-10-27Add support code for loading textures from disk.Kenneth Graunke4-3/+293
2010-10-27Remove unused "color" variable from the phong fragment shader.Kenneth Graunke1-2/+0