Skip to content

feat: Rebuild the render to texture example in the area lights room - #9900

Merged
mvaligursky merged 1 commit into
mainfrom
mv-render-to-texture-example
Nov 1, 2026
Merged

mvaligursky merged 1 commit into
mainfrom
mv-render-to-texture-example

Conversation

@mvaligursky

Copy link
Copy Markdown
Contributor

Rebuilds the render to texture example in the area lights room, with a drone filming a statue.

Changes:

  • A drone circles the statue, its camera rendering into a texture shown on a four-sided screen hanging above the statue, and in the corner of the view
  • The drone and the screen are on a layer the drone camera does not render, so they stay out of its picture
  • Controls for the projection of the drone camera (alternating, perspective or orthographic), the speed, and the picture in the corner
  • The room, the statue, the spheres and the drone reflect a baked cubemap of the room, box projected onto its walls
  • The scene is our own models, so the example needs no credits

Examples:

  • render-targets/render-to-texture: rebuilt, with new thumbnails
  • New assets: examples/assets/models/drone.glb (modelled in Blender) and examples/assets/cubemaps/area-lights-room-env-atlas.png (the baked reflection of the room)

A drone circles a statue, its camera rendering into a texture shown on a hanging screen and in the corner of the view. The room reflects a baked, box projected cubemap of itself. Adds the drone model and the baked environment atlas of the room.
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Build size report

This PR does not change the size of the minified bundles.

Bundle Minified Gzip Brotli
playcanvas.min.js 2790.0 KB — 723.6 KB — 561.1 KB —
playcanvas.min.mjs 2786.6 KB — 722.9 KB — 560.9 KB —

@mvaligursky
mvaligursky merged commit b2a7693 into main Nov 1, 2026
11 checks passed
@mvaligursky
mvaligursky deleted the mv-render-to-texture-example branch November 1, 2026 21:04

This branch was successfully deployed

2 active deployments
Preview – engine — 74d30a8c Deployed Nov 1, 2026 by vercel[bot]
Preview – engine-api-docs — 74d30a8c Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant