Fix incorrect capitalization in GL ptexViewer shader.glsl: it's PtexMip*m*apLookup

fixes #242
This commit is contained in:
manuelk 2013-11-20 18:36:29 -08:00
parent d881ea6046
commit 25f6565238

View File

@ -562,7 +562,7 @@ main()
// ------------ occlusion ---------------
#ifdef USE_PTEX_OCCLUSION
float occ = PtexMipMapLookup(inpt.v.patchCoord,
float occ = PtexMipmapLookup(inpt.v.patchCoord,
mipmapBias,
textureOcclusion_Data,
textureOcclusion_Packing).x;
@ -573,7 +573,7 @@ main()
// ------------ specular ---------------
#ifdef USE_PTEX_SPECULAR
float specular = PtexMipMapLookup(inpt.v.patchCoord,
float specular = PtexMipmapLookup(inpt.v.patchCoord,
mipmapBias,
textureSpecular_Data,
textureSpecular_Packing).x;