openframeworks / openframeworks/openFrameworks

materialPBRAdvanced gets "WebGL Context lost" on mobile

Open
#7,324 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Opening this on mobile: https://nickhardeman.com/temp/OFExamples/MaterialPBRAdvanced/materialPBRAdvanced.html

Give: "WebGL Context lost"

IMG_016516BEA98B-1

Given the Shadows examples works on mobile - would be awesome to get this one working too.
I am guessing it might be something to do with the cubemap or maybe a texture size limit?

cc @NickHardeman

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

Open the linked MaterialPBRAdvanced example on a mobile device and compare its behavior with the Shadows examples, which reportedly work there. Investigate the reported WebGL context loss, including the cubemap or texture-size possibilities mentioned in the issue; done means the example works on mobile without losing its context.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.