x


GetPixel not working on iPhone

I've set my texture to RGBA 32 bit using override for iPhone Option.

Read/Write is Enabled. Texture is 512x1024 (tried it at 1024x1024 aswell) Generate Mip Maps OFF Generate Normal Map is OFF Filter Mode Bilinear Wrap Mode Clamp

When ever i do a GetPixel call i get the following error:

Unsupported image format - the texture needs to be either ARGB32, RGB24 or Alpha8

I can only set RGBA 32 Bit with iphone version of Unity Not ARGB32.. It works with RGB24 & Alpha 8. But i Need RGBA 32bit.

Help!

more ▼

asked Dec 16 '10 at 04:56 PM

Prodev101 gravatar image

Prodev101
1 3 4 3

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Gave up , using two texture , one for image and one as alpha 8bit for pixel check..

more ▼

answered Dec 21 '10 at 09:36 AM

Prodev101 gravatar image

Prodev101
1 3 4 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2000
x354
x22

asked: Dec 16 '10 at 04:56 PM

Seen: 1190 times

Last Updated: Dec 16 '10 at 04:56 PM