.. _stdlib_material_window: ================= Properties window ================= .. image:: material_inspector.jpg :width: 300 :alt: material_inspector ++++++++++ Shader ++++++++++ .. line-block:: There is a list of predefined shaders in the engine. You can select one of them for your material. See :ref:`stdlib_builtin_shaders` for more information. ++++++++++ Textures ++++++++++ .. line-block:: You can add textures to your material. These can be color, normal map, roughness map, etc. See :ref:`stdlib_textures` for more information. .. image:: texture_selection.jpg :width: 600 :alt: texture_selection .. line-block:: You can set up texture properties in the texture inspector. ++++++++++ Properties ++++++++++ .. line-block:: Each shader has its own set of properties. Properties can be ``float``, ``float4``, or ``int``. See the documentation for each shader to get more information about its properties. Changing any material property will immediately update the material asset and apply changes to the render. ++++++++++ Preview ++++++++++ .. image:: material_inspector_preview.jpg :width: 300 :alt: material_inspector_preview .. line-block:: Here you can see a material preview to understand what kind of textures this material uses. The material preview has several modes: * Sphere mesh * Cube mesh * Quad mesh * Plane mesh * Cylinder mesh .. note:: Currently, the material preview shows only unlit color. Shaded rendering will be added in future patches.