Table of Contents

Class ShadingModelShaderBuilder

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

Helper class to build the ShaderSource for the shading model of a IMaterialShadingModelFeature.

public class ShadingModelShaderBuilder
Inheritance
ShadingModelShaderBuilder

Properties

LightDependentExtraModels

Shaders that needs to be mixed on top of MaterialSurfaceLightingAndShading.

public List<ShaderClassSource> LightDependentExtraModels { get; }

Property Value

List<ShaderClassSource>

LightDependentSurface

public ShaderSource LightDependentSurface { get; set; }

Property Value

ShaderSource

ShaderSources

public List<ShaderSource> ShaderSources { get; }

Property Value

List<ShaderSource>