是否有可能以某种方式定义完全忽略当前光照的材质或画笔?
我有一个在照明下看起来不错的模型,但在该模型中我想添加一个 3D 表面图,如果我关闭照明,它看起来效果最好。有谁知道是否可以使光线仅影响场景中的选定对象?
到目前为止,我想到的最好的方法是将漫反射材质和发光材质组合成相同的颜色,但这会导致一些奇怪的视觉效果,因此它远非完美。
I have a model that looks good with lighting, but in that model I want to add a 3D-surface-graph that looks best if I turn lighting off. Does anyone know if it is possible to make the light affect only a selection of objects in my scene?
The best I have come up with so far is to combine a DiffuseMaterial and an EmissiveMaterial with the same color, but that results in some strange visual effects so it’s far from perfect.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果没有灯光,您将看不到该物体。
如果您想为特定对象使用一组不同的灯光,只需将该对象放入具有其自己的灯光的单独 Model3DGroup 中即可。
If there are no lights you will not see the object.
If you want to have a different set of lights for a specific object just put the object in a separate Model3DGroup with its own lights.