Shaders?

Is there any way to use any sort of a “shader” on the graphic output of a Corona app?

Would be interested in exploring that as a possibility for giving my project a cohesive look…

Thanks :slight_smile: [import]uid: 105707 topic_id: 28916 reply_id: 328916[/import]

Unfortunately not yet… unless your needs are limited to basic image “tinting”, which Corona can do. Real shaders… i.e. dynamic light and shadow shaders… are not yet supported, but several developers have voted that as the “next big step” for the graphics engine, so let’s hope it’s on the table for the near or reasonably-near future!

Brent Sorrentino [import]uid: 9747 topic_id: 28916 reply_id: 116467[/import]

Hi Brent,

Yes, was wondering about the “real” sort like you mention. Great to know, I appreciate the info.

Art isn’t necessarily my strong suit some I’m looking into all my options for giving my efforts a little extra “feel”!

Thanks :slight_smile: [import]uid: 105707 topic_id: 28916 reply_id: 116469[/import]

Hi EHO,

I wish shaders in Corona existed too! Without them, however, you might consider other “effects” like particles, even semi-opaque “glow” particles, or transitioning regions of color to spice up your visuals (these could be images that fade in or out, even animate).

If you were REALLY committed, you could probably write some intensive “shader” module which would draw polygons of color or shadow dynamically, but the complexity of that would be really mind-boggling. :stuck_out_tongue:

[import]uid: 9747 topic_id: 28916 reply_id: 116471[/import]

Hi Brent,

Good tips regarding the particles. I do need to build my visual capabilities.

How would you attempt the “glow”? Set up some sort of highly alphad out copy of an image offset or slightly enlarged?

Thanks :slight_smile: [import]uid: 105707 topic_id: 28916 reply_id: 116472[/import]