Added skeletal animations and other fixes
This commit is contained in:
@@ -17,8 +17,9 @@ layout (location = 0) out vec4 outFragColor;
|
||||
void main()
|
||||
{
|
||||
MaterialData material = pcs.sceneData.materials.data[pcs.materialID];
|
||||
uint samplerID = pcs.sceneData.materials.data[pcs.materialID].textureFilteringMode;
|
||||
|
||||
vec4 diffuse = sampleTexture2DLinear(material.diffuseTex, inUV) * material.baseColor;
|
||||
vec4 diffuse = sampleTexture2D(material.diffuseTex, samplerID, inUV) * material.baseColor;
|
||||
outFragColor = diffuse;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user