added Normal.glsl BlinnPhongPureColor.mtl
This commit is contained in:
32
ShaderLibrary/Std3D/BlinnPhongPureColor.mtl
Normal file
32
ShaderLibrary/Std3D/BlinnPhongPureColor.mtl
Normal file
@@ -0,0 +1,32 @@
|
||||
#Material
|
||||
Name Blinn-phong shading model only color
|
||||
Base Std3D
|
||||
|
||||
Require LocalToWorld,Camera,Sun
|
||||
|
||||
#MaterialInstance
|
||||
|
||||
Code
|
||||
{
|
||||
float Diffuse;
|
||||
float Intensity;
|
||||
}
|
||||
|
||||
#VertexInput
|
||||
vec3 Normal
|
||||
|
||||
#Vertex
|
||||
Output
|
||||
{
|
||||
vec3 Normal;
|
||||
}
|
||||
|
||||
Code
|
||||
{
|
||||
|
||||
|
||||
gl_Position=GetPosition3D();
|
||||
}
|
||||
|
||||
#Fragment
|
||||
|
Reference in New Issue
Block a user