» PlasticDX9multipass
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

PlasticDX9multipass

effect reflection fresnel point-light ambient-light directional-light

about

This example shows how to apply one-pass-per-light shading to a plastic surface. The shading is done in DX9 ps2 - pixel shaded.
In this example, there are two point sources, one without falloff and one with "real" quadratic falloff, an infinitely-distant source, ambient light, and a fresnel reflection.

download

PlasticDX9multipass.zip
22.06.10 [18:13 UTC] by dottore | 1138 downloads

mrboni 14/01/2011 - 14:25

What's up with the blend modes in this shader?

It seems like when you spread it they're always on a weird blend mode, or there's something up with the alpha.

Any ideas?

kalle 14/01/2011 - 17:20

sounds like some ATI/Nvidia incompatibility to me.

mrboni 18/01/2011 - 14:23

Hmmmm

I'm using a GTX480.

Dottore, can you shed any light on this?

And thanks for your wicked shader sharing!

levi 16/02/2011 - 15:58

same here on a gtx46o

i see transparency when i spread or when using mesh with subsets.

anonymous user login

Shoutbox

~2d ago

domj: Stuck in your patching or eager to share what you made or came across? Join Midweek Patch Therapy at 17:30 https://therapy.domj.net/

~3d ago

david: vvvv meetup 3. new stream link. again youtube made us nuts.. please send everybody to https://youtu.be/pa3HRQ7kj6w

~3d ago

joreg: Reminder: Join us this evening, 8pm CET for the 3rd worldwide #vvvv meetup: 3.-worldwide-vvvv-meetup

~3d ago

sinus: @evvvvil: very impressive stuff! keep on marching the rays!You´ll never walk alone!

~4d ago

evvvvil: @mediadog, thankx for pointing it out broski. Wicked.

~5d ago

domj: Catching up with the Midweek Patch Therapy excerpts, expect more videos over the week. https://youtu.be/36r8LnHaS7g

~6d ago

mediadog: @evvvvil hey you made the webgl-dev-list cool stuff list: http://gfxprose.blogspot.com/2020/05/cool-webgl-stuff-2020-05-21.html

~7d ago

evvvvil: Yo I'm live doing a VJ set made in vvvv for OUTLINE demoparty with OddJohn DJing! Come see us play here: https://www.twitch.tv/outlinedemoparty/

~8d ago

domj: A blast to read with great references. Thoughts on how to make programming more learnable and understandable. http://worrydream.com/LearnableProgramming/

~9d ago

gegenlicht: @evvvvil damn. - missed it. Such unique styles, others would create 1000 twitter loops from one of ur sessions. :3 #bobrossmarch