Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - aCallum

Pages: [1]
1
Support / Disable overriding of material shader?
« on: August 16, 2013, 12:17:14 pm »
Hey guys, I have created a modified version of the standard tk2dBlendVertexColor shader, but at runtime it is reset to the default tk2d version. Is there a way to avoid this?

Cheers
Alastair

2
Support / tk2dsprite to texture2D/byte[]
« on: March 19, 2013, 07:59:57 pm »
Hey guys, I'm wondering if it's possible to extract the data of a tk2dsprite into a texture2D or byte[] object?

I'm wanting to send the image data over the internet. For example, we have an atlas texture containing medals (gold/silver/bronze) that are diplayed in game, when you complete a mission you can share your success via Facebook; including the medal image.

I know I can get the material and then the texture, but how can I get the texture data only for the current tk2dsprite area of that texture?

Cheers!

Pages: [1]