From 3df9e1e1b567062954228d00e40f3bb994568e67 Mon Sep 17 00:00:00 2001 From: lawnjelly Date: Wed, 18 Sep 2019 13:28:31 +0100 Subject: [PATCH] Update TUTORIAL.md --- TUTORIAL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TUTORIAL.md b/TUTORIAL.md index be32a65..2fbac6a 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -50,6 +50,8 @@ func _ready(): func _process(delta): $Camera.rotate_y(delta) ``` +This script tells LPortal to convert and prepare the rooms for rendering, and sets the camera LPortal will use. You also need to register the camera as a DOB (dynamic object) with LPortal, because it may move around between rooms. + 15) Now run the project. If all goes well you should now see the camera rotating from above, and different parts of the rooms get hidden and shown as they come into and out of view. ![culling](images/culling.png)