Re: [AD] GLSL #version

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


al_attach_glsl_shader_source_file(filename, version) or similar.

Thanks,
Trent

-----Original Message-----
From: Trent Gamblin [mailto:nooskewl@xxxxxxxxxx] 
Sent: January 8, 2014 12:03 PM
To: 'Allegro Development'
Subject: Re: [AD] GLSL #version

Perhaps then a better solution is to skip the macro and just insert the
version line with the version the user specifies as the first line?

Thanks,
Trent

-----Original Message-----
From: SiegeLord [mailto:slabode@xxxxxxxxxx] 
Sent: January 8, 2014 12:00 PM
To: alleg-developers@xxxxxxxxxx
Subject: Re: [AD] GLSL #version

On 01/08/2014 01:56 PM, Trent Gamblin wrote:
> This then does prevent the user from using their shaders verbatim outside
of
> Allegro or using outside shaders with Allegro. Personally I prefer the
> approach I've been using which is to do it myself.

Which way is that? Do you use al_attach_shader_source_file?

-SL

----------------------------------------------------------------------------
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
-- 
https://lists.sourceforge.net/lists/listinfo/alleg-developers


----------------------------------------------------------------------------
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
-- 
https://lists.sourceforge.net/lists/listinfo/alleg-developers





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/