Log inGet started
Package

metropolisVehicles.package

This package holds more than this page lists. See all of its files in its world.

README.md

look

This module defines the materials and shader parameters used by all vehicles in the Metropolis world. It provides three core materials (paint, glass, and far) that integrate with the painterly system for dynamic lighting and shading. Additionally, it offers functions to pack colors, manage vehicle-specific shader data (livery, lamps, wear), and write these parameters to entities. The module also handles the ink tagging for painterly's line pass, allowing for distinct visual outlines on vehicles. It is primarily called by metropolisVehicles.resolver and metropolisVehicles.state to manage vehicle appearance and lighting.