Skip to content

Commit 1c2ae2e

Browse files
author
feiy
committed
Reflector doc for editor
1 parent 65a9c5f commit 1c2ae2e

File tree

8 files changed

+14
-0
lines changed

8 files changed

+14
-0
lines changed

QBin/help/reflector.jpg

27 KB
Loading

QBin/help/scene_editor.html

+5
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@
12651265
<li><a href="#planeboxsphere-items">Plane/Box/Sphere Items</a></li>
12661266
<li><a href="#model-item">Model Item</a></li>
12671267
<li><a href="#directional-light-item">Directional Light Item</a></li>
1268+
<li><a href="#reflector-item">Reflector Item</a></li>
12681269
<li><a href="#scene-item">Scene Item</a></li>
12691270
</ul>
12701271
</li>
@@ -1368,6 +1369,10 @@ <h2 class="atx" id="directional-light-item">Directional Light Item</h2>
13681369
<p>Clicking "Auto Detect" will set a shadowed area that covers the whole scene.</p>
13691370
<p>The "Radius" option is for soft-shadowing. </p>
13701371
<p>The "Bias" option offsets the shadow-map value a little to reduce artifacts at double-sided faces. When the "Force Cull" option is checked, all surfaces are treated as single sided when casting shadow.</p>
1372+
<h2 class="atx" id="reflector-item">Reflector Item</h2>
1373+
<p>A reflector captures a reflection image by rendering from a virtual camera located at the other side of the reflector plane. The refelection image is then used by the children of the reflector for image based specular.</p>
1374+
<p><img alt="" src="reflector.jpg"></p>
1375+
<p>The "size" option defines the size of the reflector plane. Only the reflection within the reflector plane will be captured.</p>
13711376
<h2 class="atx" id="scene-item">Scene Item</h2>
13721377
<p>The root item of the scene. When it is selected, options and operations that applies to the whole scene will be shown. Currently, it is only used for lightmap baking, which involves the lightmap attached to all models within the scene.</p>
13731378
<p><img alt="" src="scene.jpg"></p>

QBin/help/scene_editor.jpg

-53.2 KB
Loading

QBin/help/tools.jpg

1.63 KB
Loading

QGameDev/docs/reflector.jpg

27 KB
Loading

QGameDev/docs/scene_editor.jpg

-53.2 KB
Loading

QGameDev/docs/scene_editor.md

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- [Plane/Box/Sphere Items](#planeboxsphere-items)
1818
- [Model Item](#model-item)
1919
- [Directional Light Item](#directional-light-item)
20+
- [Reflector Item](#reflector-item)
2021
- [Scene Item](#scene-item)
2122

2223
![](scene_editor.jpg)
@@ -205,6 +206,14 @@ The "Radius" option is for soft-shadowing.
205206

206207
The "Bias" option offsets the shadow-map value a little to reduce artifacts at double-sided faces. When the "Force Cull" option is checked, all surfaces are treated as single sided when casting shadow.
207208

209+
## Reflector Item
210+
211+
A reflector captures a reflection image by rendering from a virtual camera located at the other side of the reflector plane. The refelection image is then used by the children of the reflector for image based specular.
212+
213+
![](reflector.jpg)
214+
215+
The "size" option defines the size of the reflector plane. Only the reflection within the reflector plane will be captured.
216+
208217
## Scene Item
209218

210219
The root item of the scene. When it is selected, options and operations that applies to the whole scene will be shown. Currently, it is only used for lightmap baking, which involves the lightmap attached to all models within the scene.

QGameDev/docs/tools.jpg

1.63 KB
Loading

0 commit comments

Comments
 (0)