Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Felix Ungman

Member Since 19 Nov 2007
Offline Last Active Today, 11:23 AM
-----

Topics I've Started

Cel-shaded terrain and performance on iOS / OpenGL ES 2.0

18 February 2013 - 08:07 AM

I'm experimenting with full screen terrain rendering on the iPad, using a cel shader that goes something like this:

1) render the terrain unto screen with cel lighting

2) render the depth only into a texture

3) render this texture unto the screen using a sobel filter

 

The performance of step 1 alone is currently adequate (although I haven't started optimize it yet). But I'm having a little trouble getting good performance when all passes are combined. The depth buffer is apparently rendered twice, which seems unnecessary. Is there any way to combine these passes, or otherwise optimize this approach?

 

Attached File  Landscape.jpg   27.93K   37 downloads


PARTNERS