Game
Kordex - The Golden Path
7 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

So

i may or may not make an full art of some person or i may just leave this like that-

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

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

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

Heya! I wanted to show some gameplay progress i made so far. I hope you like it ^^

Why walk when you can jump?

Rockin the Guitar, an Axe like Guitar I made for my Uni project

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

Regional Bulbasaur. #Pokemon