rifter1818
Junior Contributor
How can i make a certain color (for instance Black) transparant in an allready loaded Texture (or surface). So far the only means by which i can think of is
SufaceLoader.FromSurface(Surf,Surf,SomeFilter,color.black.toargb) this works however the framerate drops from 60 to 3 which a bit too much, ive tried filter.point,.linear,.none all end up with the same wonderfull 3 fps so i dont think its the filter.... Does anyone know of an actually usefull way to do this? Actually Thinking about it its probably because the surface is so large, so i guess next question asside from is there a more efficiant way to apply a transparancy, is what is the best way to scale a texture or surface down?
SufaceLoader.FromSurface(Surf,Surf,SomeFilter,color.black.toargb) this works however the framerate drops from 60 to 3 which a bit too much, ive tried filter.point,.linear,.none all end up with the same wonderfull 3 fps so i dont think its the filter.... Does anyone know of an actually usefull way to do this? Actually Thinking about it its probably because the surface is so large, so i guess next question asside from is there a more efficiant way to apply a transparancy, is what is the best way to scale a texture or surface down?