perfect texture size?

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

perfect texture size?

Post by bongobeat »

Hello all:

just want to know what means:
Mipmaps should be used with all textures and the dimensions of the textures should be to the power of two (16, 32, 64 …) to ensure compatibility.
(taken from log1 modding guide)

does that mean that the height should be double values that the width? (or the widht has double values than the height)

or does that mean that height and width can heva any value, but always a value divisible by 2 until it comes to 1?
e.g: ... - 256 - 128 - 64 - 32 - 16 - 8 - 4 - 2 - 1

I have made a "world map" and treasures map, based on some of the asset's item: I don't know if that may be the cause of crash when playing the mod, initially I have set the textures dimensions to 1280x720 for the world map, and 512x334 for the treasures map.
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: perfect texture size?

Post by minmay »

bongobeat wrote:or does that mean that height and width can heva any value, but always a value divisible by 2 until it comes to 1?
e.g: ... - 256 - 128 - 64 - 32 - 16 - 8 - 4 - 2 - 1
Yes, that's what it means.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: perfect texture size?

Post by bongobeat »

thank you!
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
Post Reply