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

PlasticDX9multipass

effect

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

~15h ago

Joanie_AntiVJ: I have an issue with some reflection calculations, any vector expert may know the secret of mirrors ? :) https://discourse.vvvv.org/t/help-to-mirror-a-vector/20523/4

~15h ago

Joanie_AntiVJ: I have an issue with some reflection calculations, any vector expert may know the secret of mirrors ? :) https://discourse.vvvv.org/t/help-to-mirror-a-vector/20523/4

~11d ago

joreg: @LCA remember that we also provide custom support for commercial projects: https://visualprogramming.net/#Support

~12d ago

LCA: where to ask about hardware setups: VL application over 26 1080p displays. maybe also with FUSE

~19d ago

tonfilm: @tobyk there is also this, who wants to win: https://bottosson.github.io/posts/oklab/

~26d ago

tobyk: LCH is the best color space, all the other color spaces are now big losers. https://atmos.style/blog/lch-color-space

~28d ago

schlonzo: "HowTo Work with Children" somehow I expected something else :D

~1mth ago

fleg: This Tuesday, Cologne: exhibition opening of "interwoven", textile disinformation patterns created with vvvv. https://fleg.de/news/exhibition-interwoven