OpenArena Message Boards

OpenArena Contributions => Graphics => Topic started by: matija123 on November 04, 2013, 02:37:33 PM



Title: GLSL Programming?
Post by: matija123 on November 04, 2013, 02:37:33 PM
Hey guy's, soo i watched some effects on heroku.glsl.com and i really liked it, but how did they programmed those effects.
What is GLSL?
Basics?
How to start?
I am really interested, and im looking forward for some help and programming  O0

Thanks.


Title: Re: GLSL Programming?
Post by: Gig on November 05, 2013, 02:01:34 AM
https://en.wikipedia.org/wiki/GLSL

(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Graphic_options#GLSL_effects
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/GLSL (the page is under updating... the updated version is -temporarily- at (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Glsl_Tutorial_Test).

I hope in future it may be possible to fix a couple of problems that affect 0.8.8 implementation of GLSL shaders when the shader is run with GLSL support disabled or with errors...


Title: Re: GLSL Programming?
Post by: Hitchhiker on November 06, 2013, 05:35:49 PM
Hi Matija! did you download the demo map? try changing one of the glsl programs in there (just change the numbers/parameters a little and see what changes in the map). '/r_ext_vertex_shaders 1' to enable glsl (you probably know that but for anyone else who might be reading and not aware of it)..


Title: Re: GLSL Programming?
Post by: Gig on November 07, 2013, 01:40:34 AM
'/r_ext_vertex_shaders 1' to enable glsl
/r_ext_vertex_shader, without the final "s"...  ;)


Title: Re: GLSL Programming?
Post by: Hitchhiker on November 07, 2013, 03:13:21 PM
Hi Gig :)
Thanks! sorry for the misinformation.  :-[  :)