removed Std3D/VertexLum2D.mtl
This commit is contained in:
parent
cd01c45980
commit
8f9ccc3aa1
@ -1,47 +0,0 @@
|
|||||||
#Material
|
|
||||||
Name VertexLum2D
|
|
||||||
Base Std3D
|
|
||||||
|
|
||||||
#MaterialInstance
|
|
||||||
Length 16
|
|
||||||
Stage Vertex
|
|
||||||
Code
|
|
||||||
{
|
|
||||||
vec4 Color;
|
|
||||||
}
|
|
||||||
|
|
||||||
#VertexInput
|
|
||||||
float Luminance
|
|
||||||
|
|
||||||
#Vertex
|
|
||||||
Output
|
|
||||||
{
|
|
||||||
vec4 Color
|
|
||||||
}
|
|
||||||
|
|
||||||
Code
|
|
||||||
{
|
|
||||||
void main()
|
|
||||||
{
|
|
||||||
MaterialInstance mi=GetMI();
|
|
||||||
|
|
||||||
Output.Color=Luminance*mi.Color;
|
|
||||||
|
|
||||||
gl_Position=GetPosition3D();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#Fragment
|
|
||||||
|
|
||||||
Output
|
|
||||||
{
|
|
||||||
vec4 FragColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
Code
|
|
||||||
{
|
|
||||||
void main()
|
|
||||||
{
|
|
||||||
FragColor=Input.Color;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user