Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhonnyg committed Dec 10, 2024
1 parent 370b021 commit 1efed20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/manuals/camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ msg.post("@render:", "use_camera_projection")

### Render script

Startinw with Defold 1.9.6, when using the default render script Defold will automatically set the last enabled camera that should be used for rendering. Before this change, a script somewhere in the project needed to explicitly send the `use_camera_projection` message to the renderer to notify it that the view and projection from camera components should be used. This is no longer necesessary, but it is still possible to do so for backwards compatability purposes.
Starting with Defold 1.9.6, when using the default render script Defold will automatically set the last enabled camera that should be used for rendering. Before this change, a script somewhere in the project needed to explicitly send the `use_camera_projection` message to the renderer to notify it that the view and projection from camera components should be used. This is no longer necesessary, but it is still possible to do so for backwards compatability purposes.

Alternatively, you can set a specific camera that should be used for rendering in a render script. This could be useful in cases where you need to control more specifically which camera should be used for rendering, for example in a multiplayer game.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/manuals/project-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ The texture profiles file to use for this project, `/builtins/graphics/default.t
Verify the return value after each graphics call and report any errors in the log.

#### OpenGL Version Hint
OpenGL context version hint. If a specific version is selected, this will used as the minimum version required (does not apply to OpenGL ES). Defaults to OpenGL 3.3.
OpenGL context version hint. If a specific version is selected, this will be used as the minimum version required (does not apply to OpenGL ES). Defaults to OpenGL 3.3.

#### OpenGL Core Profile Hint
Set the 'core' OpenGL profile hint when creating the context. The core profile removes all deprecated features from OpenGL, such as immediate mode rendering. Does not apply to OpenGL ES. `true` by default.
Expand Down
2 changes: 1 addition & 1 deletion docs/en/manuals/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ msg.post("@render:", "use_fixed_projection", { near = -1, far = 1, zoom = 2 })

### Camera projection

When using the default render script and there are there are enabled [Camera components](/manuals/camera) in the project, they will take precedence over any other projections set in the render script. To read more about how to work with camera components in render scripts, please consult the [Camera documentation](/manuals/camera).
When using the default render script and there are enabled [Camera components](/manuals/camera) available in the project, they will take precedence over any other view / projections set in the render script. To read more about how to work with camera components in render scripts, please consult the [Camera documentation](/manuals/camera).

## Frustum culling

Expand Down

0 comments on commit 1efed20

Please sign in to comment.