hourigan.info - portfolio ·

main

live

~/

portfolio

›

src

›

index.html

›

<

section

hero

/>

⌘K palette

⌘P files

main

↓0↑2

0 errors

open_to_work

UTF-8

•

HTML

•

Cincinnati

10:57 PM

Bulk Texture Baking pipeline tool

Work Image
The Problem: authoring assets takes forever

This is the companion piece for the Procedural Painterly Shader, and is what justifies the entire effort to create an authentic, coherent art style while reducing the amount of time spent hand-painting hundreds of assets, thus allowing the Devils' Advocate project to take advantage of the hundreds of thousands of premade assets on the marketplace. The problem is that even a small object with a known profile can take tens of minutes, maybe even hours depending, to do the art for, which makes creating living, breathing worlds with an opinionated art direction outside the scope of what's possible for anything outside the budget of a AAA studio. Small indie projects, or even AA projects, are essentially limited to a small pool of handcrafted assets OR into fully relying on the marketplace to provide art design for them, as they can't justify the hundreds of hours it takes to design and produce hundreds of textures for a given aesthetic.

The Solution: only author hero assets, bake the rest in bulk

Hero assets (main characters, important props, etc) are almost always deserving of handcrafted attention, and thus are worth the investment of an individual artist spending time to really get it right, but everything else can be difficult to justify. A huge portion of a 3D model's identity comes from the texturing work, as you can see from the example here:

Most of a model's identity comes from the texturing, which can be changed very easily

Therefore, if it were possible to somehow take advantage of the hard work others have done to create asset packs that are already easily-integrated into your game engine while also adhering them to a coherent art design vision, you could potentially unlock a scale of gameplay or storytelling that would ordinarily either be visually limited or altogether impossible. This is where my bulk baking solution comes in to save the day. It's built upon the foundation of Blender, and it is capable of baking any shader that can ultimately be expressed via textures en masse.

The Result: thousands of assets fully-authored in just hours

As this was initially designed specifically to take advantage of the Painterly Shader I conceived as the shader is not real-time viable, my initial tests ran rather slowly (this is not altogether surprising, as it needed to compile OSL for every single object), and it serves as an excellent example of the worst-case scenario one can imagine: an incredibly beefy shader that would never work on its own, and yet it could still process 110 meshes and 168 associated textures at 4k resolution in just 23,032s (just under six-and-a-half hours), making even a poorly-performing shader capable of producing tractable results in a simple overnight job. The same assets running through a much simpler test case shader ran much more quickly, running the same job at 8k resolution in only 7232 seconds, or just over 120 minutes. This puts the floor for a heavy 8k job at 18 hours per 1000 assets (this is meshes with multiple PBR textures), which is a scale that no human being could possibly match. One could decide to tweak the entire art design of their game, and as long as it could be reasonably expressed as a texture in some capacity, it's just one overnight job away on a cheaply-hosted server or even a personal computer if you don't need 8k resolution.

hover over an image to see its realistic source asset

Key Features
  • runs offline

  • can process 300 4k textures per hour

  • fast and free

  • export manifest makes automating imports extremely easy

Other blogs

1
1