mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-12 23:20:10 +00:00
Fixed varying interp for gregory triangle patches
The point indices used to interpolate varying data should be the points at the outer corners of the patch.
This commit is contained in:
parent
9487545ccd
commit
0545056271
@ -178,7 +178,7 @@ void main()
|
||||
outpt.v.tessCoord = UV;
|
||||
outpt.v.patchCoord = OsdInterpolatePatchCoordTriangle(UV, patchParam);
|
||||
|
||||
OSD_USER_VARYING_PER_EVAL_POINT_TRIANGLE(UV, 6, 7, 10);
|
||||
OSD_USER_VARYING_PER_EVAL_POINT_TRIANGLE(UV, 0, 5, 10);
|
||||
|
||||
OSD_DISPLACEMENT_CALLBACK;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user