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: Float textures in shaders



I have had my share of problems with GL_RGB_FLOAT32_APPLE. Could you please
send the full line with glTexImage2D? I have never been convinced that the floating textures
work properly. Thanks.


 Gordon


email@hidden wrote:

I'm getting artifacts like this:

http://www.acm.uiuc.edu/~kcrane/floattex_artifacts.jpg

when I try to multiply a floating-point texture (using GL_RGB_FLOAT32_APPLE) with an 8 bit/component RGB texture in a fragment shader. The strange thing is I only get these artifacts when the output color is dependent on both textures -- passing through one texture or the other gives the correct results. I'm using a mobility 9700, 10.3.6, and Cg version 1.2.1001 w/ arbfp1

Keenan
_______________________________________________
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



_______________________________________________ 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: 
 >Float textures in shaders (From: <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.