Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Material Support for VisualElement

Discussion in 'UI Toolkit' started by SolarianZ, Aug 26, 2022.

  1. SolarianZ

    SolarianZ

    Joined:
    Jun 13, 2017
    Posts:
    215
    Is there anyway to add a Material to a VisualElement(I can't find any document about this)?

    I found there is an internal Allocate method with Material parameter but I can't access to.
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,203
    UI Toolkit still does not support custom shaders. So no, there is not Material support yet for VisualElements.
     
  3. prattmyster

    prattmyster

    Joined:
    Apr 15, 2015
    Posts:
    17
    Any news on if this going to happen anytime soon