openframeworks / openframeworks/openFrameworks
materialPBRAdvanced gets "WebGL Context lost" on mobile
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"

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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