The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

To not do something wrong for every material in the project, I have some question about SpatialMaterials:

  • 99% of the materials I use are from cc0textures.com. Is there anything "special" to know about the materials from this pages?

  • Should I take the .png or the .jpg versions of the materials from cc0textures.com?

  • Should I take the 2k, 4k or 8k versions of the materials from cc0textures.com? (I want to support screen resolutions up to 4K)

  • I simply copy the textures from cc0textures.com into my project folder (in subfolders, of course), create a SpatialMaterial and add the image files to their "slot" in the SpacialMaterial (color in Albedo, normal in Normal, roughness in Roughness, etc.). Is this correct or is there anything else to do?

  • Most of the textures from cc0textures.com have a "displacement" image file. I couldn't find a displacement slot in the SpacialMaterial settings. What should I do with them?

  • The Uv1/Triplanar option lets every material look "better" (in my opinion). Is it okay to use this option with (every) material? Or does this option has any disadvantages?

Thank you in advance!

Godot version 2.3.2
in Engine by (142 points)

1 Answer

+1 vote

Getting your textures from cc0textures.com should be fine. Since they've been released into the public domain, they can be used for whatever purpose. The file format chosen shouldn't really matter as long as the resolution is consistent, i.e. a 2k JPG is just as good as a 2k PNG file. The only real difference is that PNG files support transparency.

With respect to image resolution, go with one that suits the game's look. The pixels of lower res textures will be more noticeable in 4k resolutions, so going with a high resolution texture is a good idea. Though it depends on the art of the game. Just because the models have 4k textures doesn't mean the player is going to notice these high resolution textures (though I'm sure the player would appreciate such detail). One of the drawbacks of high resolution textures is that they take up a lot more space, so a balance may have to be found between higher resolution, game size, and art quality.

The placement of the other materials should be fine: the normal material goes with the normal map, roughness material goes with the roughness map, and so on. This answer suggests putting the displacement material in the Depth attribute. As for triplanar mapping the only disadvantage I can see that the engine would do more blending on the model, and thus more processing.

by (3,164 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.