Are you using textures at all in the fragment version? Your
non-fragment version shows the floor at least is textured, but your
vertex and pixel programs make no mention of doing texture lookups.
Having textures enabled but not used may be confusing the board and
producing the random image effect you see.
- Dennis
===================================
DrakkenWulf Enterprises
Dennis Piatkowski
Director of Pixels
3801 Wyoming
Kansas City MO 64111
816-678-9397
email@hidden
http://DrakkenWulfEnterprises.com
On Nov 21, 2004, at 2:04 PM, email@hidden wrote:
I'm trying to use a simple vertex/fragment program pair on a Radeon
9700 (under 7R28) to render some objects with per-pixel lighting (a
single point light). I am getting unexpected results, most definitely
due to a bug in my ARB programs, but I cannot spot the problem...
_______________________________________________
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