跳转到内容

isuvrendering

上下文环境displace fog light shadow surface

int  isuvrendering()

当着色器在评估UV渲染(纹理展开)期间被调用时返回1,正常渲染时返回0。

此函数可用于在烘焙光照时以不同方式评估着色器。