Method | Description | |
---|---|---|
CreateAsMaterial ( int lightmapNumber ) : |
Creates this shader as an OGRE material. Creates a new material based on this shaders settings and registers it with the SceneManager passed in. Material name is in the format of: shader#lightmap. |
|
Quake3Shader ( |
Default constructor - used by Quake3ShaderManager (do not call directly)
|
Method | Description | |
---|---|---|
GetAlternateName ( string textureName ) : string | ||
load ( ) : void | ||
unload ( ) : void |
public CreateAsMaterial ( int lightmapNumber ) : |
||
lightmapNumber | int | Lightmap number |
return |
protected GetAlternateName ( string textureName ) : string | ||
textureName | string | |
return | string |
public Quake3Shader ( |
||
parent | ||
name | string | Shader name. |
handle | System.UInt64 | |
group | string | |
return | System |