# Virtual Texture sample slots

**URL:** <https://forums.unrealengine.com/t/virtual-texture-sample-slots/2331155>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [February 13, 2025, 3:37pm UTC](https://forums.unrealengine.com/t/virtual-texture-sample-slots/2331155 "2025-02-13T15:37:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [February 13, 2025, 9:08pm UTC](https://forums.unrealengine.com/t/virtual-texture-sample-slots/2331155/2 "2025-02-13T21:08:25Z")

</div>

Hello there @moglimember!

Per my own testing, also trying to figure out an automation for converting material slots after import. Other threads have been succesful in creating blueprints for manipulating slot names and other properties, it should be possible to create a process in the same vain that changes the mat to virtual.

> [@Set Material Slot Names in Blueprint](https://forums.unrealengine.com/t/set-material-slot-names-in-blueprint/641936):
>
> Question is as simple as it gets. I know I can go inside of a static mesh to find its material slots and rename them. But I wanna do it procedurally via blueprint. There is “Get Material Slot Names” but not SET Material Slot Names. I basically wanna mass assign random materials based on the material they are suppsed to replace, and for the first time doing that, I can theoretically just look for the name of the material that I wanna replace. But once that’s done, I can’t use that method a seco…

> [@How to get asset material slot name using blueprints?](https://forums.unrealengine.com/t/how-to-get-asset-material-slot-name-using-blueprints/768323):
>
> How can I get an Asset “Material Slot Name” using Editor Utility Blueprint? I can get “Material Name” and “Material Slot Index” by casting selected asset to StaticMesh, but I can’t get material slot name. Get Material Slot Names node target is Mesh Component, but if I try to cast to Mesh Component the cast fails. Thank you very much for any help!

---

_[View the full topic](https://forums.unrealengine.com/t/virtual-texture-sample-slots/2331155)._
