x


Transparent texture contains other color

Hello Everyone. . I've encountered a problem that I can't explain, but im going to attach an image. The texture is png with transparency, there's a part that supposed to be transparent, but instead, its green.

alt text

more ▼

asked Jul 23 '11 at 09:33 AM

Albert gravatar image

Albert
323 18 19 26

If you are using GetPixels and SetPixels, perhaps you can post the code. It may also be your material that does not use a shader that supports Alpha.

Jul 23 '11 at 10:01 AM Herman Tulleken
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Thanks Herman, but i found another solution. It seems there was an important part on saving the texture.

I opened the texture again in GIMP, and resave, there was an option that says [ Save color values from transparent pixels ] i set it false. and now its gone :)

more ▼

answered Jul 23 '11 at 10:36 AM

Albert gravatar image

Albert
323 18 19 26

(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:

x2276
x340
x185

asked: Jul 23 '11 at 09:33 AM

Seen: 1183 times

Last Updated: Jul 23 '11 at 10:36 AM