Lighting.j3md: remove fixed function bindings
This commit is contained in:
parent
c0e85b3255
commit
d6a19c4c66
@ -7,7 +7,7 @@ MaterialDef Phong Lighting {
|
|||||||
Boolean VertexLighting
|
Boolean VertexLighting
|
||||||
|
|
||||||
// Alpha threshold for fragment discarding
|
// Alpha threshold for fragment discarding
|
||||||
Float AlphaDiscardThreshold (AlphaTestFallOff)
|
Float AlphaDiscardThreshold
|
||||||
|
|
||||||
// Use the provided ambient, diffuse, and specular colors
|
// Use the provided ambient, diffuse, and specular colors
|
||||||
Boolean UseMaterialColors
|
Boolean UseMaterialColors
|
||||||
@ -16,16 +16,16 @@ MaterialDef Phong Lighting {
|
|||||||
Boolean UseVertexColor
|
Boolean UseVertexColor
|
||||||
|
|
||||||
// Ambient color
|
// Ambient color
|
||||||
Color Ambient (MaterialAmbient)
|
Color Ambient
|
||||||
|
|
||||||
// Diffuse color
|
// Diffuse color
|
||||||
Color Diffuse (MaterialDiffuse)
|
Color Diffuse
|
||||||
|
|
||||||
// Specular color
|
// Specular color
|
||||||
Color Specular (MaterialSpecular)
|
Color Specular
|
||||||
|
|
||||||
// Specular power/shininess
|
// Specular power/shininess
|
||||||
Float Shininess (MaterialShininess) : 1
|
Float Shininess : 1
|
||||||
|
|
||||||
// Diffuse map
|
// Diffuse map
|
||||||
Texture2D DiffuseMap
|
Texture2D DiffuseMap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user