
上QQ阅读APP看书,第一时间看更新
1.2 材质对环境的影响
材质对环境的影响与上一节正好截然相反,大面积的纯色墙体,溢色效果会越强烈,反之会怎么样呢?下面继续通过上一节的场景进行讲解,如图1-6所示。

图1-6
茶壶作为物体,墙体作为环境,那么,这个环境很大,物体很小,它们之间会产生什么影响呢?
在上一节中,大面积的环境对小物体影响很大,那么小物体,对大环境又有什么影响呢?下面来进行测试。
Step 01 把茶壶设置成黄色的材质,如图1-7所示。

图1-7
Step 02 进行渲染,观察效果,如图1-8所示。

图1-8
Step 03 放大查看,在茶壶底部的阴影处,有非常微弱的黄色,在左侧的光照部分可以很明显地看到黄色的影响,如图1-9所示。

图1-9
Step 04 再看红色的墙体,并没有受到黄色茶壶的影响,如图1-10所示。也就是说,溢色也是有衰减的,越大面积的纯色,对其他物体的影响也就越大,影响的范围也就越大;面积越小的物体,影响范围越小,溢色的效果越不强烈。

图1-10
Step 05 下面把这两个物体的大小调换试一下,如图1-11所示。

图1-11
Step 06 再次渲染,观察它们之间的影响,如图1-12所示。

图1-12
Step 07 可以看到,通过物体大小的转变,此时,黄色的茶壶受红色墙体的影响非常小,如图1-13所示。只在茶壶的阴影处有微弱的溢色效果,如图1-14所示。

图1-13

图1-14
Step 08 在茶嘴与茶壶的交界处,也受到红色墙体的溢色影响,如图1-15所示。

图1-15
在茶壶的壶身并没有受到溢色的影响,这也就验证了前面的观点“溢色是有衰减的,物体越大,影响的范围越大,物体越小,影响的范围越小”。