Giter Site home page Giter Site logo

struffel / pbr.one Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 3.0 242.35 MB

Interactive preview for PBR materials and HDRI environments in the browser. Originally built for ambientCG.com, now open source.

Home Page: https://pbr.one

License: MIT License

JavaScript 97.33% HTML 2.35% CSS 0.32%
iframe-embeds pbr-shading threejs

pbr.one's People

Contributors

struffel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pbr.one's Issues

Fullscreen mode

All previews would profit from having a fullscreen mode.
This could be implemented as a button that appears in the corner if the element is in an iframe (if it is possible to detect that, otherwise as a toggleable setting).

Clipping distance on PBR material preview.

The material preview currently has a very high default clipping distance which can make it difficult to get close to the surface - something that people might want to do when previewing a material.
image

Loading indicator

When loading large image files there should be some kind of indicator.
At the moment the files are just loaded in the background without any kind of feedback.

Combining Materials with and without opacity map does not work

Combining materials with and without an opacity map causes the material without opacity map to become fully transparent.
Demo link:
https://cdn.pbr.one/0.3.0/pbr-material.html#material_name=Bricks;Metal-Walkway,color_url=https://pbr.one/media/bricks_col.jpg;https://pbr.one/media/walkway_col.jpg,normal_url=https://pbr.one/media/bricks_nrm.jpg;https://pbr.one/media/walkway_nrm.jpg,roughness_url=https://pbr.one/media/bricks_rgh.jpg;https://pbr.one/media/walkway_rgh.jpg,displacement_url=https://pbr.one/media/bricks_dsp.jpg;https://pbr.one/media/walkway_dsp.jpg,metalness_url=;https://pbr.one/media/walkway_met.jpg,opacity_url=;https://pbr.one/media/walkway_opa.jpg,displacement_scale=0.01,tiling_scale=2,geometry_type=plane,clayrender_enable=0,geometry_subdivisions=400

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.