HELP with photoshope .PNG transparencies
Blitz3D Forums/Blitz3D Programming/HELP with photoshope .PNG transparencies
| ||
Can someone help? need a tutorial on making a .png file contain alpha map make the example work for black text im using Photoshop CS (version 8) |
| ||
I only have PS6 but i'll assume its the same. Create an image, then create a new layer, draw your stuff onto this layer, disable the 'background' layer (the transparent bits show in a 'checkerboard' pattern), save your image to PNG. |
| ||
it sort of worked, but its got white area's where it was MENT to be masked |
| ||
You need to load your texture with the alpha flag. |
| ||
Gfk.... I could kiss you!!! IT worked!!! i realy hate PNG sometimes!!! it was stupidly easy i should have bin able to do this my self!! Writers block??? WOW |
| ||
Gfk.... I could kiss you!!! Not if you expect me to help you ever again, you won't.:) |
| ||
You dont need to worry about that! |
| ||
lol |
| ||
Just had the same alpha-png prob myself. LoadImage has no alpha-flag but by default Blitz treats black(0,0,0) (at least) in png-files as transparent. You can change the "transparent" color (should you need black in your image to really be black) with MaskImage handle, R,G,B. - b (no kisses necessary here, either) |
| ||
the masking works well for sprites the way i needed it to. using maskimage on loadimage stuff works well also. har har har @ the "no kisses neccessary" OFF TOPIC how do i use l33t speach? |