Different Shader Types

The default shader type when you load an asset looks to be a flat shader. How do you change between different shader modes, and what modes are available?

The shader is selected by each material. Each Geometry is assigned a material, and each material specifies a shader. By default, geom items should be assigned the ‘StandardSurfaceShader’ which supports PBR lighting, normal mapping, and is the fully featured shader.

You might see what looks like ‘Flat’ shading if your geometries are missing normals. The normals are what control the lighting in most renderers. We are looking at calculating facenormals in the GPU if vertex normals are not provided, to give a basic shading on goemetries without vertex normals.