Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
11 crawler(s) on-line.
 175 guest(s) on-line.
 3 member(s) on-line.


 pavlor,  OlafS25,  Matt3k

You are an anonymous user.
Register Now!
 OlafS25:  10 secs ago
 pavlor:  1 min ago
 Matt3k:  4 mins ago
 pixie:  16 mins ago
 zipper:  16 mins ago
 Hypex:  30 mins ago
 jPV:  32 mins ago
 amigang:  1 hr 35 mins ago
 matthey:  1 hr 41 mins ago
 hannana:  1 hr 41 mins ago

software OS4   software OS4 : ShaderJoy Pack: Big set of Shadertoy's shaders
   posted by kas1e on 27-Apr-2021 21:45:30 (1113 reads)



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 !!!


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.



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.



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




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 looks like almost a year ago:

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/
    

STORYID: 0
Related Links
· More about software OS4
· News by kas1e


Most read story about software OS4
Homebank 4.4 for AmiCygnix released

Last news about software OS4
Quake 2 as digital version for AmigaOS 4
Printer Friendly Page  Send this Story to a Friend

PosterThread
klx300r 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 1-May-2021 2:45:07
#1 ]
Elite Member
Joined: 4-Mar-2008
Posts: 3837
From: Toronto, Canada

cool stuff ! thanks to Capehill, Hans, Daniel & kas1e


_________________
____________________________
c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII
! My Master Miggies- Amiga 1000 & AmigaOne X1000 !
mancave-ramblings
X1000 I BELIEVE

 Status: Offline
Profile     Report this post  
noXLar 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 1-May-2021 17:07:14
#2 ]
Cult Member
Joined: 8-May-2003
Posts: 736
From: Norway

first, impressive eye-catching software pack, these stunning screensavers shows how far you all have come. it's shows hands down we have great gems of skilled amiga coders at work.

and, want to address you Q&A: Hardware to use (GPU)

I feel it's not clear enough, only say it require Radeon HD or Radeon RX, that can lead to wrong purchase and impression, HD & RX means alot of generations.

my point is, RX has been used since 2013,(GCN 2nd gen) staring with RX200 series (Radeon R5/R7/R9 200) and every generation from that point is in the RX family series.

so, i think it's good thing to get that correct gpu support naming being used. an example would be like this:

Radeon HD 2000/6000 and RX 400/500 or something else that is better/correct

just, seen it few times, and hope you not take this the wrong way, just want to help out. anyway, great work you all


_________________
nox's in the house!

 Status: Offline
Profile     Report this post  
DiscreetFX 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 2-May-2021 12:11:27
#3 ]
Elite Member
Joined: 12-Feb-2003
Posts: 2495
From: Chicago, IL

Does this require purchasing Enhancer 2.0 to work? I don’t mind doing that if it’s a requirement.


_________________
Sent from my Quantum Computer.

 Status: Offline
Profile     Report this post  
kas1e 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 2-May-2021 13:29:31
#4 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3549
From: Russia

@noLaxar
By RadeonHD and Radeon RX it means _any_ over which warp3dnova and ogles2 work. Surely for those ones who don't know amigaos4 that can be a bit confusing, but that post mean for amigaos4 owners who know what gfx cards they need so warp3dnova/ogles2 works :)

@DiscretFx

Sometimes i feel you are robot, hope to be wrong :)


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
DiscreetFX 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 2-May-2021 14:27:28
#5 ]
Elite Member
Joined: 12-Feb-2003
Posts: 2495
From: Chicago, IL

I’m not a robot. I thought I asked a legitimate question. I haven’t been using my X5000 daily for a while but am looking for an excuse to play with it again. Shaderjoy might be that excuse. I really enjoyed CANDI when I first got my X5000.


_________________
Sent from my Quantum Computer.

 Status: Offline
Profile     Report this post  
virgolamobile 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 2-May-2021 19:27:02
#6 ]
Regular Member
Joined: 23-Feb-2004
Posts: 192
From: Somewhere in Northern Italy

Successfully tried many shaders on my 10 years old Sam460ex equipped with a RadeonRX 560 and it look awesome!

Thank you guys, ShaderJoy is simply impressive, and the package made available a good selection of ready to use examples.

Just a question: why the animation freeze when I move any icon on the workbench?

 Status: Offline
Profile     Report this post  
noXLar 
Re: ShaderJoy Pack: Big set of Shadertoy's shaders
Posted on 10-May-2021 13:57:46
#7 ]
Cult Member
Joined: 8-May-2003
Posts: 736
From: Norway

i know, keep it simple and short.. but RX is so much. fury, nano, vega, navi, big navi , or are those Radeon RX cards supported?

i know I'm being difficult, but just want to share some light over naming, in case someone go buy an RX card and find out it isn't supported.


_________________
nox's in the house!

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle