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

Chiaki Nanami!

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

"Our work is never over" they said.

A Shiny Mega Gengar 🌟 For @ManutkArt 's #ThreeColorsChallenge!

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

Made my first ever animation.