Skip to content

Commit

Permalink
Reflector doc for editor
Browse files Browse the repository at this point in the history
  • Loading branch information
feiy committed Jul 13, 2023
1 parent 65a9c5f commit 1c2ae2e
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 0 deletions.
Binary file added QBin/help/reflector.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions QBin/help/scene_editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,7 @@
<li><a href="#planeboxsphere-items">Plane/Box/Sphere Items</a></li>
<li><a href="#model-item">Model Item</a></li>
<li><a href="#directional-light-item">Directional Light Item</a></li>
<li><a href="#reflector-item">Reflector Item</a></li>
<li><a href="#scene-item">Scene Item</a></li>
</ul>
</li>
Expand Down Expand Up @@ -1368,6 +1369,10 @@ <h2 class="atx" id="directional-light-item">Directional Light Item</h2>
<p>Clicking "Auto Detect" will set a shadowed area that covers the whole scene.</p>
<p>The "Radius" option is for soft-shadowing. </p>
<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>
<h2 class="atx" id="reflector-item">Reflector Item</h2>
<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>
<p><img alt="" src="reflector.jpg"></p>
<p>The "size" option defines the size of the reflector plane. Only the reflection within the reflector plane will be captured.</p>
<h2 class="atx" id="scene-item">Scene Item</h2>
<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>
<p><img alt="" src="scene.jpg"></p>
Expand Down
Binary file modified QBin/help/scene_editor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified QBin/help/tools.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added QGameDev/docs/reflector.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified QGameDev/docs/scene_editor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions QGameDev/docs/scene_editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [Plane/Box/Sphere Items](#planeboxsphere-items)
- [Model Item](#model-item)
- [Directional Light Item](#directional-light-item)
- [Reflector Item](#reflector-item)
- [Scene Item](#scene-item)

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

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.

## Reflector Item

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.

![](reflector.jpg)

The "size" option defines the size of the reflector plane. Only the reflection within the reflector plane will be captured.

## Scene Item

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.
Expand Down
Binary file modified QGameDev/docs/tools.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1c2ae2e

Please sign in to comment.