Re: [osg-users] Explicitly requesting default state for attribute

2020-12-18 Thread Chris Djali / AnyOldName3
simple solution shows up for anyone searching for this in the future. Cheers, Chris On Friday, 11 December 2020 at 19:38:26 UTC Chris Djali / AnyOldName3 wrote: > Hi, > > I'm working on a node visitor that converts FFP state to shaders and am > extending it so it can handle more

Re: [osg-users] How to access material properties from a GLSL shader?

2020-01-08 Thread Chris Djali / AnyOldName3
Hi, osg::Material pretty much encapsulates OpenGL's fixed-function material state, so things like glMaterialfv (that controls material settings for whole draw calls) and glColorMaterial (that controls what vertex colours actually affect). If you're using a suitably old GLSL version, you can

Re: [osg-users] Please test OpenScenGraph-3.6 branch in prep for the up commign 3.6.5 maintainance release

2019-12-18 Thread Chris Djali / AnyOldName3
On Wednesday, 18 December 2019 10:56:39 UTC, Robert Osfield wrote: > > > > On Tuesday, 17 December 2019 21:40:37 UTC, Chris Djali / AnyOldName3 wrote: >> >> Hi Robert, >> >> OpenMW still experiences some regressions when built with OSG 3.6.x >> inst

Re: [osg-users] Please test OpenScenGraph-3.6 branch in prep for the up commign 3.6.5 maintainance release

2019-12-17 Thread Chris Djali / AnyOldName3
Hi Robert, OpenMW still experiences some regressions when built with OSG 3.6.x instead of 3.4.1. It's completely possible they're because we're trying to coerce OSG systems to do things they weren't intended to as it's a big project created without much interaction with the OSG community. The