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 fun. How do you do it?

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 20th Apr 2020 23:20
I don't know how it happened, but somehow I've finally clicked with shaders.
The project I'm working on at the moment has been quite challenging and more often that not these days, I get the inspiration to solve the issue with a shader.
My current project is already using several shaders, which are either for procedural generation or real-time.

I've just made my first practical vertex oriented shader where I can basically crop an object rendering on a world axis (e.g. clip it on the horizon). While I was all giddy about it, I even put an alpha fade on the crop with no drama.

So my question is, I find myself with at least 4 copies of notepad open editing shaders / looking at other shaders.
Is there a decent editor / workflow / debugger for shader writing? I have used shadertoy before, but if you want to use AppGameKit variables, it's not much use.
janbo
16
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 21st Apr 2020 15:23 Edited at: 21st Apr 2020 15:53
Maybe try SHADERed, I haven't tried it much but seems to be verry usable.
Just found you can create agk's and custom uniforms:

Attachments

Login to view attachments
brunuu
6
Years of Service
User Offline
Joined: 4th Jun 2018
Location:
Posted: 22nd Apr 2020 04:01
I have wanted to try shaders for some time.

But I don't know how to start and where.
Bored of the Rings
User Banned
Posted: 22nd Apr 2020 06:07 Edited at: 22nd Apr 2020 06:08
I recently purchased ShaderTool on steam. Node based, which supports hlsl and glsl. Or there in Shadergraph in Unity , also node based.
Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 22nd Apr 2020 14:52 Edited at: 22nd Apr 2020 14:54
Brunuu!

main.agc


shader.ps


Result:


Shader Tutorial:
https://thebookofshaders.com/

Login to post a reply

Server time is: 2024-11-22 05:35:06
Your offset time is: 2024-11-22 05:35:06