LogoObjToSchematic Wiki

Baking Textures in Blender

A guide on how to make materials OtS-friendly.

This guide was written for Blender 4.4.3 and requires you are familiar with the basics of Blender.

Why do I need to bake textures?

For complex materials, it is common for them to have to be baked into a single diffuse texture for OtS to load them correctly.

For example, this material looks basic enough but when loadeding OtS results in a blank material.

If you were to import a model using this texture into OtS you will get a blank result.

This is because the "Brick Texture" node is procedural and cannot be encoded in the glTF format. Even if it could be, OtS still won't read it. For this texture to appear it must be baked into a texture and then that texture should be inputted into the "Base Color" of a Diffuse BSDF or Principled BSDF.

How-to

In Blender, open a new "Image Editor" tab.

Click "New", name your texture "Diffuse" and set its size to 1024x1024, or larger if you know what you are doing.

Open a "Shader Editor" tab and add a new "Image Texture" node and set its image to the new "Diffuse" image you created. Leave this node disconnected.

Open the "Render" properties tab and switch to the "Cycles" render engine.

Scroll down to the "Bake" section and make sure your object is selected. Switch the "Bake Type" to "Diffuse". Untick "Direct" and "Indirect" contributions in the "Influence" menu.

You can make more than just diffuse data, as long as you ensure the output to your material is a regular diffuse texture. For example you can bake your diffuse and ambient occlusion into one texture. Or in some special cases or styles you may want to bake the reflections.

Click "Bake" and wait for the material to be baked out.

Finally connect the "Image Texture" node you made earlier into the "Base Color" pin of your material output and export your model to OtS!

And now your model should have correct materials!

Appendix

Here's an example where I made the material reflective and baked the reflections into a texture.

This gives the illusion that its reflective, but when you move the camera angle the illusion breaks down....

On this page