Wanted: Package foam
I'm trying to find a shader/material for package cushioning. It has bubbles like soap foam. It just isn't a liquid (or soap). It's the stuff you find in a shipping box that is usually shaped like the negative space of the item being shipped.

Comments
so polystyrene?
Richard Haseltine will probably affirmate Google Gemini is talking out of its Rs
take this with a heap of scepticism
AI Overview
To create an Expanded Polystyrene (Styrofoam) shader in NVIDIA's Material Definition Language (MDL), you need a Physically Based Rendering (PBR) setup that captures its distinct characteristics. [1, 2]
A realistic polystyrene shader requires three essential properties: [1, 2]
Here is a structured, production-ready MDL shader definition:
Polystyrene MDL Shader Implementation
Key Components Explained
How to Use This Shader
You can import this code into platforms utilizing the NVIDIA MDL SDK, such as NVIDIA Omniverse, Adobe Substance 3D, or enterprise renderers like V-Ray and Iray. [1, 2, 3]
Are you compiling this for a specific renderer like NVIDIA Omniverse or Substance Designer, or do you need to modify parameters like bead compression vs. flat foam sheets?
I don't know what any of that means. I just want a block of foam that isn't soap or water based.
The only thing here is I see beads in the text there. I don't want beads. Styrofoam is beady. I want fluffly airy foam.
The foam surrounding the miniatures is airy, not beady.
well it can be beads but also moulded but what you are looking for is called foam plastic
I won't bother asking Gemini to create a shader
but this is what it likely is
AI Overview
Polyurethane and polyethylene are the main foam plastics used to protect delicate gear in camera cases.[1, 2]
Common Types of Case Foam
Okay. But is there an existing shader slapping it onto a cube?
EDIT: There's an animated "memory foam" asset at the hub. But that is far more functional than what I need. I don't need it to react to anything. I'm just looking for the visual. Not the function. If I'm desparate later, it does have an OBJ in it.