Comments (5)
Fixed in #317
from filament.
That's a good idea. It wouldn't be difficult to add such support I believe.
from filament.
Another very useful format are octahedral maps as discussed in chapter 16 of WebGL Insights. The main advantage of octahedral maps is the lack of seams and distortion.
By using this technique we can work around the following WebGL issues as mentioned in this ticket that still stand as of today in my experience:
- textureCubeLod is still not supported in Firefox on OSX
- seamless cubemap filtering is not available in WebGL 1
- most importantly we can't render to HDR CubeMap mipmap levels > 0 on iOS
One implementation is mentioned in this thread.
The excellent paper that is referenced in the thread is the following (the link in the thread is dead):
https://pdfs.semanticscholar.org/fcb9/a6dbdf7b4c31f94e481cf101c83b73ea6410.pdf
A tooling implementation of octahedral maps can be found in CMFT.
I understand that WebGL is not a supported target of Filament but having it as an option would be very beneficial.
from filament.
WebGL is a target now but WebGL 2 which follows OpenGLES 3.0 which means it provides seamless cubemap sampling. We are not planning on supporting WebGL 1 at this point. Note however that cmgen
contains code to generate cubemaps with seam fixups built-in. It's not as good as octahedral maps but it helps. That said I'd be more than happy to accept contributions to support octahedral maps. We just can't really justify doing it ourselves at this time :/
from filament.
Thank you!
from filament.
Related Issues (20)
- Material with BlendingMode::FADE is always influenced by the camera's depth of field effects. HOT 3
- How can the gl_position be modified HOT 3
- crash on iOS with destroy _resourceLoader
- Some GLTF files do not render on Vulkan HOT 6
- Get parameter value of material from gltfio HOT 5
- `TransparencyMode::TWO_PASSES_ONE_SIDE` showing back face for certain asset HOT 10
- How does the ModelViewer rotate 90 degrees HOT 1
- WebGL in v1.51.0 is broken
- Are there any plans to support gltf extensions in 3dtiles 2.0? HOT 1
- How can I pass a java HardwareBuffer to Texture on android platform?
- core dumped gltf_viewer HOT 5
- VulkanDriver always reports FEATURE_LEVEL_1 HOT 2
- crash on ios with _resourceLoader->loadResources(_asset);
- No point or spot light shadows on the first rendered frame HOT 5
- Rendering exceptions with GLB file HOT 4
- Detect clicked node of GLTF model HOT 1
- To get assets transform matrix to set new transform for rotations
- Filament rendering is inconsistent with OpenGL HOT 1
- When I create more than 1000 Entities the frame latency increases, but the CPU/GPU are not fully loaded HOT 5
- How to implement ModelViewer Scene click listener to get clicked Entity? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filament.