Alpha blending problem

General discussion regarding the OpenMW project.
For technical support, please use the Support subforum.
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:12, edited 1 time in total.
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:12, edited 1 time in total.
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:12, edited 1 time in total.
User avatar
Xelasarg
Posts: 27
Joined: 22 Jul 2014, 10:43

Re: Alpha blending problem

Post by Xelasarg »

sandstranger wrote:now application finally works on android 2.2
http://imgur.com/AfoVaGJ
I wonder if there's a single Android 2.2 phone out there that's capable of running OpenMW...? ;)
I'm loving your constant stream of updates, keep it up! :D
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:12, edited 1 time in total.
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:12, edited 1 time in total.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Alpha blending problem

Post by scrawl »

Can be used GLES2ShaderGenVisitor from osgearth to automatically generate simple shaders for osg gles2 ?
https://github.com/gwaldron/osgearth/bl ... isitor.cpp
Worth a try. I think the best place to run the visitor would be in SceneManager::getTemplate.
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:13, edited 2 times in total.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Alpha blending problem

Post by scrawl »

That looks correct. Could you clarify "doesn't work"?

You would also need shaders for the MyGUI render manager. We can't use the ShaderGenVisitor for that, because MyGUI uses a custom Drawable rather than a Geometry.
User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger »

d
Last edited by sandstranger on 18 Jan 2018, 16:13, edited 1 time in total.
Post Reply