Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Complete Idiot's Guide to (AGK)Shaders

Author
Message
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 9th Dec 2017 11:30 Edited at: 9th Dec 2017 11:31
Hi guys,

Before I go and waste hours and hours trying to find a good tutorial...

Can anyone recommend a good tutorial for the OpenGL 2.0 Shading Language AppGameKit uses, for complete shader idiots like me?

Would be awesome


Thanks,
PSY


PSY LABS Games
Coders don't die, they just gosub without return
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 10th Dec 2017 00:59
Have you read the AppGameKit guide for shaders?
I think that coupled with the examples in Shader Toy are a good guide
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 10th Dec 2017 01:55
If you go on ShaderToy and search tutorial, there's some nice helper ones there.

A lot of shader toy shaders are people trying to outdo each other in minimizing the code, so doesn't help.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 10th Dec 2017 21:20
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 12th Dec 2017 06:00
Haven't heard of ShaderToy. Looks very interesting.

Thanks alot guys !!!!


PSY LABS Games
Coders don't die, they just gosub without return
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 15th Dec 2017 23:37 Edited at: 15th Dec 2017 23:39
Think I need the same tutorial I did come across this tho
https://gamedevelopment.tutsplus.com/tutorials/a-beginners-guide-to-coding-graphics-shaders--cms-23313
I did also use a online tool like shadertoy and shaderfrog that helped get a working shader with my small attempt
but I then had to make slight changes to the code to get to work in AppGameKit for example the following commands are a little different
with AppGameKit with my attempts using 2d shaders

I'm sure there are other differences but I really only played with others shaders and made a cheap and nasty blend type shader
in 3d which from my understanding couldn't be done in 2d like this and you can get the same effect by changing the transparency
of two sprites which was meant to give a morph like effect but happy to share
fubar

Login to post a reply

Server time is: 2024-04-25 14:43:16
Your offset time is: 2024-04-25 14:43:16