mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-24 00:40:33 +00:00
Fix incorrect capitalization in GL ptexViewer shader.glsl: it's PtexMip*m*apLookup
fixes #242
This commit is contained in:
parent
d881ea6046
commit
25f6565238
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user