MaterialShaderTexture()

Syntax

MaterialShaderTexture(#Material, TextureID1, TextureID2, TextureID3, TextureID4)
Description
Sets the textures to use for the shader based material previous created with CreateShaderMaterial().

Parameters

#Material The shader material to use.
TextureID1 The first texture to use. Use TextureID() to get a valid TextureID, or #Null if not needed.
TextureID2 The second texture to use. Use TextureID() to get a valid TextureID, or #Null if not needed.
TextureID3 The third texture to use. Use TextureID() to get a valid TextureID, or #Null if not needed.
TextureID4 The fourth texture to use. Use TextureID() to get a valid TextureID, or #Null if not needed.

Return value

None.

Supported OS

All

<- MaterialShaderParameter() - Material Index - MaterialShadingMode() ->