Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
60 user(s) are online (3 user(s) are browsing News)

Members: 2
Guests: 58

RussellB, walkero, more...

Headlines


Recent Replied Topics
Software News : ShaderJoy Pack
Posted by kas1e on 2021/4/27 22:43:39 (798 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
Joeled
Published: 2021/4/28 13:59  Updated: 2021/4/28 13:59
Quite a regular
Joined: 10/29/2008
From: Uppsala, Sweden
Comments: 801
 Great work
Really impressed work! Great with all pics and video.
Capehill
Published: 2021/4/28 19:29  Updated: 2021/4/28 19:29
Just can't stay away
Joined: 07/14/2007
From: Lothric
Comments: 1349
 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 :)
khayoz
Published: 2021/4/29 0:05  Updated: 2021/4/29 0:05
Just popping in
Joined: 01/10/2007
From: Stockholm Sweden
Comments: 181
 @kas1e
Thank you very much for this great pack of shaders!
kas1e
Published: 2021/4/29 6:37  Updated: 2021/4/29 6:37
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 7054
 shaders
@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.
walkero
Published: 2021/4/29 17:17  Updated: 2021/4/29 17:17
Site Builder
Joined: 12/02/2006
From: Athens/Dublin
Comments: 981
Online!
 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.
Capehill
Published: 2021/4/29 17:52  Updated: 2021/4/29 17:52
Just can't stay away
Joined: 07/14/2007
From: Lothric
Comments: 1349
 Re: I wish
@walkero

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

Cheers
IamSONIC
Published: 2021/4/30 12:14  Updated: 2021/4/30 12:15
Just popping in
Joined: 06/11/2009
From: Germany
Comments: 153
 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
TiredOfLife
Published: 2021/4/30 13:49  Updated: 2021/4/30 13:49
Quite a regular
Joined: 07/23/2007
From:
Comments: 734
 Re: Great work
Yeah I agree, the default icons and set up instructions are a nice touch.
kas1e
Published: 2021/4/30 13:56  Updated: 2021/4/30 13:56
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 7054
 shaders
@All
Thanks!

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 :)
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1535
Logged in last:
  24 hours, 54
  7 days, 92
  30 days, 131

Top Posters
1 kas1e
kas1e 7054
2 Raziel
Raziel 4261
3 ChrisH
ChrisH 3555
4 samo79
samo79 3433
5 Chris
Chris 3280
6 orgin
orgin 3226
7 LiveForIt
LiveForIt 2986
8 328gts
328gts 2531
9 Antique
Antique 2502
10 Hans
Hans 2310

New Members
astuermer
astuermer 10/17/2021
adil
adil 09/18/2021
phipslk
phipslk 07/24/2021
trgswe
trgswe 07/23/2021
DJ_Nest
DJ_Nest 07/10/2021
Primax
Primax 06/30/2021
JaixBly
JaixBly 06/14/2021
Azvareth
Azvareth 06/14/2021
CleaningUp
CleaningUp 06/14/2021
mci
mci 06/11/2021


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project