Get Started
...
The iR Spaces Editor
Editor interface
Materials inspector
5 min
the materials inspector is your central hub for manipulating the materials on a model or entities it offers a robust set of tools for fine tuning the look and feel of objects in your scene you can import textures, tweak properties, and input various maps to achieve lifelike results on the web manage entity materials to manage the materials of your entities in your scene, follow these steps select your entity choose an entity in the hierarchy panel view its materials navigate to the materials tab to view a list of all materials currently applied to the selected entity adjust its properties modify the properties of each material within the properties panel under materials material prototypes the engine offers extensive support for various materials, each catering to specific visual requirements these materials provide a foundation for creating various surface effects we recommend you use meshphysicalmaterial for transparent materials or objects that require clearcoat like car paint choose between different prototypes in the properties panel basic materials this section explores some fundamental material types used for common rendering tasks material description ideal use cases meshbasicmaterial applies a uniform color with no lighting effects simple geometries, flat surfaces meshstandardmaterial implements physically based shading (pbs) for realistic lighting responses metals, plastics, wood meshmatcapmaterial employs a pre rendered texture for cartoon like shading efficient for low complexity scenes cartoon rendering meshphysicalmaterial provides the most accurate shading with light scattering and microfacet effects high fidelity rendering meshlambertmaterial calculates diffuse lighting based on surface orientation, omitting specular highlights matte surfaces meshphongmaterial adds specular highlights using phong shading, ideal for glossy materials metals, plastics meshtoonmaterial creates a cel shaded, stylized look with sharp edges and limited color variations cartoon rendering shadermaterial offers complete control over material properties through custom glsl shaders (requires advanced programming skills) advanced visual effects shadowmaterial specialized material for generating shadows within the scene (not intended for direct object rendering) shadow effects linebasicmaterial renders lines with a uniform color outlines, edges, simple geometric shapes advanced materials while the basic materials provide a solid foundation, these advanced materials offer more specialized functionalities and effects material description potential use cases hashtiledstandardmaterial creates non repeating tiled textures on surfaces with noise functions offers control over the scale of the effect procedural textures spritesheetmaterial animates sprite sheets with controllable speed, ideal for fire or exploration time based textures animated textures, particle effects scrollingtexturematerial animates textures by offsetting uv coordinates over time, creating visual movement flowing water, scrolling textures on screens animatevertexmaterial animates vertex positions with procedural noise effects, allowing control over animation direction (x, y, z), scale, and speed dynamic mesh animations, water wave surfaces, underwater wavy effects displacementmaterial combines animate vertex effects with displacement maps and scrolling texture effects offers control over scrolling texture speed and vertex offset scale detailed terrain, flowing liquids fadematerial (advanced users only) gradually fades between primary and secondary diffuse maps from top to bottom both diffuse maps can apply scrolling texture effects and control speed the fade effect can change speed and shape by applying noise textures note consider using simpler approaches for basic fading effects complex game effects causticmaterial creates animated caustic light effects on geometry with procedural voronoi textures offers control over caustic color and scale realistic underwater effects, artistic lighting distortions lavamaterial creates a visually realistic lava effect with glowing embers, procedural diffuse color, and animated heat distortion lava simulations holographicmaterial generates a holographic scan line effect allows animation of scan line density and color sci fi aesthetics, holographic displays basicstylizematerial offers cel shaded effects with control over color variation density, enabling creation of more detailed stylized scenes stylized rendering waterstylizematerial simulates stylized water with custom shaders using wave patterns properties include foam, water tint, and rim color stylized water effects linesmaterial creates animated line effects on mesh surfaces offers control over color, density, and can be used for artistic design purposes artistic line rendering, glowing outlines godraymaterial simulates mesh based god rays, streaks of light penetrating through smoke, dust, or fog volumetric lighting effects, atmospheric rendering flowmaterial creates flowing uv effects by applying flow maps and diffuse maps, which are ideal for liquid surfaces liquid simulations, flowing materials watersimplematerial simulates a physically based ocean by applying an additional normal map offers control over wave speed realistic ocean rendering vertexcolorlerpmaterial renders geometry with vertex colors, allowing for smooth color interpolation between vertices custom vertex coloring effects choose the right material select the material based on your desired visual style, performance needs, and object complexity experiment with different materials and explore their properties to achieve the desired aesthetic for your project