Question about the RT Shader System

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Ologon
Halfling
Posts: 70
Joined: Sun Dec 02, 2007 11:10 am
Location: Italy
x 2

Question about the RT Shader System

Post by Ologon »

Hi,

I'm just making the switch from GL ES 1.x to 2.x for my next project and I noticed the RT Shader System. Although this sytems looks quite handy, I'd like to write my own shaders for the materials.
Is this component optional? Also I'm not sure whether Gorilla uses the RT System to work with ES 2.

Thanks!
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99

Re: Question about the RT Shader System

Post by Wolfmanfx »

RTSS is optional. Gorilla use my handwritten shaders for gles2 ;)
Ologon
Halfling
Posts: 70
Joined: Sun Dec 02, 2007 11:10 am
Location: Italy
x 2

Re: Question about the RT Shader System

Post by Ologon »

Wolfmanfx wrote:RTSS is optional. Gorilla use my handwritten shaders for gles2 ;)
Perfect, thanks! :)
d000hg
Goblin
Posts: 257
Joined: Tue Sep 02, 2008 9:41 pm
x 1

Re: Question about the RT Shader System

Post by d000hg »

Moving from 1.x -> 2.0, you might choose to use RTSS solely as a replacement for the fixed-function pipeline, which isn't supported at all in 2.0. i.e. by turning RTSS on, your existing non-shader materials can still be used, and then you write your special effects using custom glsles shaders.