[SOLVED] How achieve crips model material?

Trying to use pixelart-texture in model. Tried:

  1. Use shaders from trenchbroom, but here u need to write custom script to convert mesh to buffer.
  2. Use shaders from 3Dkit, still have artifacts.
  3. Use shaders from defmateral, still have artifacts.
  4. Use standart model material with nearest samplers.

defold view

blender view

here repr
Basic 3D project.zip (78.3 KB)

try to use pot textures for models.
64x64

1 Like

what kind black magic was that?
but wait, what if my model-texture size is lower than 64x64, it will be waste of space?

You model texture should be power of 2.
16х16, 64x32, 64x64 or other

64x48 is bad. Because 48 is not power of two

3 Likes