A question about resources

New releases and general discussions.

Post » Sun Mar 15, 2009 10:19 am

If I load an image for a sprite thats lets say 300 x 400, and I then resize the sprite to 75 x 100 on the layout, will I be saving any memory? Will i save any processing on the gpu, or cpu?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sun Mar 15, 2009 10:23 am

Nope. It'll still take up the same amount of VRAM no matter how big or small you stretch it.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sun Mar 15, 2009 2:00 pm

I'm pretty sure I recall David saying that all textures are scaled to a power of 2. So your 300x400 image would be scaled to 512x512 therefore using as much VRAM as a 512x512 texture does.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests