THE SHORT ANSWER
Roblox developers can now use a new 'Pixelated' resampling mode on 3D objects to prevent pixel art from blurring. This setting renders each source pixel as a crisp square, allowing creators to upload assets at their original size instead of upscaling them. The feature is opt-in and applies to SurfaceAppearance, Decal, and Texture instances, though it does not affect MeshPart.TextureID, terrain, or MaterialVariant.
- New ResampleMode property (Enum.ResamplerMode.Pixelated) for 3D surfaces.
- Eliminates need to upscale low-resolution pixel art before uploading.
- Requires uncompressed storage, impacting memory usage per pixel.
- Best practices include matching PBR map sizes to the color map.
Roblox is rolling out a new rendering option for 3D surfaces that addresses a long-standing issue for creators building with low-resolution assets. The platform has introduced a 'Pixelated' resampling mode for SurfaceAppearances, Decals, and Textures. This update allows developers to render pixel art without the previous blur caused by bilinear filtering. It removes the need to artificially upscale source images before uploading them to the platform.
Previously, 3D surfaces always blended neighboring pixels, which turned low-resolution pixel art into a soft blur when viewed up close. The only workaround was to upscale the artwork before uploading, a process that consumed memory without adding visual detail. The new Pixelated mode changes this rendering pipeline by keeping the source resolution intact.
How the New Resampling Mode Works
Developers can now access the new ResampleMode property directly on three instance types: SurfaceAppearance, Decal, and Texture. By changing the mode from 'Default' to 'Pixelated,' the engine renders each source pixel as a crisp square rather than interpolating between pixels. This maintains the sharp edges characteristic of pixel art styles.
The setting is opt-in. Existing games will continue to render using the default 'Default' mode until a developer manually changes the property on specific objects. This ensures that updates do not break existing projects or alter the visual fidelity of games that do not require pixel-perfect rendering. The mode also applies to tiled Textures, affecting every tile in the pattern.
Implementation and Workflow
To enable the feature in Roblox Studio, creators must navigate to the specific object in Explorer. For meshes, users must select the child SurfaceAppearance rather than the MeshPart itself. Once selected, the 'Appearance' tab in the Properties window contains the new 'ResampleMode' dropdown.
The setting is also accessible via Luau scripts. Developers can write a script to target a specific decal or texture and set the property programmatically. This allows for dynamic changes to texture rendering based on game state or player preferences. The feature mirrors the functionality already available in 2D UI elements like ImageLabel and ImageButton, extending those controls into the 3D world.
Memory and Performance Considerations
While the feature solves visual quality issues, it introduces specific memory considerations. The official documentation notes that Pixelated textures are stored uncompressed. Unlike compressed textures that can stream in at lower resolutions, uncompressed textures remain fully loaded in memory at all times.
Despite this, the memory savings can still be significant compared to the old workaround. A 32 x 32 pixel art tile stored uncompressed uses at least 30 times less memory than the same tile enlarged to 512 x 512 and compressed. Creators are advised to upload pixel art at its original size, including non-power-of-two dimensions like 30 x 20, to maximize memory efficiency.
Best Practices and Limitations
For the feature to work correctly, creators must follow specific best practices, particularly when using Physically Based Rendering (PBR) maps. On a SurfaceAppearance or Decal with PBR maps, every map must be the same size as the color map. If the maps differ in size, the engine resamples or samples between pixels, causing highlights and surface details to misalign with the artwork.
The feature does not apply to every texture scenario. It cannot be used on MeshPart.TextureID directly. To apply pixelated resampling to a MeshPart, a developer must add a SurfaceAppearance, Decal, or Texture child to the mesh. Additionally, the setting does not cover terrain or MaterialVariant instances. At a distance, the engine will still use mipmaps, which are pre-filtered copies of the texture, so the pixel art will blend naturally when viewed from far away.