Mailing Lists: Apple Mailing Lists

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

Additive Blending on a floating point PBuffer



Hiya All. Im working on moving an intensive algorithm to work on the GPU. I need to blend several polygons with floating point textures additively. Ideally if 2 polygons were covered in a texture with 0.5f as the colour, the resulting polygon would be 1.0f. Fairly simple i figured. However, i need to modify these values using Cg or some shader language. So far it "appears" that the Cg bit is doing its job. However, the results are not quite what i'd expected. I just wondered, is it possible to do floating point additive blending on the PBuffer using the Radeon 9700 inside a powerbook G4?

Cheers

Ben B

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