Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GLSL for loop and light indexing



> One of the things I would check is what alpha values you are using for
> the fragment as it is not clear from the code you posted. I have tried
> my code on the MBP with the x1600 and on a variety of windows / linux
> machines with an array of video cards, but I have not tried it on the
> latest MBP's.

Not sure what you mean here, but I'm comparing 2 identical shaders
except one uses a loop and the other doesn't.  The results are
_exactly_ the same if I change the index in the loop to a hardcoded 0
instead of using 'i'.  Once I index gl_LightSource with a variable, I
encounter the previously described problem.  So, I'm pretty sure I've
eliminated any possibility of my code being the issue.

thanks,
wes
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >GLSL for loop and light indexing (From: "Wesley Smith" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.