playcanvas / playcanvas/editor

Implement rendering to texture support into Editor

Open
#18 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: viewport enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
215
Avg merge
1d 29m
Merged PRs (30d)
30

Description

Rendering to texture can be set up using scripts easily, but it would be good to improve workflow of setting this up in Editor. Possible implementation:

  1. Create asset type "RenderTarget", which would let user set up rendering target and it's properties: resolution, format, depth format, texture filtering and similar
  2. Allow this to be assigned to materials as a texture (internally a texture is created for rendering to)
  3. Allow this to be assigned to a Camera so that the camera renders to it instead of the main framebuffer.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by examining the Editor workflows for assets, materials, and Cameras described in the issue. Define how a RenderTarget asset exposes resolution, format, depth format, and filtering, then verify assignment to materials and Cameras and rendering away from the main framebuffer.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.