Page 1 of 1

Bitmaps Problem black cm wont work etc...

Posted: 24 Dec 2010, 14:33
by Karl
Image

http://pastebin.ca/2028142 ceg code



Klotzsmoke=klotz/smoke.tga;
Klotzboom=klotz/sparkboom.tga;


on Klotzsmoke i can't make it Black/darker using CM it just fails and makes it way more transparent


and on Klotzboom it is just a blacksquare i even used a alpha channel for it but it wont work

how i am doing it wrong?

Re: Bitmaps Problem black cm wont work etc...

Posted: 24 Dec 2010, 14:37
by SinbadEV
mediafire is fine, but I just wanted to point out that this forum supports 7z files as attachments

Re: Bitmaps Problem black cm wont work etc...

Posted: 24 Dec 2010, 14:40
by Karl
SinbadEV wrote:
mediafire is fine, but I just wanted to point out that this forum supports 7z files as attachments
Done

Re: Bitmaps Problem black cm wont work etc...

Posted: 26 Dec 2010, 14:51
by rattle
klotzsmoke:
try using opaque alpha values in the colorMap, i.e.

Code: Select all

colorMap = 1 0.25 0 1 ... 0 0 0 1
klotzboom:
opposite of above, try using values of 0.01 for the alpha

Re: Bitmaps Problem black cm wont work etc...

Posted: 26 Dec 2010, 15:05
by Karl
Oh thank you! Thank you! you will be mentioned in the credit list thanks again!

it works perfectly fine the Smoke gets properly black
just the Sparkboom not

and i see there is on bitmaps black outlines gives there somewhere a function that makes it so? Or did you do that all manualy?

Edit: bah for those black square problemm i think i need new glasses i made a typo <.<

Re: Bitmaps Problem black cm wont work etc...

Posted: 26 Dec 2010, 18:32
by rattle
If the alpha values near the borders aren't going down to 0 you'll see outlines. Are you using TGAs with proper alpha channels?

Re: Bitmaps Problem black cm wont work etc...

Posted: 26 Dec 2010, 18:37
by bobthedinosaur
use a png or TGA and go into gimp/ photo shop to make sure the edges have 0 (pure black) alpha channel

Re: Bitmaps Problem black cm wont work etc...

Posted: 26 Dec 2010, 18:50
by Karl
rattle wrote:If the alpha values near the borders aren't going down to 0 you'll see outlines. Are you using TGAs with proper alpha channels?
bobthedinosaur wrote:use a png or TGA and go into gimp/ photo shop to make sure the edges have 0 (pure black) alpha channel

uhh i am just adding alpha channels i never looked on the color type thing that shows RGBA

and thanks! i will try so i could probaly next week making a bitmaps assets for all to use

Re: Bitmaps Problem black cm wont work etc...

Posted: 28 Dec 2010, 01:07
by Karl
*bump*

uhh stupid question again how do i make the edges having 0?
also i am normaly using png the alpha channel looks fine but the rest looks like a white shit