Blender add-on for baking your scene to textures

Overview

Bake Scene

This add-on bakes your scene to textures. This is useful in many situations:

  • Creating trim sheets
  • Creating decals
  • Creating hair cards
  • Creating skyboxes

The textures are baked super fast, they are anti-aliased, and they are extremely high quality.

Installation

  1. Go to the Releases page and download the most recent Bake.Scene.zip file.

  2. In Blender, go to Edit -> Preferences...

  3. In the Add-ons tab, click the Install... button.

  4. Select the Bake.Scene.zip file and click Install Add-on.

  5. Enable the checkbox to the left of Render: Bake Scene.

  6. Save your preferences.

How to use

  1. In the Output properties, change the resolution. 2048 or 4096 is most common:

  2. Change the output folder and image settings to whatever you want, then click the Bake button:

  3. By default it will bake geometry textures (alpha, ambient occlusion, curvature, normal, and height).

    But you can change that inside of the Textures panel:

Tips and advice

  • The textures created by this add-on can be directly used in DECALmachine.

  • I recommend baking with 100% Compression. This slows down the baking, but it means much smaller file sizes.

  • The origin point (0x, 0y, 0z) is always used as the center for the textures.

    The Size option specifies how big your scene is, anything outside of Size won't be baked.

    By default it bakes a 2m x 2m box centered on the origin.

  • If you want the texture files to have a prefix you can simply add it to the Output folder:

  • You can have multiple different scenes in the same .blend file, and each scene can have different options (output folder, textures, size, etc.)

  • It will only bake renderable objects, so if you don't want to bake an object you can disable rendering:

  • If you use a Principled BSDF node it will be baked into the textures:

    These sockets are supported: Base Color, Metallic, Roughness, Emission, Alpha, and Normal.

    It works with both simple values and also complex procedural node trees.

  • If you are baking hair, you should set the Hair Shape Type setting to Strip:

    You should also create your hairs with the highest quality possible. Because they are being baked to a texture, the performance doesn't matter.

Texture Information

  • Alpha bakes a black-and-white alpha / opacity / transparency texture.

    This is affected by changing the Alpha socket on the Principled BSDF node, and it is also affected by the Blend Mode settings (Opaque, Alpha Clip, Alpha Hashed, and Alpha Blend).

  • AO bakes an ambient occlusion texture. White means no occlusion, and black means full occlusion.

    Ambient occlusion means how close an object is to another object. It is used to add in fake shadows.

  • Curvature bakes a curvature map. Gray means no curvature, white means curving outwards (convex), and black means curving inwards (concave).

    This is often used to add extra detail to the edges of models (scratches, scuffs, or dirt).

  • Normal bakes a normal map. This is affected by the Normal socket on the Principled BSDF node.

  • Height bakes a height map. Gray means the geometry is at the center 0z, white means positive +z, and black means negative -z.

    This can be used to create parallax effects to add extra depth, or to create bump maps.

    By default it calculates the max bounds automatically based on the vertexes in your scene. But you can instead choose Manual mode and then manually change the max bounds.

  • Color bakes the Base Color socket of the Principled BSDF node.

  • Emission bakes the Emission socket of the Principled BSDF node.

  • Metallic bakes the Metallic socket of the Principled BSDF node.

  • Roughness bakes the Roughness socket of the Principled BSDF node.

  • Object Random bakes a black-and-white texture where every object is given a random grayscale color.

    This can be used for post-processing to mask out specific objects.

  • Object Index bakes a black-and-white texture which is based on the object's Pass Index:

    This can be used to mask out specific objects, or groups of objects.

    You must change the Max option to be the same as the biggest Pass Index that you are using.

  • Material Index bakes a black-and-white texture which is based on the material's Pass Index:

    This can be used to mask out specific materials, or groups of materials. This is particularly useful for DECALmachine's Subset map.

    You must change the Max option to be the same as the biggest Pass Index that you are using.

  • Hair Random bakes a black-and-white texture where every particle hair strand is given a random grayscale color.

  • Hair Root bakes a black-and-white texture where black means the root of the hair, and white means the tip of the hair.

For programmers

If you want to modify this add-on, follow these steps:

  1. git clone https://github.com/Pauan/blender-bake-scene.git

  2. cd blender-bake-scene

  3. blender --background --python install.py

    This will install the add-on locally.

  4. Now you can open Blender normally and the add-on will be installed.

  5. When you make changes to the code, close Blender and then run blender --background --python install.py again.

You might also like...
Higher quality textures for the Metal Gear Solid series.

Metal Gear Solid: HD Textures Higher quality textures for the Metal Gear Solid series. The goal is to maximize the quality of assets that the engine w

Blender addons to make the bridge between Blender and geographic data
Blender addons to make the bridge between Blender and geographic data

Blender GIS Blender minimal version : 2.8 Mac users warning : currently the addon does not work on Mac with Blender 2.80 to 2.82. Please do not report

Blender addons - A collection of Blender tools I've written for myself over the years.
Blender addons - A collection of Blender tools I've written for myself over the years.

gret A collection of Blender tools I've written for myself over the years. I use these daily so they should be bug-free, mostly. Feel free to take and

Blender addon that enables exporting of xmodels from blender. Great for custom asset creation for cod games
Blender addon that enables exporting of xmodels from blender. Great for custom asset creation for cod games

Birdman's XModel Tools For Blender Greetings everyone in the custom cod community. This blender addon should finally enable exporting of custom assets

Blender Game Engine Game Type Templates Logic Bricks (and Python script) based Game Templates for Blender

Blender-Game-Engine-Templates Blender Game Engine Game Type Templates Logic Bric

Easytile blender - Simple Blender 2.83 addon for tiling meshes easily

easytile_blender Dead simple, barebones Blender (2.83) addon for placing meshes as tiles. Installation In Blender, go to Edit Preferences Add-ons

Fixed Version Of Blender Low Poly Rock Generator For Blender 3.0.0
Fixed Version Of Blender Low Poly Rock Generator For Blender 3.0.0

Blender (3.0.0) - Low Poly Rock Generator This is an addon for Blender 3.0.0 to generate low poly rocks. It was based on an addon that unfortunately h

Rlmm blender toolkit - A set of tools to streamline level generation in UDK straight from Blender

rlmm_blender_toolkit A set of tools to streamline level generation in UDK straig

Blender-3D-SH-Dma-plugin - Import and export Sonic Heroes Delta Morph animations (.anm) into Blender 3D

io_scene_sonic_heroes_dma This plugin for Blender 3D allows you to import and ex

Blender-miHoYo-Shaders - Shaders for Blender attempting to replicate the shading of games developed by miHoYo
Blender-miHoYo-Shaders - Shaders for Blender attempting to replicate the shading of games developed by miHoYo

Blender-miHoYo-Shaders - Shaders for Blender attempting to replicate the shading of games developed by miHoYo

An unofficial Blender add-on for Autodesk's Arnold render engine.
An unofficial Blender add-on for Autodesk's Arnold render engine.

Arnold for Blender Arnold for Blender (or BtoA) provides a bridge to the Arnold renderer from within Blender's standard interface. BtoA is an unoffici

Blender Add-On for slicing meshes with planes
Blender Add-On for slicing meshes with planes

MeshSlicer Blender Add-On for slicing meshes with multiple overlapping planes at once. This is a simple Blender addon to slice a silmple mesh with mul

Enhanced version of blender's bvh add-on with more settings supported. The bvh's rest pose should have the same handedness as the armature while could use a different up/forward definiton.
Enhanced version of blender's bvh add-on with more settings supported. The bvh's rest pose should have the same handedness as the armature while could use a different up/forward definiton.

Enhanced bvh add-on (importer/exporter) for blender Enhanced bvh add-on (importer/exporter) for blender Enhanced bvh importer Enhanced bvh exporter Ho

Some useful blender add-ons for SMPL skeleton's poses and global translation.
Some useful blender add-ons for SMPL skeleton's poses and global translation.

Blender add-ons for SMPL skeleton's poses and trans There are two blender add-ons for SMPL skeleton's poses and trans.The first is for making an offli

Add-In for Blender to automatically save files when rendering
Add-In for Blender to automatically save files when rendering

Autosave - Render: Automatically save .blend, .png and readme.txt files when rendering with Blender Purpose This Blender Add-On provides an easy way t

Reload all Blender add-on modules
Reload all Blender add-on modules

Reload-Addon This add-on creates a list of the modules that the add-on selected in the drop-down menu contains and reloads them with the keyboard shor

Blender Add-on That Provides Quick Access to Render Controls
Blender Add-on That Provides Quick Access to Render Controls

Blender Render Buttons Blender Add-on That Provides Quick Access to Render Controls A Blender 3.0 compatablity update of Blender2.8x-RenderButton v0.0

A linear stairs generation add-on for Blender
A linear stairs generation add-on for Blender

Linear Stairs Generator Table of Contents Installation Usage Screenshots Important Notes Requirements Blender 3.0 or newer. Installation: Download a z

A Blender add-on to create interesting meshes using symmetry
A Blender add-on to create interesting meshes using symmetry

Procedural Symmetries This Blender add-on automates the process of iteratively applying a set of reflection planes to a base mesh. The result will con

Releases(v1.3)
Owner
JS programmer since 2006. Functional programmer since 2010. Rust programmer since 2017. Former Rust Wasm Core member.
null
A program that makes all 47 textures of Optifine CTM only using 2 textures

A program that makes all 47 textures of Optifine CTM only using 2 textures

null 1 Jan 22, 2022
Blender Add-on to Add Metal Materials to Your Scene

Blender QMM (Quick Metal Materials) Blender Addon to Add Metal Materials to Your Scene Installation Download the latest ZIP from Releases. Usage This

Don Schnitzius 27 Dec 26, 2022
Blender add-on: Add to Cameras menu: View → Camera, View → Add Camera, Camera → View, Previous Camera, Next Camera

Blender add-on: Camera additions In 3D view, it adds these actions to the View|Cameras menu: View → Camera : set the current camera to the 3D view Vie

German Bauer 11 Feb 8, 2022
Connect Aseprite to Blender for painting pixelart textures in real time

Pribambase Pribambase is a small tool that connects Aseprite and Blender, to allow painting with instant viewport feedback and all functionality of ex

null 117 Jan 3, 2023
Starscape is a Blender add-on for adding stars to the background of a scene.

Starscape Starscape is a Blender add-on for adding stars to the background of a scene. Features The add-on provides the following features: Procedural

Marco Rossini 5 Jun 24, 2022
Implementation of light baking system for ray tracing based on Activision's UberBake

Vulkan Light Bakary MSU Graphics Group Student's Diploma Project Treefonov Andrey [GitHub] [LinkedIn] Project Goal The goal of the project is to imple

Andrey Treefonov 7 Dec 27, 2022
Custom GUI for your Blender add-ons using Dear ImGui

Dear Imgui for Blender Use the infamous Dear ImGui library directly in your Blender scripts! This means custom GUI drawing in your operators: Normally

Elie Michel 83 Dec 25, 2022
An implementation of "Optimal Textures: Fast and Robust Texture Synthesis and Style Transfer through Optimal Transport"

Optex An implementation of Optimal Textures: Fast and Robust Texture Synthesis and Style Transfer through Optimal Transport for TU Delft CS4240. You c

Hans Brouwer 33 Jan 5, 2023
Simple Python / ImageMagick script to package images into WAD3s for use as GoldSrc textures.

WADs Out For [The] Ladies Simple Python / ImageMagick script to package images into WAD3s for use as GoldSrc textures. Development mostly focused on L

null 5 Apr 9, 2022