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