My program doesn't have bugs. It just develops random features.

Legacy:Shader

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 12:36, 14 March 2004 by Tarquin (Talk | contribs) (What does a shader do?)

Jump to: navigation, search
UT2003 :: Object >> Material >> RenderedMaterial >> Shader (Package: Engine)

What does a shader do?

Properties

Editable

Material Detail (editinlineuse
Material Diffuse (editinlineuse
The base texture.
Material Opacity (editinlineuse
Material SelfIllumination (editinlineuse
Material SelfIlluminationMask (editinlineuse
Material Specular (editinlineuse
Material SpecularityMask (editinlineuse
EOutputBlending OutputBlending 
float DetailScale 
bool ModulateSpecular2X 
bool PerformLightingOnSpecularPass 
bool TwoSided 
Whether the final output should be two-sided.
bool Wireframe 

Inherited from Material

Material FallbackMaterial 
The material to use instead if the Shader can't be rendered, e.g. because the materials used are too cpmplex.

Hidden

bool ModulateStaticLighting2X 

Enums

EOutputBlending

Are these similar to the ERenderStyle enum elements of the actor class? (STY_Normal, STY_Masked, STY_Translucent, etc.)

OB_Normal 
OB_Masked 
OB_Modulate 
OB_Translucent 
OB_Invisible 
OB_Brighten 
OB_Darken 

Methods

Inherited From Material

Reset ( ) 
Resets the materials used by this shader.
Trigger (Actor Other, Actor EventInstigator) 
Triggers the materials used by this shader.