All Questions
7
questions
1
vote
0
answers
1k
views
Optimizing Render Texture
I'm trying to render a shader on my mobile device. I use Graphics.Blit to render the shader as follows,
void OnRenderImage(RenderTexture src, RenderTexture dest)
{
Graphics.Blit(src, null, ...
2
votes
1
answer
800
views
Windows Store App - WriteableBitmap , blit method
Alright , i am trying to merge two images(superimpose one image on top of another) using writeablebitmapex library's blit method. And after applying the blit all i am getting is a transparent image ...
1
vote
1
answer
367
views
Overlay bitmaps (writeablebitmap etc.) in windows store app
I have 2 bitmaps (foreground and background) which I need to overlay on top of each other to form a new bitmap and use it as the ImageBrush for a button.
The code would look something like this (...
0
votes
1
answer
832
views
Upgrade the quality of a blit (Winrt c#)
I actually try to make one and unique image of a canvas with multiple things on it.
I create an image with all I need, but the quality of the image is really poor. Do you know how I can upgrade it ? ...
1
vote
0
answers
549
views
Remove unwanted halo when overlaying transparent PNG using WriteableBitmapEx Windows Phone
As seen from the image, the edges of eclipse is not smooth. I am using the following blend mode. Other modes produce more unwanted result.
writeableBmp.Blit(destRect, wbCircle, sourceRect, ...
2
votes
1
answer
2k
views
Overlay a smaller image over larger image using WriteableBitmapEx Windows Phone
In my hidden object game, I want to mark the object with a circle image when found with the following code where AnsX1, AnsX2, AnsY1, an AnsY2 is the pixel coordinates of the object location. The ...
20
votes
9
answers
5k
views
The fastest way to check if a type is blittable?
In my serialiser/deserialiser, I have the following snippet:
if (element_type.IsValueType && collection_type.IsArray)
{
try
{
GCHandle h = GCHandle.Alloc(...