fuzzy-binaires / FuzzyGameSpace

http://www.fuzzybinaires.org
0 stars 0 forks source link

Texture Resolution #7

Closed criptography closed 4 years ago

pleekMan commented 4 years ago

Changed Board texture to 4096x2048 If that doesn't work, slices of 2048 and/or 1024px are ready. How to composed them @Ungeheuer ? Loading them into a shader and doing the offseting there??

criptography commented 4 years ago

Unity compresses textures as square textures (e. g. 1024 x 1024) anyways. This means that our circuit board should be split into two separate materials. Since the board has the dimensions 1:2, this would make it possible to have two smaller square textures. However this is a question of UV mapping in Cinema4D - could you try that? I think this would provide the best results.

pleekMan commented 4 years ago
pleekMan commented 4 years ago

What worked was Doing the mapping on 3d Software (per-polygon, 1 material per texture), then export FBX with materials not embeded. Then Unity would understand the materials and the polygon UV, but it would not assign differents materials (ergo textures) to the mesh. We have to manually tell the mesh renderer how many materials we are needing. Then reCreate the materials with the given textures, and then drop this materials on the new slots in the mesh renderer. Thus, the per-polygon mapping stays, but might be in a different order.