Categories

Multipass lighting in Shader Model 2.0

See the white light starting from the lower left.

See the white light starting from the lower left.

It starts to rise up.

It starts to rise up.

Its light not too much effect like the white one.

Its light not too much effect like the white one.

They seem like 'talking' to each other. ;)

They seem like 'talking' to each other. ;)

The scene look from far away, many lights existed.

The scene look from far away, many lights existed.

As far you know about the shading model, after I tested this (also after I have learned from XNA’s Creator Club sample project), I realized and deeply concern about the version of shader model you when you develops some testbed or read apps. Shader model v.2 and v.3 are much different, in v.2 (as the case for this test) can only draw two light in one pass, but in v.3 you can have let’s say about 7-8 lights. And also the limitation of the instructions that can be used is very important too, as you cannot drive your way down without concern about your code or algorithm.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">