Hi.
Since specular map is a texture, you would generally manage texture
application through shaders and osg::Program.
Blender doesn't and can't export shaders because each shader is
application specific: Blender shaders are different from
OpenSceneGraph ones.

So, you need to manage specular map in your own shaders.

On 16 May 2018 at 16:08, Klemen Červ <klemen.c...@gmail.com> wrote:
> Hello,
> I'm having a problem getting specular(or any non diffuse) textures to show on 
> models
> when I export the model from Blender 2.79 using the osgexport add-on 
> (cedricpinson's osgexport).
> Result is as if the diffuse and specular textures were multiplied and then 
> used as a diffuse texture.
>
> Exporting to obj and converting to ive or osg using osgconv also doesn't work.
> Result is an overall darker export, compared to not using a specular map.
>
> I also tried exporting from 3dsMax from a friends computer using the worldviz 
> osg exporter,
> same result as exporting from blender.
>
> Could someone give me a working workflow from Blender to osg or tell me what 
> I am doing wrong?
> Even an example of an osgt file with a 3d model using diffuse and specular 
> map at the same time would be
> useful so I could hack in the specular map in the text editor after export.
>
> Thank you for your time and wisdom!
>
> Cheers, Klemen Červ
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=73652#73652
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/spec_report_171.rar
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to