Docs/Reference
Samples (Pro)
The Showroom scene and a short tour of the material, mesh and audit tools on the Game Kit samples.
Pro includes everything in Samples and adds more art from Unity's 3D Game Kit: a character, two props, a wall and some vegetation, shown together in the Showroom scene.
| Folder | What it holds |
|---|---|
Crate, HealthBox | A model, its material and five maps each. HealthBox is five pieces in one model. |
Ellen | A skinned character with one folder per material: Body, Head, Hair, Eye. Use Ellen.prefab: the model file also carries the rig's controller shapes, which the prefab switches off. |
Stonework | A wall model, Wall01 and TiledRock sets, and Moss with a height map. |
Vegetation | Four plants, each with its model, material and maps. |
Render pipeline
The materials use URP Lit. Their textures are also in the Standard shader's slots, so on Built-in you can select every material under Samples and set Shader to Standard without reassigning anything. On HDRP, do that and then run HDRP's Render Pipeline Converter over them.
If you would sooner build them yourself, delete a set's material and run Create From Selection on its textures or the Batch Material Creator on its folder. Either one names the material after the set.
Materials
Select the five Crate_ maps, right-click and choose BlackCraft > Create Material. Each map goes into its slot by name. For several at once, drag the four Vegetation folders into the Batch Material Creator and press the button once to get four materials.
For the Variant Builder, first make two tints of Crate_Albedo in the Texture Editor: add a Saturation layer, shift its Hue, and save each under a new name. Then set Crate.mat as the master in the Variant Builder and drop the tints in.
To try the Bulk Material Editor, select every material under Samples and change Smoothness on all of them together.
Duplicate Crate.mat and run the Material Auditor on Samples. It reports the duplicate, and the Material Replacer can point the Showroom back at the original.
Textures
- Map Generator: use
Moss_Heightas the source, tick Normal and Occlusion and press Save Ticked. Then compare what you got withMoss_Normalin Texture Compare. - In Normal Map Tools, blend
Moss_NormaloverWall01_Normal. - Run
Wall01_Albedothrough the Seamless Tiler and watch the seam readout fall. - Put the four vegetation albedos into the Atlas Maker with Save Layout on. Atlas UV Remap then moves the four plants in the Showroom onto the atlas.
- Change
Crate_Normal's Texture Type to Default and run the Texture Auditor onSamples. The starter Normal Maps rule catches it, and Fix on that row restores it. - Texture Budget on
Samplesranks every map by memory and lists what uses each one.
Meshes
Right-click Ellen.prefab and choose BlackCraft > Open in Model Viewer. Orbit the light and render an icon.
The Character Rigger reads a skinned mesh as it stands, so you can load Ellen.prefab into it, place the eight markers and rig her again as a Humanoid.
HealthBox.fbx in the Mesh Extractor splits into its lid, base and latches. The Mesh Auditor on Samples finds the Read/Write imports the kit ships with and fixes them through the importer.
Select the wall in the Showroom and open the UV Editor to look at its overlaps and distortion. You can also paint a mask onto it with the Vertex Colour Painter, which shows which channels the wall's material reads. URP Lit reads none of them, so use a shader of your own that does.
Files
Where Used on Crate_Albedo lists the material and the Showroom. Rename Files, Sort Into Folders and the Label Browser can be tried on any copy of the Samples folder.
