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

Multi Light Shaders

effect directional-light point-light

about

These Gouraud and Phong shaders accept multiple lights as input and can draw point and directional light in one pass. have fun ;)

download

MultiLightShaderV2.zip
18.01.18 [16:10 UTC] by tmp | 665 downloads
Show 1 older revisions

Older Revisions

MultiLightShader.zip
15.01.18 [11:09 UTC] by tmp | 147 downloads

u7angel 15/01/2018 - 11:24

pretty cool, super clean looking example. very helpful for beginner who don't want to dive into shader programming. should be added to the addonpack.

colorsound 15/01/2018 - 21:06

very cool ,useful , thanks

tmp 18/01/2018 - 16:00

I uploaded a new version.
Both shaders can now draw directional and point lights at the same time and are simply called Phong and Gouraud :)

Noir 18/01/2018 - 16:07

well done

anonymous user login

Shoutbox

~2d ago

joreg: absolutely. if it is for a repo that is public, just submit a pullrequest. otherwise please start a forum thread.

~2d ago

benjawmino: @joreg I ended up figuring out BezierSegment yesterday, so nevermind! Tell me, could a user submit a help patch? :)

~2d ago

joreg: @benjawmino please elaborate on this question a bit in a new forum thread. otherwise it is hard to answer..

~3d ago

benjawmino: so are there no splines/curves in gamma yet??

~7d ago

skyliner: wanna do drone shows or applications? then check this super cool project of our man e1n

~11d ago

NoseBleedIndustries: Thanks Joreg! The few minutes I was able to see, very good workshops!

~11d ago

joreg: @NoseBleedIndustries please give us some days, we'll have an announcement soon...

~11d ago

NoseBleedIndustries: I could not assist the Node20 (workshops ) Any Idea when we will have access to the links of the recordings?

~13d ago

bjoern: unity has c# bindings for usd, under apache license: https://github.com/Unity-Technologies/usd-unity-sdk