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



Are you using pbuffers? I had similar artifacts when I didn't do a glFlush before using the contents of a pbuffer that had just render into as a texture input for another shader.

-j

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.