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 » 05 Jul 2015, 09:20

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 » 06 Jul 2015, 09:26

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 » 07 Jul 2015, 22:21

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 » 08 Jul 2015, 13:22

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
“A reader lives a thousand lives before he dies. The man who never reads lives only once.”

User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Alpha blending problem

Post by sandstranger » 08 Jul 2015, 15:10

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 » 10 Jul 2015, 08:33

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 » 10 Jul 2015, 13:34

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 » 10 Jul 2015, 18:54

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 » 10 Jul 2015, 19:00

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 » 10 Jul 2015, 19:05

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

Post Reply