Skip to content

Commit

Permalink
updated tests and migration
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Lorente <[email protected]>
  • Loading branch information
Lobotuerk committed Aug 2, 2021
1 parent b68668f commit 34267e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ release will remove the deprecated code.
`Node::UserData` now returns no data for keys that don't exist (prior to Rendering 6.x, if
`Visual::UserData` was called with a key that doesn't exist, an `int` was returned by default).
1. **depth_camera_fs.glsl** and **depth_camera_final_fs.glsl**
+ `Far clipping` changed from using just depth to clip to using length
to focal point to clip.
## Ignition Rendering 4.0 to 4.1
## ABI break
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void main()
// to be outside of min/max range

// clamp xyz
if (point.x > far - tolerance)
if (!isinf(point.x) && length(point) > far - tolerance)
{
if (isinf(max))
{
Expand Down

0 comments on commit 34267e4

Please sign in to comment.