On May 9, 2013, at 9:55 PM, Achim Breidenbach <[email protected]> wrote:
> I don't have any experience with lighting calculations in shaders yet. I 
> don't want to dive deep into materials and such, but simply want to have the 
> left cube look the same way as the right cube.


Getting identical results is actually shockingly complicated.  There's a _ton_ 
of computation in the fixed-function pipeline, and you'll have to duplicate all 
of it.  As the number of lights increases, the shader complexity increases as 
well.  Fully expect the need to dive deep if you're going to have a complicated 
pipeline that behaves comparably with Fixed Function and Shaders with 
non-trivial GL state.

--
Christopher Wright
[email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to