Rename engine to cubi
This commit is contained in:
@@ -409,7 +409,7 @@ export function fluid_rgb(fluid: FluidVariant): Vec3 {
|
||||
export function fluid_look(fluid: FluidVariant): { texture: string; tint: Vec3 } {
|
||||
const json = EverythingRegistry.get<FluidJson>("fluids", fluid?.id);
|
||||
if (!json) throw new Error(`there's no fluid ${fluid?.id}`);
|
||||
return { texture: json.texture ?? "engine:missing", tint: fluid_rgb(structuredClone(fluid)) };
|
||||
return { texture: json.texture ?? "cubi:missing", tint: fluid_rgb(structuredClone(fluid)) };
|
||||
}
|
||||
|
||||
// where a model's uv in pixels (0-16) is in the atlas. the atlas's border around each sprite (see ATLAS_BORDER) keeps
|
||||
|
||||
Reference in New Issue
Block a user