I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "Legacy:HardwareShader"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
 
m (fixed bad game link)
 
Line 1: Line 1:
{{classbox| [[Legacy:... ENGINE ...|... ENGINE ...]] :: [[Legacy:Object|Object]] >> [[Legacy:Material|Material]] >> [[Legacy:RenderedMaterial|RenderedMaterial]] >> [[Legacy:HardwareShader|HardwareShader]]}}
+
{{classbox| [[Legacy:Unreal 2|Unreal 2]] :: [[Legacy:Object|Object]] >> [[Legacy:Material|Material]] >> [[Legacy:RenderedMaterial|RenderedMaterial]] >> [[Legacy:HardwareShader|HardwareShader]]}}
  
 
==Properties==
 
==Properties==

Latest revision as of 03:16, 17 May 2008

Unreal 2 :: Object >> Material >> RenderedMaterial >> HardwareShader

Properties[edit]

int NumPasses 
int PixelShader[4] 
int VertexShader[4] 

HardwareShader[edit]

int AlphaBlending[4] 
byte AlphaRef[4] 
int AlphaTest[4] 
byte DestBlend[16] 
string PixelShaderText[4] 
SConstantsInfo PSConstants[32] 
byte SrcBlend[16] 
array<INT> StreamMapping 
* Indexed array of where the streams will show up
* if StreamMapping[0] == NORMAL then v0 will contain the vertex normal
Texture Textures[32] 
string VertexShaderText[4] 
SConstantsInfo VSConstants[200] 
int ZTest[4] 
int ZWrite[4] 

Enums[edit]

SConstant[edit]

EVC_Unused 
EVC_MaterialDefined 
EVC_ViewProjMatrix 
EVC_WorldViewProjMatrix 
EVC_WorldMatrix 
EVC_InvViewMatrix 
EVC_ViewMatrix 
EVC_InvWorldMatrix 
EVC_Time 
EVC_CosTime 
EVC_SinTime 
EVC_TanTime 
EVC_Eye 
EVC_XYCircle 
EVC_NearestLightPos1 
EVC_InvLightRadius1 
EVC_NearestLightPos2 
EVC_InvLightRadius2 
EVC_LightColor1 
EVC_LightColor2 
EVC_Max 

Structures[edit]

SConstantsInfo[edit]

  • Used to specify constants for a vertex shader.
SConstant Type 
Plane Value