[osg-users] [osgPlugins] No specular maps, exporting from blender or converting using osgconv
michael kapelko
kornerr at gmail.com
Thu May 17 03:23:58 PDT 2018
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.cerv at 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list