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 / Shader Programming

Author
Message
Mesher
User Banned
Posted: 23rd Feb 2020 02:17
Just like any langauge - good skills come with good practice of knowing what commands do. rather than copy pasting. its good to learn from scratch

Vertex Shader - use standard

Pixel Shader - use standard
mix
dot
length
smoothstep

as a test to all, can we understand what each one means - we use these commands to practice diffferent effects per pixel.

But ask yourself why and why it works rather than copying pasting..


Mesher
User Banned
Posted: 23rd Feb 2020 02:23
For example mix is LERP

Mesher
User Banned
Posted: 23rd Feb 2020 02:24
DOT is cross product across two axis
Mesher
User Banned
Posted: 23rd Feb 2020 02:27
smoothstep - there is a special short algorithm - ill get you this tomorrow

something like

-3-2xX


or something like that

Mesher
User Banned
Posted: 23rd Feb 2020 02:34
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 23rd Feb 2020 06:49
Can you please keep posts meaningful and what can be included in one post can you make it just one

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 23rd Feb 2020 22:46
https://thebookofshaders.com/

very accessible written to enter the world of shaders.
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 23rd Feb 2020 22:46 Edited at: 23rd Feb 2020 22:51
repeated. deleted.
I apologize for what is off topic, but am I the only one who is experiencing the inconvenience of the forum using Google Chrome?
Mesher
User Banned
Posted: 24th Feb 2020 08:02
No it was my fault, my mind generally goes way too fast for me, ill write things down on notepad first of all the thoughts (on topic) that i have and post them altogether

Thanks Qugurun, That site is also remarkably useful too.

Thanks
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Mesher
User Banned
Posted: 4th Mar 2020 18:29 Edited at: 4th Mar 2020 21:45
A task for the near future to convert this chaps Shader Toy code to ours and explains how does it too - cant wait to get stuck into it



Looks good...

EDIT - Who is fast enough to create it sooner lol

Login to post a reply

Server time is: 2024-03-28 09:49:02
Your offset time is: 2024-03-28 09:49:02