Re: [Maya2osg-users] Specular color when a specular map is attached
Status: Alpha
Brought to you by:
jtaibo
From: Javier T. <jav...@gm...> - 2011-06-21 18:11:30
|
Committed to svn/trunk. Thanks for the fix! On Tue, Jun 21, 2011 at 6:03 PM, Jean-Sébastien Guay <jea...@cm...> wrote: > Hi guys, > > When a specular map is attached, Maya starts returning specularColor = BLACK > to the plugin. This is not correct, since we need the color multiplied by > the specular roll off in the case of blinn, and we will want to multiply the > material's specular color by the specular map in the shader. So like the > Diffuse color (which is set to WHITE when a diffuse texture is attached), > when there is a specular map attached, the specular color should be set to > WHITE. > > Attached is a fix for this. > > Thanks, > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay jea...@cm... > http://www.cm-labs.com/ > http://whitestar02.dyndns-web.com/ > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Maya2osg-users mailing list > May...@li... > https://lists.sourceforge.net/lists/listinfo/maya2osg-users > > -- Javier Taibo |