playcanvas / playcanvas/engine

CubeMap example stops rendering in webgl after a refresh

Open
#7,896 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

Hi Team,

I've got an issue related to lights not appearing in the cubemap renderer only in webgl (and lights which are distabled seemlingly rendering) (webgpu works fine). However, in trying to get a repo test case in the examples app, webgl stops updating the cubemap after a reload. Could be related? Either way I would like to get a repo for the original bug

go to https://playcanvas.vercel.app/#/graphics/reflection-cubemap
set webgl mode
press the reload button on the code editor
cubemap stops updating (works fine in webgpu)

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

Start at the reflection-cubemap example at https://playcanvas.vercel.app/#/graphics/reflection-cubemap. Select WebGL, press the code editor's reload button, and compare the cubemap update with WebGPU. Determine whether this reproduces the reported lighting problem and produce a repository test case for the original bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.