|
|
|
|
|
|
ADD_IDX(_UVDetailsMappingMask).y * texCoord1 + |
|
|
|
ADD_IDX(_UVDetailsMappingMask).z * texCoord2 + |
|
|
|
ADD_IDX(_UVDetailsMappingMask).w * texCoord3; |
|
|
|
|
|
|
|
uvDetails *= additionalTiling.xx; |
|
|
|
|
|
|
|
// If base is planar/triplanar then detail map is forced to be planar/triplanar |
|
|
|
ADD_IDX(layerTexCoord.details).mappingType = ADD_IDX(layerTexCoord.base).mappingType = mappingType; |
|
|
|