Sam Hocevar
6944db663b
tutorial: add a new texture generation example.
13 years ago
Sam Hocevar
4fc8ce6470
gpu: now shaders can only be created from a LolFx file.
13 years ago
Sam Hocevar
7d5fe8a7c6
gpu: create the ShaderTexture class, replace Shader::SetTexture with a
Shader::SetUniform override, and implement most of the FBO code for
the Direct3D backend.
13 years ago
Sam Hocevar
e5e598bd68
gpu: first shot at a Shader::SetTexture() function.
13 years ago
Sam Hocevar
a606290ed2
gpu: allow to load a .lolfx file instead of all those shaders.
13 years ago
Sam Hocevar
f1c0e3ba4e
gpu: add methods to send mat2 and mat3 matrices to the shader.
13 years ago
Sam Hocevar
fe9bab81c1
gpu: fix a great lot of Direct3D problems, spotted using PIX.
13 years ago
Sam Hocevar
6169c874e4
gpu: port the vertex buffer abstraction layer to OpenGL.
13 years ago
Sam Hocevar
f7e202a7c8
gpu: implement vertex buffer streams for Direct3D. OpenGL is missing for now.
13 years ago
Sam Hocevar
1485e5bf63
gpu: add support for integer uniforms and fix a few PS3 and Linux compilation
issues that were introduced with the Direct3D changes.
13 years ago
Sam Hocevar
458378003c
win32: the uniform handling code was completely broken; we now properly
retrieve the constant's register index in the description table. This also
allows us to use a single uniform handle for both the vertex and pixel
shaders in a PS3 Cg program.
13 years ago
Sam Hocevar
56e4332597
build: reorganise math files in a single "math" directory, and get rid of the
"shader" source directory since we have "gpu".
13 years ago
Sam Hocevar
7cfcfb2413
shader: factor the uniform handling logic into platform-independent methods
for both OpenGL and the PS3.
14 years ago
Sam Hocevar
660962e894
build: put debug stuff and shader stuff in subdirectories.
14 years ago
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
14 years ago
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 years ago
Sam Hocevar
194a025bc8
Protect the Shader constructor and provide a static creation method that
will let us cache shaders.
15 years ago
Sam Hocevar
01be151c62
Try to factor all the recent GLSL stuff in the new Shader class.
15 years ago
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 years ago
Sam Hocevar
3bb8c8aa2f
Factor Forge and Tiler using the new Dict class.
15 years ago