Game
Kordex - The Golden Path
6 years ago

Log #19: Material Broadcaster


Hey guys!

Currently, I’m working on another tool to make the daily routine of a game development easier: please welcome our Material Broadcaster (name will be changed soon).

Here are the current essential features of it:

  • Find all materials using a specific shader in the whole project

  • Find all materials in the currently opened scenes using a specific shader

  • Broadcast a keyword to the selected materials (like SAMPLE_GI to enable lightmaps)

  • Change the shader for all selected materials

  • Batch set common properties (currently under development)

5d0997db2e5a9.png

At the very top, you can select multiple shaders. By pressing the buttons below, all materials using those shaders are search in the whole project or the currently opened scene(s). Optionally you can add or remove materials into the list manually.

In the middle section of the window you can batch configure the selected materials:

Keywords

5d0997dbb308e.png

When Unity introduced the new Shader Graph until now it’s not possible to use static Lightmaps for Unlit Shaders. That’s why we implemented our own lightmap shader node. Sadly, in order to make Lightmaps working you have to enable the _SAMPLE_GI keyword for each material using lightmaps. That’s why we originally created the tool.

This is the scene with _SAMPLE_GI disabled:

5d0997dc12455.png

Enabled:

5d0997dd92729.png

Change shader

5d0997dee9486.png

Often it’s needed to change shaders for multiple materials at once. For example when you try something out and created another shader variant. With our tool it’s possible to do that in a few clicks :)

Do you like it?

Thank you very much!



0 comments

Loading...

Next up

Log #2: New Island Part

"Thanks guys for endless hours of fun." 👍

(My first fan art. Read the article, please.)

#sonic #mario #photoshop

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

What do you think guys in my robot?Just a beginner in 3d modeling..

My instagram https://www.instagram.com/rojhonbb/

Werehog transformation process. #sonicunleashed

The whole squad is here!

Interested? Follow me!

Regional Bulbasaur. #Pokemon

Only true badasses may pass! #conceptart #art #gamedesign

We're knee deep in multiple large features and "game feel". Quick peek behind the scenes in this weeks Dev Blog: https://bit.ly/2QmmaQM

blender animation experimentation, getting the hang of things fast. arms, rig, & gun models by me ofc