Better texture for demonstrating mip maps

This commit is contained in:
saschawillems 2016-09-03 22:31:12 +02:00
parent ba4ac1d83e
commit 7ace541544
6 changed files with 12 additions and 115 deletions

View file

@ -27,8 +27,7 @@ out gl_PerVertex
void main()
{
outUV = inUV;
outUV.s *= 10.0;
outUV = inUV * vec2(50.0, 2.0);
outLodBias = ubo.lodBias;
outSamplerIndex = ubo.samplerIndex;
gl_Position = ubo.projection * ubo.view * ubo.model * vec4(inPos, 1.0);