Asset browser panel #19

Open
opened 2026-03-17 22:18:54 +00:00 by kit · 0 comments
Owner

Add a client-side asset browser panel for inspecting loaded models, textures, and materials.

Requirements

Models tab

  • List all loaded MDL models with their paths
  • 3D preview of each model with orbit controls
  • Display bone hierarchy (names, parent chain)
  • Show model origin point visually in the preview
  • Display model metadata (version, bone count, mesh count, bounding box)

Textures tab

  • List all loaded VTF textures with their paths
  • 2D preview of the raw decoded texture (base layer only)
  • Display texture metadata (dimensions, format, mip levels, VTF flags)

Materials tab

  • List all loaded VMT materials with their paths
  • Show the resolved shader type (LightmappedGeneric, UnlitGeneric, etc.)
  • Display all parsed VMT parameters and their values ($basetexture, $color, $envmap, $detail, $translucent, etc.)
  • 2D preview showing the material as rendered (texture + shader properties combined)
  • For WorldVertexTransition materials, show both $basetexture and $basetexture2

General

  • Toggle panel open/closed via a button or keybind
  • Searchable/filterable lists
  • Clicking a model or material in the list should highlight entities using it in the 3D scene
Add a client-side asset browser panel for inspecting loaded models, textures, and materials. ## Requirements ### Models tab - List all loaded MDL models with their paths - 3D preview of each model with orbit controls - Display bone hierarchy (names, parent chain) - Show model origin point visually in the preview - Display model metadata (version, bone count, mesh count, bounding box) ### Textures tab - List all loaded VTF textures with their paths - 2D preview of the raw decoded texture (base layer only) - Display texture metadata (dimensions, format, mip levels, VTF flags) ### Materials tab - List all loaded VMT materials with their paths - Show the resolved shader type (LightmappedGeneric, UnlitGeneric, etc.) - Display all parsed VMT parameters and their values ($basetexture, $color, $envmap, $detail, $translucent, etc.) - 2D preview showing the material as rendered (texture + shader properties combined) - For WorldVertexTransition materials, show both $basetexture and $basetexture2 ### General - Toggle panel open/closed via a button or keybind - Searchable/filterable lists - Clicking a model or material in the list should highlight entities using it in the 3D scene
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kit/gmod-web-stream#19
No description provided.