www.inludo.com/specularbug/specular.zip <- 18k or so.
>
> When you run, cursor keys left and right 'rotate' -
although you won't
> see any actual orientation change for the plane
onscreen, because I
> make it point at the camera each frame.
> You will note (unless I'm going mad) that the face
does brighten and
> darken as you hold down the cursor keys - this should
not (as far as
> I'm aware) be possible with the shader settings.
Hey Barry. I figured out the "problem".
first of all, it is _not_ overbrighting. the brightest it
gets is
exactly as bright as the texture itself.
What is going on is this:
when the useDiffuseWithTexture property is 0, contrary to
popular, and
my, believe, the diffusecolor actually sent to
opengl/directx
is white, and not black.
The easy way to solve this is just to put the
useDiffuseWithTexture
always at 1, and set the diffusecolor to black.
Funny nobody realized this before (at least on this list),
I've always
assumed that when useWithDiffuseTexture=0 black would be
used,
and I guess never ran into a case yet where I actually
noticed this not
being the case.
Bye, Lucas
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|