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


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


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.


22.06.10 [18:13 UTC] by dottore | 1099 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


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


~13h ago

AKa-visuals: Hi guys. Everyone guess when xenko engine would be avaliable to play around in vl ... Isnt?

~8d ago

joreg: and right after the intro join us for our second Patching Circle: patching-circle bring your projects and problems and patch along

~8d ago

joreg: Reminder: This thursday: Free #vvvv gamma intro course: free-vvvv-intro-workshops-this-summer-in-berlin

~10d ago

gregsn: Chi!

~11d ago

tonfilm: @dominikKoller haha, you name it :D

~12d ago