summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2009-06-17Reduce the gratuitous number of verts in the barely-visible ring corners.Eric Anholt1-1/+1
2009-06-12Put more objects in the world to increase depth complexity.Eric Anholt1-10/+35
2009-06-12Fix up window w/h to fit the rings.Eric Anholt1-1/+4
2009-06-12Fix up the discontinuity in the Y coordinate of the normalmap.Eric Anholt2-0/+0
2009-06-12Remove the discontinuity of the texcoords at the end of the ring.Eric Anholt1-6/+3
2009-06-12Handle PNG_COLOR_TYPE_RGB as opposed to RGBA.Eric Anholt1-1/+12
2009-06-12Remove 965 hack glFlush now that it's fixed in Mesa master/7.4.Eric Anholt1-1/+0
2009-06-10Do each shader model a few times with different params.Eric Anholt2-14/+49
2009-06-10print fps.Eric Anholt1-4/+24
2009-05-07Add a Ward anisotropic model.Eric Anholt2-11/+51
2009-05-07Pass tangent information down to the fragment shader.Eric Anholt2-0/+4
2009-05-07Reduce the number of steps and verts.Eric Anholt1-2/+2
2009-05-07Remove the unused normal varying.Eric Anholt1-1/+0
2009-04-29Move Fresnel to its own function as well.Eric Anholt1-10/+15
2009-04-29Make the fresnel approx a function.Eric Anholt1-7/+7
2009-04-29Tweak the normal map towards surface normal, because it's too strong.Eric Anholt1-0/+4
2009-04-29Actually produce unit normals, fixing nasty n . v < 0 on the left side.Eric Anholt1-1/+1
2009-04-29Use the original heightmap for the normal map to do ambient occlusion.Eric Anholt3-2/+14
2009-04-29Comment the F calc.Eric Anholt1-0/+2
2009-04-29Reduce m, giving a prettier specular.Eric Anholt1-1/+1
2009-04-29Fix the Beckmann distro function.Eric Anholt1-3/+5
2009-04-29glclear hack fixed in mesa.Eric Anholt1-3/+0
2009-04-29Err, ambient applies even for n_dot_l < 0.Eric Anholt1-2/+3
2009-04-29Fix lighting to clamp n_dot_l < light to 0 at the end.Eric Anholt1-5/+8
2009-04-29Give it a diffuse term because we're giving up on stupid metals.Eric Anholt1-1/+1
2009-04-29Bring the eye and the light down into the plane so we can see more fresnel.Eric Anholt1-4/+2
2009-04-29Add a mode that's just the fresnel term mixing diffuse versus specular.Eric Anholt2-0/+9
2009-04-29Fix up the debug constant display.Eric Anholt1-4/+3
2009-04-29Use the Schlick F approximation, and fix the post-integration Rs factor.Eric Anholt1-1/+7
2009-04-29Give it a glass/plastic-film reflection instead of copper.Eric Anholt1-1/+1
2009-04-29Fix F calculation (a squared denominator term ended up being identity)Eric Anholt1-3/+5
2009-04-29Clamp Rs to 0 when n_dot_v goes negative as well.Eric Anholt1-0/+1
2009-04-29Start moving some BRDF constants to uniforms.Eric Anholt2-2/+18
2009-04-29Fix some more negative value clamping problems.Eric Anholt1-4/+12
2009-04-29Add some spin to the ring because I was worried that the n map was weird there.Eric Anholt1-0/+4
2009-04-29Bring the light a little more into the plane of the ring.Eric Anholt2-5/+4
2009-04-29Draw both phong and cook/torrance modes.Eric Anholt2-59/+83
2009-04-29Add disabled cook/torrance brdf.Eric Anholt1-4/+42
2009-04-29Give light_pos the hungarian treatment.Eric Anholt1-10/+10
2009-04-29Clear up the texcoord array state for sanity versus any other rendering.Eric Anholt1-0/+4
2009-04-29Choose diffuse copper color from xmag on a photo of copper.Eric Anholt1-1/+1
2009-04-29Make the normal map more like the picture by wrapping it 4 times around.Eric Anholt1-1/+1
2009-04-29Add 'c' to reload the shaders.Eric Anholt1-25/+37
2009-04-22Move the object around a little over time.Eric Anholt1-4/+14
2009-04-22Move to surface space and sample the normal map.Eric Anholt3-11/+27
2009-04-22Fix tangent start value initialization.Eric Anholt1-3/+3
2009-04-22Move light direction uniform from modelview space to eye space.Eric Anholt3-11/+15
2009-04-22Add texcoord generation and test texture sampling.Eric Anholt7-17/+192
2009-04-21Add multi_draw_arrays support.Eric Anholt1-6/+37
2009-04-15sniffing GLEW.Eric Anholt2-1/+4