Skip to content

Material

Psycrow edited this page Jan 10, 2025 · 1 revision

Materials are used in SKN to configure the rendering of a mesh surface. Only one material can be assigned to a mesh. The properties are configured in the Material Properties menu.

6

Property In-game property Description
Effect In-game material shader
Alpha Value Overall transparency
Enable Alpha Blend Enable Alpha Blend for translucent textures
Diffuse (Texture) g_DiffuseTex Diffuse texture name
Emissive (Texture) g_EmissiveTex Emissive texture name
Mask (Texture) g_MaskTex Mask texture name
Material Diffuse g_MaterialDiffuse Diffuse color
Ambient Diffuse g_MaterialAmbient Ambient color
Emissive Power g_EmissivePower Emission power
Emissive Power Range g_EmissivePowerRange Emission range
Emissive Animation Speed g_EmissiveAniSpeed Emission animation speed

In the Extra panel you can add your own property used by the effect.

Clone this wiki locally