Skip to content

Commit

Permalink
Merge pull request godotengine#99841 from Calinou/doc-basematerial3d-…
Browse files Browse the repository at this point in the history
…billboard-mode-remove-outdated-note

Remove outdated note about `BaseMaterial3D.billboard_mode` shadow issue
  • Loading branch information
akien-mga committed Nov 29, 2024
2 parents 1745fe1 + e499563 commit 31edb7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/classes/BaseMaterial3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
</member>
<member name="billboard_mode" type="int" setter="set_billboard_mode" getter="get_billboard_mode" enum="BaseMaterial3D.BillboardMode" default="0">
Controls how the object faces the camera. See [enum BillboardMode].
[b]Note:[/b] When billboarding is enabled and the material also casts shadows, billboards will face [b]the[/b] camera in the scene when rendering shadows. In scenes with multiple cameras, the intended shadow cannot be determined and this will result in undefined behavior. See [url=https://github.com/godotengine/godot/pull/72638]GitHub Pull Request #72638[/url] for details.
[b]Note:[/b] Billboard mode is not suitable for VR because the left-right vector of the camera is not horizontal when the screen is attached to your head instead of on the table. See [url=https://github.com/godotengine/godot/issues/41567]GitHub issue #41567[/url] for details.
</member>
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="BaseMaterial3D.BlendMode" default="0">
Expand Down

0 comments on commit 31edb7e

Please sign in to comment.