The problem of ReflectionView

2 messages Options
Embed this post
Permalink
sjkgxf7191

The problem of ReflectionView

Reply Threaded More More options
Print post
Permalink
I want to show some objects' reflections and the other objects's reflections will not be seen.
How to achieve this effect with ReflectionView? Thanks.
Jeff Winder

Re: The problem of ReflectionView

Reply Threaded More More options
Print post
Permalink
To filter out an object from reflection, use the viewport.viewportObjectFilter:

viewportReflection.viewportObjectFilter = new ViewportObjectFilter(ViewportObjectFilterMode.EXCLUSIVE);
viewportReflection.viewportObjectFilter.addObject(objectWithoutReflection);

Jeff.

sjkgxf7191 wrote:
I want to show some objects' reflections and the other objects's reflections will not be seen.
How to achieve this effect with ReflectionView? Thanks.