Skip to content

Conversation

@ChristopherBiscardi
Copy link
Contributor

As per the other changes in #13489 view.inverse_clip_from_world should be world_from_clip.

Objective

fixes #13749

Solution

Modified lines.wgsl to use the right name as the current name does not exist.

Testing

I ran the 3d_gizmos example and pressed "p".

screenshot-2024-06-08-at-13 21 22@2x

screenshot-2024-06-08-at-13 21 26@2x

@mockersf mockersf added this to the 0.14 milestone Jun 8, 2024
@mockersf mockersf added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen A-Gizmos Visual editor and debug gizmos labels Jun 8, 2024
@NthTensor NthTensor added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jun 9, 2024
@mockersf mockersf added this pull request to the merge queue Jun 9, 2024
Merged via the queue into bevyengine:main with commit b9e67bc Jun 9, 2024
mockersf pushed a commit that referenced this pull request Jun 9, 2024
As per the other changes in
#13489
`view.inverse_clip_from_world` should be `world_from_clip`.



# Objective

fixes #13749

## Solution

Modified lines.wgsl to use the right name as the current name does not
exist.

## Testing

I ran the 3d_gizmos example and pressed "p".

![screenshot-2024-06-08-at-13 21
22@2x](https://github.com/bevyengine/bevy/assets/551247/b8bfd3db-8273-4606-9dae-040764339883)

![screenshot-2024-06-08-at-13 21
26@2x](https://github.com/bevyengine/bevy/assets/551247/2619f1ae-ce83-44d7-a9fc-07e686950887)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Gizmos Visual editor and debug gizmos A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3d_gizmos example perspective change shader breaks

3 participants