Commit Graph

  • 212eab49b8 add glslUtil submodule master Josh Holtrop 2016-04-04 13:10:23 -04:00
  • 47d2710390 fix compilation errors on new system Josh Holtrop 2016-04-04 13:08:02 -04:00
  • b6f0f87547 move glslUtil to its own repository Josh Holtrop 2011-05-16 15:47:19 -04:00
  • 0c85436429 use swizzle syntax Josh Holtrop 2011-05-16 09:58:30 -04:00
  • 527e0018ed use guGetUniformLocations() Josh Holtrop 2011-05-13 15:28:39 -04:00
  • 4891db44de add guGetUniformLocations() Josh Holtrop 2011-05-13 15:28:24 -04:00
  • 50789dee61 add guMatrix3x3 and guMatrix4x4To3x3() Josh Holtrop 2011-05-13 15:05:25 -04:00
  • 4758ebab87 use normal specified by the user for lighting in world coordinates Josh Holtrop 2011-05-13 11:58:14 -04:00
  • b3eb5daa22 specify precision for cross-platform shader Josh Holtrop 2011-05-13 11:57:47 -04:00
  • 088c0c558a bugfix in handling bindings in guMakeProgram() Josh Holtrop 2011-05-13 11:34:54 -04:00
  • 5389b9ea0e name matrix functions consistently Josh Holtrop 2011-05-11 09:48:36 -04:00
  • a278d1843f store matrices in column-major mode Josh Holtrop 2011-05-10 23:38:26 -04:00
  • 64b76bd085 convert angles to radians Josh Holtrop 2011-05-10 23:10:42 -04:00
  • 513599d855 split transform into modelview/projection Josh Holtrop 2011-05-10 23:02:32 -04:00
  • 5adc26b089 set transform shader matrix Josh Holtrop 2011-05-10 22:54:04 -04:00
  • b6a5821fae change guAttribBinding ptrs to const Josh Holtrop 2011-05-10 12:13:12 -04:00
  • 335c926876 use char instead of GLchar Josh Holtrop 2011-05-10 12:09:05 -04:00
  • ae9a83cca5 remove color vertex attribute Josh Holtrop 2011-05-09 19:37:19 -04:00
  • 921ea83b01 add guMakeProgram{,FromSource,FromFiles}() Josh Holtrop 2011-05-09 17:48:19 -04:00
  • 6ad367812b add guMakeBuffer() Josh Holtrop 2011-05-09 17:33:45 -04:00
  • c51606772f build with -Wall and -DGL_GLEXT_PROTOTYPES Josh Holtrop 2011-05-09 17:31:42 -04:00
  • 9e6003a0d2 use stdio i/o functions Josh Holtrop 2011-05-09 17:31:02 -04:00
  • 956f249d54 add guMakeShaderFromFile() and guMakeShader() Josh Holtrop 2011-05-09 17:28:33 -04:00
  • 01f9c2e467 add guGetShaderLog() and guGetProgramLog() Josh Holtrop 2011-05-09 17:22:41 -04:00
  • cf31a302f2 add guOrtho() Josh Holtrop 2011-05-09 17:11:07 -04:00
  • e06395ff5d slight optimization Josh Holtrop 2011-05-09 17:07:06 -04:00
  • e05c62725c add guPerspective() Josh Holtrop 2011-05-09 17:05:23 -04:00
  • 2d7bafe23b add guMatrixRotate() Josh Holtrop 2011-05-09 16:56:19 -04:00
  • fe93dffab0 use GLfloat instead of float Josh Holtrop 2011-05-09 16:45:50 -04:00
  • 9ad00aee7f add guMatrixScale() Josh Holtrop 2011-05-09 16:45:07 -04:00
  • e76503001e add Makefile, SConstruct, fix compiler errors Josh Holtrop 2011-05-09 16:38:31 -04:00
  • 26bc6781cb add guMatrixFrustum() Josh Holtrop 2011-05-09 16:32:51 -04:00
  • 514a1c6d09 update function prefix, fill out translate Josh Holtrop 2011-05-09 16:21:28 -04:00
  • c1c42f3558 add initial glslUtil files Josh Holtrop 2011-05-08 21:58:12 -04:00
  • fecc8a0e44 corrected phong lighting shader Josh Holtrop 2011-05-06 09:19:24 -04:00
  • 8bd56f42aa first lighting attempt; specular not working Josh Holtrop 2011-05-01 08:34:13 -04:00
  • 4e40f6af5c cp template -> lighting Josh Holtrop 2011-04-30 19:47:55 -04:00
  • 57f984c92a switch to perspective projection Josh Holtrop 2011-04-30 11:42:23 -04:00
  • 097feecbb7 fix near and far value in glOrtho() Josh Holtrop 2011-04-30 11:25:17 -04:00
  • 4a7a97236b actually using the program we made is helpful Josh Holtrop 2011-04-30 09:54:04 -04:00
  • d3c509e966 explicitly bind generic attribute locations Josh Holtrop 2011-04-30 09:49:23 -04:00
  • 1371328c8b use projection matrix as well Josh Holtrop 2011-04-30 09:49:08 -04:00
  • 2f57ba687c specify vertex attributes and draw triangles Josh Holtrop 2011-04-30 09:32:38 -04:00
  • 1434828ad9 implement basic color shader Josh Holtrop 2011-04-30 09:32:14 -04:00
  • d76fb43a3c add makeBuffer() and triangle data Josh Holtrop 2011-04-30 09:08:58 -04:00
  • 9a0ffa8cbe kinda forgot the point of loadFile() Josh Holtrop 2011-04-29 17:24:01 -04:00
  • c6e51524e9 create and link program, add getProgramLog() Josh Holtrop 2011-04-28 19:44:04 -04:00
  • 5a1fed9a41 load and compile shaders Josh Holtrop 2011-04-28 18:47:06 -04:00
  • ba2c1d9c60 set up modelview matrix, bigger window Josh Holtrop 2011-04-28 17:52:07 -04:00
  • 13cb39e79e retabbed Josh Holtrop 2011-04-27 22:30:03 -04:00
  • e32f283aad add initial GLSL template Josh Holtrop 2011-04-27 22:25:02 -04:00