microsoft / RoomAliveToolkit

Other
714 stars 191 forks source link

How to make a RoomScene not a black background? #60

Closed HealerSu closed 7 years ago

HealerSu commented 7 years ago

Hello,everyone,I have run the one projector and one kinect scene successfully,and i can see the virtual3Dmodels move and the virtualTexutures in the Game Window but with a black background,how can i make a meanful background to replace the black background?Hope someone can tell me ,keep waitting for the anwser,thank u very much! image

hbenko commented 7 years ago

If you simply want to change the color of the background, look into RATUserView script... there are two color pickers in the Inspector for exactly those purposes.

If you want to render the static background with a different texture, then look into the RATProjectionPass for your User (for Static Surfaces). You will have to use/write a different shader for your User View Shader and link it appropriately there.

HealerSu commented 7 years ago

@hbenko Thank u for the answer,i changed the user view shader to "Standard" and now i can see the virtual wall in the GameWindow.