add texture in BlinnPhongDirectionLight example.
This commit is contained in:
@@ -61,7 +61,7 @@ Code
|
||||
|
||||
#Fragment
|
||||
|
||||
sampler2DArray TextureColor
|
||||
sampler2DArray TextureBaseColor
|
||||
|
||||
Output
|
||||
{
|
||||
@@ -74,6 +74,6 @@ Code
|
||||
{
|
||||
MaterialInstance mi=GetMI();
|
||||
|
||||
FragColor=texture(TextureColor,vec3(Input.TexCoord,mi.id.x));
|
||||
FragColor=texture(TextureBaseColor,vec3(Input.TexCoord,mi.id.x));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user