mirror of
https://github.com/4sval/FModel.git
synced 2026-09-13 03:56:43 -05:00
fixed negative uv layer
This commit is contained in:
Submodule CUE4Parse updated: d9c3db3765...90a03d2a1d
@@ -74,7 +74,7 @@ out vec4 FragColor;
|
||||
|
||||
int LayerToIndex()
|
||||
{
|
||||
return min(int(fTexLayer), uNumTexCoords - 1);
|
||||
return clamp(int(fTexLayer), 0, uNumTexCoords - 1);
|
||||
}
|
||||
|
||||
vec4 SamplerToVector(sampler2D s)
|
||||
|
||||
Reference in New Issue
Block a user