2 Attachment(s)
[HWA] Pixel shaders Complex-softwares package
In this package there is 42 pixel shaders. More will come.
To install, extract the archive directly in your "Effects" folder of your MMF2 installation.
You can use all the pixel shaders in it as you want for free (but if you use one or more pixel shader code of this package to make another one, please, credit me a bit ;) )
Enjoy ! :)
Re: [HWA] Pixel shaders Complex-softwares package
Re: [HWA] Pixel shaders Complex-softwares package
It's sad that i don't have a pixel shader 2 supported graphics card.
Re: [HWA] Pixel shaders Complex-softwares package
Re: [HWA] Pixel shaders Complex-softwares package
Very nice and really appreciated contribution Sphax!!
Re: [HWA] Pixel shaders Complex-softwares package
Wow, thank you so much Sphax. :)
When I looked into the code of some of your effects, I just wondered about the time you must have spent with this.
Well, as said above:
Great. Thanks!
You made MMF go one step further in displaying graphics!
Re: [HWA] Pixel shaders Complex-softwares package
OMG.. this is power! Much appreciated, Sphax!
edit: Do you think there will be some way to detect if the application is running with capabilities to perform these effects?
Like "If cant' perform DX9, do..." or "If can't perform pixel shaders 2.0, do.."
Re: [HWA] Pixel shaders Complex-softwares package
Clickteam should be able to add an expression to mmfhwa that returns the direct3d version, as it automaticly switches to d3d 8 display mode when 9 isn't installed, i think.
Re: [HWA] Pixel shaders Complex-softwares package
Yes that could be a nice idea. :)
If you have more ideas, do not hesitate to post them here, I'll maybe create a pixel shader. ;)
Re: [HWA] Pixel shaders Complex-softwares package
What about a cel-shading effect? :)
A simple one, just one param.
Color = Color / Param * Param
or so, that's all.
Re: [HWA] Pixel shaders Complex-softwares package
i would say the obligatory lens/perspective-type effects but obviously that can't be done quite yet...
maybe:
- Edge-finding: outlines edges based on a threshold value
- Variable Saturation: 0.0 - 1.0 range: 0.0 would be the object's normal colors, 1.0 would be grayscale, anything between would be a desaturated version of the normal colors
- Pixellation: takes width and height values for the new "pixels"
Re: [HWA] Pixel shaders Complex-softwares package
Awesome!
I found a bug?: I've been playing with the zoom, and when I put it on a layer and zoom out the images smear when it gets to the "edges" of the window. Like my window is 500x500 so if I zoom out 50% if something is beyond 250x250 it smears and just goes at 90 degrees. Am I making sense?
Awesome collection though. Many Thanks
Re: [HWA] Pixel shaders Complex-softwares package
Quote:
Originally Posted by xyzzy
Variable Saturation: 0.0 - 1.0 range: 0.0 would be the object's normal colors, 1.0 would be grayscale, anything between would be a desaturated version of the normal colors
It's already available. ;)
YAS, zooming out is possible but the pixel shader can't zoom out what was not already displayed, that's the problem.
Re: [HWA] Pixel shaders Complex-softwares package
What about directional blurs? :P
Or radial blur, and something like that "3d ball" effect as if you would use the lens object with standard lens.
Maybe they're bit too advanced, but I don't know :)
Re: [HWA] Pixel shaders Complex-softwares package
Sorry guy's maybe i've missed somthing but i can't get these to to change at run time... any one managed?
Re: [HWA] Pixel shaders Complex-softwares package
I can. Try re-downloading the latest build.
Re: [HWA] Pixel shaders Complex-softwares package
Quote:
Originally Posted by Looki
What about directional blurs? :P
Or radial blur, and something like that "3d ball" effect as if you would use the lens object with standard lens.
Maybe they're bit too advanced, but I don't know :)
Yea you can do a directional blur, but for the lens effect, you cannot do that right now because there is no way to get the image that the object is overlapping. But notice that I said 'right now'. There will be this type of functionality in the final version.
Re: [HWA] Pixel shaders Complex-softwares package
Quote:
Originally Posted by LazyCoder
Quote:
Originally Posted by Looki
What about directional blurs? :P
Or radial blur, and something like that "3d ball" effect as if you would use the lens object with standard lens.
Maybe they're bit too advanced, but I don't know :)
Yea you can do a directional blur, but for the lens effect, you cannot do that right now because there is no way to get the image that the object is overlapping. But notice that I said 'right now'. There will be this type of functionality in the final version.
I didn't mean to distort the background image, but the object with that 'lens' effect. ;)
Re: [HWA] Pixel shaders Complex-softwares package
Oh yes. An effect like that is certainly possible.
Re: [HWA] Pixel shaders Complex-softwares package
I can only change a parameter at runtime at the very start of the frame, and even then I have to look its name up in the xml file.
Is there any way to be able to change parameters mid-frame?
Edit: also the animated effects aren't animated for me, which I guess could be related.
Re: [HWA] Pixel shaders Complex-softwares package
Try re downloading the 2c version. Yves made a slight mistake on the first release of it. It works fine now.
You don't have to look up the name in the .xml file, just look in the 'parameters' section when you are selecting the pixel shader.