Skip to content

Improve Texture*RD, RenderData and LightmapperRD class documentation #107326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jun 9, 2025

  • Link to compute texture demo in Texture*RD class documentation.
  • Link to related classes in RenderData/RenderSceneData/RenderSceneBuffers.
  • Clarify requirements for baking lightmaps in LightmapperRD.

@Calinou Calinou requested a review from a team as a code owner June 9, 2025 14:28
@Calinou Calinou added enhancement documentation cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Jun 9, 2025
@Calinou Calinou added this to the 4.5 milestone Jun 9, 2025
@akien-mga akien-mga requested a review from BastiaanOlij June 9, 2025 15:01
- Link to compute texture demo in Texture*RD class documentation.
- Link to related classes in RenderData/RenderSceneData/RenderSceneBuffers.
- Clarify requirements for baking lightmaps in LightmapperRD.
@@ -5,7 +5,7 @@
</brief_description>
<description>
LightmapperRD ("RD" stands for [RenderingDevice]) is the built-in GPU-based lightmapper for use with [LightmapGI]. On most dedicated GPUs, it can bake lightmaps much faster than most CPU-based lightmappers. LightmapperRD uses compute shaders to bake lightmaps, so it does not require CUDA or OpenCL libraries to be installed to be usable.
[b]Note:[/b] Only usable when using the RenderingDevice backend (Forward+ or Mobile renderers), not Compatibility.
[b]Note:[/b] This lightmapper requires the GPU to support the [RenderingDevice] backend (Forward+ or Mobile renderers). When using the Compatibility renderer, baking will use a temporary [RenderingDevice]. [i]Rendering[/i] lightmaps that were already baked beforehand does not require support for RenderingDevice.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One was changed to a link but the other wasn't. Also, maybe the following flows better?

Suggested change
[b]Note:[/b] This lightmapper requires the GPU to support the [RenderingDevice] backend (Forward+ or Mobile renderers). When using the Compatibility renderer, baking will use a temporary [RenderingDevice]. [i]Rendering[/i] lightmaps that were already baked beforehand does not require support for RenderingDevice.
[b]Note:[/b] This lightmapper requires the GPU to support the [RenderingDevice] backend (Forward+ or Mobile renderers). When using the Compatibility renderer, baking will use a temporary [RenderingDevice]. Support for [RenderingDevice] is not required to [i]render[/i] lightmaps that were already baked beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release documentation enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants