1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Clément de l'Hamaide
f6f433529f Revert "UniformFactory: merge current uniform per <name> of effect"
Talking with Emilian about this commit, we came to the conclusion we don't want share uniform between .eff file
This reverts commit 91a6a27f32ee5f79e1d7e0d4570e879a902de58f.
2014-11-16 22:09:41 +01:00
Clément de l'Hamaide
95640a1b6f UniformFactory: merge current uniform per <name> of effect 2014-11-16 20:21:20 +01:00
Tim Moore
564c69e10a Issue 209: fix up inheritance of color mode uniform in material animation effect
The overriding of the color mode uniform in the default model effect
wasn't working. It's difficult to override the individual properties
of techniques, especially if their names aren't unique. So, I changed
the model-default effect to use a parameter for the color-mode
uniform; material-off.eff and material-diffuse.eff override that.
2010-12-20 09:39:06 +01:00
Tim Moore
d27174028e shader optimizations
Use two-pass rendering for some shaders to reduce the cost of expensive shaders.

Implement some material animations using a shader uniform.

Eliminate use of gl_FrontFacing. It's too buggy on ATI/ Macintosh.
2010-08-14 00:13:16 +02:00
timoore
bfaaef8aef Effects and shaders for material animations
Author: Tim Moore <timoore@redhat.com>
2010-01-27 17:52:18 +00:00