mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-25 01:01:15 +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 ---------------
|
// ------------ 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user