[Bf-committers] Re: Re: EnvMapping with common texture

Martin Poirier theeth at yahoo.com
Thu Jan 12 14:35:50 CET 2006



--- bmx007 <bmx007 at gmail.com> wrote:

> The mapping reduced RayMir works fine, the problem
> is if you use ray tracing
> the mirror color used is the color computed by the
> ray tracer (fine)
> and if you disable ray tracing, the color used is
> allwas 0.
> And i want nether the computed ray mirror color
> nether black, but i want to
> use a texture color .
> I try some changes of the code to do it, but the way
> the env-map case is
> done (very complicated) makes me thinking there's a
> risk of regressions.
> 
> My question is , is anybody has a good reason to
> forbidden the activation of
> the Mirror color (if somereflection is set and Ray
> Mirror is off).
> This can simplfiy the code and and avoid the use of
> add "emit" to do
> environnement mapping.
> 
> (for the dirt materia colors, i use texture and
> stenciling)

Unless I've missed something, can't you just map your
env map to CMir output on the material? No need for
emit this way.

Martin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Bf-committers mailing list