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 / AGK Shader Guide

Author
Message
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 1st Apr 2016 03:15
I've added a shader guide to the help files, you can read it here http://appgamekit.com/documentation/guides/13_shaders.htm

Let me know if you want any more details in a particular area.
OminusPrime
9
Years of Service
User Offline
Joined: 30th Jun 2015
Location:
Posted: 1st Apr 2016 04:02
Very Good, This is Real Good Info
Just What I'm Looking For.
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 1st Apr 2016 07:32
So far I only had time to read the beginning. Great job Paul.

Quote: "When writing a Custom Shader it is useful to know how the shader creation process works so you can tell AppGameKit what you want, or don't want, to be in the final Generated Shader. You can also exclude everything, in which case AppGameKit will recognise there is nothing to add and will use your Custom Shader directly to draw the object, skipping the whole Generated Shader path."


If you didn't write about how to exclude everything so the custom shader is used directly, could you please add how to do it?
-----------------------------------------------------------
Using AGK2 Tier 1
[a http://www.fantomgl.com]fantomEngine[/a] - A powerful 2D game framework
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 1st Apr 2016 08:06
This is really useful thanks Paul!
Using AppGameKit V2 Tier 1
nickele upgraded
10
Years of Service
User Offline
Joined: 20th Dec 2013
Location: Birthplace of Democracy
Posted: 1st Apr 2016 10:58
You have our gratitude Master Paul !!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 1st Apr 2016 17:22
Quote: "If you didn't write about how to exclude everything so the custom shader is used directly, could you please add how to do it?"

I've added a line on how to do this. Basically you use none of the functions from the Generated Shaders section.
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 12th Apr 2016 09:43
Cool
Very useful, many thanks!

Login to post a reply

Server time is: 2024-09-29 13:29:39
Your offset time is: 2024-09-29 13:29:39