Git Product home page Git Product logo

Comments (5)

pixelflinger avatar pixelflinger commented on May 7, 2024 2

Fixed in #317

from filament.

romainguy avatar romainguy commented on May 7, 2024 1

That's a good idea. It wouldn't be difficult to add such support I believe.

from filament.

TimvanScherpenzeel avatar TimvanScherpenzeel commented on May 7, 2024 1

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.

romainguy avatar romainguy commented on May 7, 2024 1

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.

syoyo avatar syoyo commented on May 7, 2024

Thank you!

from filament.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.