Feature Request: Higher precision (or float textures) ?

2 replies [Last post]
bilics
User offline. Last seen 9 years 4 weeks ago. Offline
Joined: 04/29/2012
Posts:

Hi there,

I am just wondering how hard it is to add higher precision 2D samplers (such as float textures) to the Filter implementation ?

Awesome work by the way, thanks!

Cheers

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

Half float textures would only be supported as initial inputs to the filter, not as outputs from any stage. You can only input half float textures on the iPhone 4S, iPad 2, and iPad 3, and even there you can't use them as rendering targets, so I doubt they'd be of much use to you in this framework.

You could supply one as an input to a GPUImageTextureInput right now, without any modification to the framework. Again, since you can't use it as an output, its utility would be limited.

Also, apparently they are incredibly slow on the 4S: http://stackoverflow.com/a/9718795/19679

bilics
User offline. Last seen 9 years 4 weeks ago. Offline
Joined: 04/29/2012
Posts:

Ok, thanks for the info.

Cheers

Syndicate content