Non working materials on iPhone

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Nefbrethilion
Gnoblar
Posts: 24
Joined: Mon Dec 14, 2009 12:15 pm

Non working materials on iPhone

Post by Nefbrethilion »

Hey,
I'm not entirely clear on what's possible on iPhone and what not. For example, the http://www.ogre3d.org/tikiwiki/Material ... ent_colour material is not working (crashes is rendersystem:_setTexture(), both on OpenGLES and OpenGLES2). What are the restrictions in general, and more specific, is there some other way to render transparent materials on iPhone?

Greets,
User avatar
AshMcConnell
Silver Sponsor
Silver Sponsor
Posts: 605
Joined: Fri Dec 14, 2007 11:44 am
Location: Northern Ireland
x 16

Re: Non working materials on iPhone

Post by AshMcConnell »

Nefbrethilion wrote:Hey,
I'm not entirely clear on what's possible on iPhone and what not. For example, the http://www.ogre3d.org/tikiwiki/Material ... ent_colour material is not working (crashes is rendersystem:_setTexture(), both on OpenGLES and OpenGLES2). What are the restrictions in general, and more specific, is there some other way to render transparent materials on iPhone?

Greets,
I haven't developed for the iPhone yet, but I was under the impression that you had to use shaders for everything. Perhaps that's only for OpenGLES2. The real time shader system (RTSS) might be of help here, but it's another feature I haven't explored yet.

All the best,
Ash
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Non working materials on iPhone

Post by masterfalcon »

Most things work just fine(within the restrictions of GL ES). That is a bug though, thanks for bringing it up.
Nefbrethilion
Gnoblar
Posts: 24
Joined: Mon Dec 14, 2009 12:15 pm

Re: Non working materials on iPhone

Post by Nefbrethilion »

It's my pleasure, you are doing great things for Ogre :-)

I'll keep an eye on the repository!