|
Re: Question about skin sizes in MED
[Re: Caermundh]
#410171
10/29/12 22:20
10/29/12 22:20
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
depending on what models you use 512px (for really small objects even smaller textures are enough) to 2048px should work fine.
4096px is really big and I won't recommend to use them a lot. They might be nice for high detail terrains but you should be careful with them since textures which are this big eat a lot of memory and make the game much slower.
8192px... that's a texture size I would never use. Simply because it's just overkill and memory waste. (a 8192x8192px texture has the same size as 64 1024x1024px textures).
But if I will ever need a detailed texture like this I would use a smaller sized texture with decent detail mapping.
And the maximum texture resolution (I searced a bit) seems to be 4096px on DX9. However, I'm not sure if this really is true.
Last edited by Kartoffel; 10/29/12 22:23.
POTATO-MAN saves the day! - Random
|
|
|
Re: Question about skin sizes in MED
[Re: Caermundh]
#410221
10/30/12 16:36
10/30/12 16:36
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Usually you use a shader tiles the textures by simply modifying the uv information before reading the color from the texture. For example: If you want to repeat the texture 5 times you have to multiply the texture coordinates by 5 within the shader (and set AddressU and V to Wrap). However, there are enough terrain shaderes out there. Have a look at the multi-texture terrain shader in the latest AUM.It looks pretty good.
Last edited by Kartoffel; 10/30/12 16:36.
POTATO-MAN saves the day! - Random
|
|
|
|