parent
77049c5bed
commit
0cc5a3d320
@ -0,0 +1,9 @@ |
||||
Material My Material : Common/MatDefs/Light/Lighting.j3md { |
||||
MaterialParameters { |
||||
Ambient : 1.0 1.0 1.0 1.0 |
||||
Diffuse : 0.6 0.0 0.6 1.0 |
||||
VertexLighting : false |
||||
} |
||||
AdditionalRenderState { |
||||
} |
||||
} |
@ -0,0 +1,34 @@ |
||||
MaterialDef Simple { |
||||
MaterialParameters { |
||||
Color Color |
||||
} |
||||
Technique { |
||||
WorldParameters { |
||||
WorldViewProjectionMatrix |
||||
} |
||||
VertexShaderNodes { |
||||
ShaderNode CommonVert { |
||||
Definition : CommonVert : Common/MatDefs/ShaderNodes/Common/CommonVert.j3sn |
||||
InputMappings { |
||||
worldViewProjectionMatrix = WorldParam.WorldViewProjectionMatrix |
||||
modelPosition = Global.position.xyz |
||||
} |
||||
OutputMappings { |
||||
Global.position = projPosition |
||||
} |
||||
} |
||||
} |
||||
FragmentShaderNodes { |
||||
ShaderNode ColorMult { |
||||
Definition : ColorMult : Common/MatDefs/ShaderNodes/Basic/ColorMult.j3sn |
||||
InputMappings { |
||||
color1 = MatParam.Color |
||||
color2 = Global.color |
||||
} |
||||
OutputMappings { |
||||
Global.color = outColor |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue