Remember me

Lost Password?

Register now!


Who's Online
76 user(s) are online (4 user(s) are browsing News)

Members: 2
Guests: 74

TearsOfMe, walkero, more...

Support us!


Recent Replied Topics
Topic Replies Last Post
AmigaOS4 Reverse engineered GTA III and Vice City 6 (253) derfs Today 15:45
AmigaOS4 MediaVault releases [1][2] 24 (622) nbache Yesterday 23:38
AmigaOS4 Enhancer Software v2.0 Released [1][2] ... [13][14][15][16] 301 (14099) trixie Yesterday 19:51
AmigaOS4 gcc 9 and 10 [1][2] ... [5][6][7][8] 143 (10427) Raziel Yesterday 11:35
AmigaOS4 Difference pthreads.library/threads.library and -athread=native (extended) 9 (442) Raziel Yesterday 11:15
AmigaOS4 Trying to update my A1XEG4 to OS4.1 FE [1][2] 30 (521) RinceWynd Yesterday 8:14
AmigaOS4 Rename script request 5 (122) walkero 5/15 22:45
AmigaOS4 Porting to AmigaOS4 thread [1][2] ... [15][16][17][18] 352 (50734) Capehill 5/15 19:53
AmigaOS4 The OpenGL ES 2.0 thread [1][2][3][4][5][6] 117 (26677) Raziel 5/15 18:00
Amiga Classic AmigaOS 3.2 for all Classic Amigas released and available 12 (633) kas1e 5/15 17:58
AmigaOS4 A-FTP_Server refuses to start [1][2] 26 (768) Gregor 5/15 7:59
AmigaOS4 Hyperion made new ittle updates! 19 (1260) nbache 5/14 23:29
AmigaOS4 SDL2 [1][2] ... [50][51][52][53] 1052 (292652) Capehill 5/14 18:46
Amiga General Forum Introducing the Rear Window blog [1][2][3][4][5] 89 (7384) khayoz 5/13 23:01
AmigaOS4 Is there a fine line of working for free in Amiga world? 17 (1012) virgola 5/13 13:44
[View all topics]  [Forum Settings]
Software News : ShaderJoy Pack
Posted by kas1e on 2021/4/27 22:43:39 (387 reads) News by the same author
Software News

ShaderJoy Pack: Big set of Shadertoy's shaders

NOTE1: Radeon RX users - BE SURE that you set Prefs: PowerManagment to HIGH! Automatic PowerManagment in Radeon RX drivers works wrong probably due to not having
DMA in the driver and as result resources didn't raise when needed, which causes low FPS. So you should set it to HIGH, save, reboot, and then you will
have the maximum possible FPS from your Radeon RX. Not doing this will cause lower your FPS quite a lot !!!

Resized Image

NOTE2: The minimum requerements are:

-- Warp3DNova.library >= v1.83
-- ogles2.library >= v3.1
-- RadeonHD >= 3.7 or RadeonRX >= 2.4 (with Prefs:PowerManagment set to HIGH)

... First words ...

Q: What is ShaderJoy?
A: ShaderJoy is a powerful tool written by Juha 'Capehill' Niemimäki which allow you to display and create ShaderToy
(https://www.shadertoy.com) compatible fragment shaders. It's true AmigaOS4 native app, with supporting tooltypes,
native Amiga GUI (of course), all sort of verbose logging, inbuild editor (as well as the ability to set external one),
fully controlled and so on.

Hats off to Capehill, Hans and Daniel!

Q: What is Fragment Shaders?
A: Fragment shaders (sometimes called pixel shaders) are programs that are executed per fragment (pixel) on the GPU.

Q: On what AmigaOS4 hardware it will work?
A: On any which have the ability to utilize Radeon HD or Radeon RX cards with ogles2.library and warp3dnova.library installed.
That mean sam440, sam460, x1000, x5000 and still-in-beta Tabor. Pegasos2 and Micros are out of luck.

Q: So what that pack about then?
A: It just collection of about 2000 working shaders, grouped, sorted, coming with tasty readme about how to handle Dbl-click on shaders and their project files,
with Mason icons done specially for, and with a detailed list of all shader with a name and link to the original Shadertoy database.

Q: Why make a fuzz about and post as news?
A: Because it's quite cool. Think about it like you got 2000 screensavers of good quality just at one time. And the more people know about the progress we reach on the 3D front the better.

... Long Story ...

After Capehill made his awesome ShaderJoy tool to work with fragment shaders, a lot of time was spent to bug-report and bug-fix Warp3DNova, so as of now,
we can handle about 70-80% of ShaderJoy shaders. While still some work to be done on Warp3DNova front for remaining parts, and Capehill improve ShaderJoy all the time,
still the amount of working shaders is high and growing.

Resized Image Resized Image

As you can see this pack is not a game, or a port of anything, is just a big set of ShaderJoy compatible shaders in a tasty archive from http://shadertoy.com.
Shaders collected during warp3dnova/ogles2 tests in the last year in the light of gazillion bug fixes in the Warp3DNova. Everything grouped, sorted, noted original links to original shaders, etc.
Some of them were fixed by getting rid of original bugs (like, lot of not initialized values while should, etc) which showups only on AmigaOS4, but still general bugs which we report and authors
usually fix them.

Of course in this pack, I choose only "normal" ones, which look good and interesting, and not the crap-test ones.

Archive includes:

1. ~1250 plain shaders
2. ~320 shaders with texture usage
3. ~30 multipass shaders
4. A tasty readme how to setup #?.frag (pure shader fragment files) and #?.sjp (Shaderjoy project files for multipass and textured shaders) for a double click
5. All icons (include default ones for the system) done by Mason (hats off to Mason one more time!)

You also have 3 text files in the "shaders" directory, each one is the list of shaders numerated with the links to original Shadertoy versions on their site.

... Running ...

You need to download ShaderJoy and make default icons for #?.frag and #?.sjp files. And that all. So:

1. Download ShaderJoy from http://osdepot.net as usual: http://os4depot.net/share/graphics/viewer/shaderjoy.lha
WARNING: Version 1.21 is 100% necessary and MINIMUM to make all works correctly. If you have an older version, UPDATE, or things will work wrong!

2. Download ShaderJoy_Pack from http://osdepot.net as usual (currently in the upload query).

-- In the archive, you will find in directory "deficons" def_fragmentshader.info & def_shadertoy_project.info. Copy them to system:prefs/Env-Archive/Sys/
-- In the tooltypes of copied files (in both of them, of course) change in the "default tool" path to your Shaderjoy binary (remember, it should be not less than 1.21 for now!)
-- In the system:prefs/deficons create new macro class called "3D" and in it create new entries: "fragmentshader" with action: pattern #?.frag and "shadertoy project" with action : pattern #?.sjp.

Resized Image

-- reboot and you will be able to double-click on .frag and on .sjp icons to run it via Shaderjoy.

Resized Image

3. !NOTE!: For multipass and textured shaders Dbl-click on project (#?.sjp) files: in a project, files described what textures, filters, and channels are used. Without running .sjp file in Texture
and Multipass shaders you will be in needs to set everything manually. When it's about 10 textures, and 4 buffers, you will die until you do so. So, clicking on .sjp is a must![/b]

Nothing else needs. Just run your favorite music, and enjoy clicking on shaders one by one (or simple d&d them one by one).

... Final words ...

In the end, you can see how the older version of ShaderJoy 1.8 like almost a year ago:

Resized Image Youtube video of ShaderJoy 1.19 in action on AmigaOS4, 1920x1080 full HD

... Outro ...

As usual want to give some credits where they should be:

to Daniel for OpenGL ES2 and all his help with everything: http://www.goldencode.de/
to Hans for Warp3DNova, 2D drivers, and all his help with everything: https://keasigmadelta.com/
to Capehill for never ended work on SDL1/2, glSnoop, ShaderJoy, and all his help with everything: https://github.com/AmigaPorts/SDL https://github.com/capehill/glsnoop
to AEON/AmigaKit because of which we have OpenGL ES2 and Warp3DNova: https://www.facebook.com/AEonTechnologyLtd/

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Published: 2021/4/28 13:59  Updated: 2021/4/28 13:59
Quite a regular
Joined: 10/29/2008
From: Uppsala, Sweden
Comments: 792
 Great work
Really impressed work! Great with all pics and video.
Published: 2021/4/28 19:29  Updated: 2021/4/28 19:29
Just can't stay away
Joined: 07/14/2007
From: Lothric
Comments: 1327
 Re: Great work
Watched the first set of shaders today. One of my favourite is #92, it's ~5 lines well done :)

Need to start looking for Radeon RX prices :)
Published: 2021/4/29 0:05  Updated: 2021/4/29 0:05
Just popping in
Joined: 01/10/2007
From: Stockholm Sweden
Comments: 175
Thank you very much for this great pack of shaders!
Published: 2021/4/29 6:37  Updated: 2021/4/29 6:37
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 7022
@Capehill The first plain 100 shaders are mostly "old school effects", the real interesting stuff starts from 300-400 ones. There really some impressive ones, but RadeonRX must :) And textured ones happen to be quite cool too.
Published: 2021/4/29 17:17  Updated: 2021/4/29 17:17
Site Builder
Joined: 12/02/2006
From: Athens/Dublin
Comments: 828
 I wish
Impressive work. Shadertoy is an awesome piece of software, and your package Roman makes it more complete. I wish we could have those shaders as backdrops on workbench, the same way CANDI works. Sure, it might make the system slower, unless there are parameters to make them lighter, if possible. But that would be cool.
Published: 2021/4/29 17:52  Updated: 2021/4/29 17:52
Just can't stay away
Joined: 07/14/2007
From: Lothric
Comments: 1327
 Re: I wish

Does somebody know how CANDI works? Is there some render hook mechanism? If it's simple to implement I could look into it.
Published: 2021/4/29 20:12  Updated: 2021/4/29 20:12
Quite a regular
Joined: 07/23/2007
Comments: 713
 Re: Great work
Only had a quick look so far but very impressed by what I've seen.

Published: 2021/4/30 12:14  Updated: 2021/4/30 12:15
Just popping in
Joined: 06/11/2009
From: Germany
Comments: 141
 Re: Great work
Impressive package indeed! +1 for preconfigured sjp's +1 for default icons and setup instructions +1 for the work behind the scenes which lead to improved W3DN/GLES2/SJ
Published: 2021/4/30 13:49  Updated: 2021/4/30 13:49
Quite a regular
Joined: 07/23/2007
Comments: 713
 Re: Great work
Yeah I agree, the default icons and set up instructions are a nice touch.
Published: 2021/4/30 13:56  Updated: 2021/4/30 13:56
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 7022

For making those ".sjp" files I lose 2 days of everyday work per 8 hours in a day :)

Especially I liked those multipass ones, where 4 buffers used, common shader behind them + main one, and in each of them all sort of different textures, links to buffers, with different filters and stuff :)
Site sponsors
Advertise Here

Site statistics
Registered members
Logged in last:
  24 hours, 55
  7 days, 119
  30 days, 158

Top Posters
1 kas1e
kas1e 7022
2 Raziel
Raziel 4089
3 ChrisH
ChrisH 3553
4 samo79
samo79 3417
5 Chris
Chris 3258
6 orgin
orgin 3205
7 LiveForIt
LiveForIt 2948
8 Antique
Antique 2496
9 328gts
328gts 2491
10 Hans
Hans 2310

New Members
Rolar 05/13/2021
candyman 05/09/2021
brucefox1138 05/06/2021
Cego 04/26/2021
Blackcat1340 04/26/2021
sailor 04/23/2021
Bradsco 04/22/2021
deathcon 04/21/2021
LZO12 04/20/2021
Arthas 04/14/2021

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project