Mailing Lists: Apple Mailing Lists

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

FBO+GLSL write to texture with less than 4 components



Hi list,
I've been trying to write the output of a fragment shader to LUMINANCE texture, but all I get then is a completely black texture.


Question: do FBOs support writing directly to a texture with fewer than 4 components - how?
If not, is there any workaround?


Thanks
Mark
_______________________________________________
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


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.