Page 1 of 1
Shader Thumbnails
Posted: Sat Nov 29, 2014 1:04 pm
by Sadler
Would it be possible to store shader code in image metadata (XMP for example), thereby allowing users to browse shaders visually, select an image and have Magic extract the shader code?
Re: Shader Thumbnails
Posted: Sat Nov 29, 2014 7:54 pm
by Magic
I think it's possible, but every shader would have to be converted to that format. So even if it were done for the "built-in" Magic shaders, any other ones downloaded elsewhere (by users) wouldn't have that feature.
Perhaps a better method would be to automatically create a visual snapshot as a separate image? Then there could be a browser which displays the images and retains associations (by similar filename) to the original shader.
Re: Shader Thumbnails
Posted: Sat Nov 29, 2014 8:08 pm
by Terry Payman
Perhaps consider the browser accommodating animated GIFs or even short MP4s?
Re: Shader Thumbnails
Posted: Sun Nov 30, 2014 9:43 am
by Syd
I had thought about making a little tool to:
run the shader for x frames and benchmark it, average the frames and give a performance rating.
screenshots
tagging/categorisation
etc etc
so I could select stuff like 'LED friendly, high performance, tunnels'.
I'll get around to it one day if Eric doesn't beat me to it

Re: Shader Thumbnails
Posted: Mon Dec 01, 2014 5:31 pm
by Magic
I'll get around to it one day if Eric doesn't beat me to it

Go for it!
