Giter VIP home page Giter VIP logo

Comments (6)

SaschaWillems avatar SaschaWillems commented on May 30, 2024

For 1:

  • inWorldPos = World Position of the vertex
  • inNormal = Local normal of the vertex
  • inUV0 = First set of texture coordinates
  • inUV1 = Second set of texture coordinates (gltf supports two different texture coordinate sets)

For 2:
Please elaborate. What do you want to achieve? Do you want to read the id's of the scene's triangle from the fragment shader? If so you'd need to render them out to e.g. an additional attachment.

For 3:
Afaik that's an gltf extension and is currently not implemented.

For 4:
Those attributes are used for vertex skinning. If you need additional information, please look up vertex skinning/joints/weights in the glTF 2.0 spec.

from vulkan-gltf-pbr.

tigrazone avatar tigrazone commented on May 30, 2024

4 what you mean about "skinning"? And joints and weights? For what you use it?

from vulkan-gltf-pbr.

tigrazone avatar tigrazone commented on May 30, 2024

2 is gbuffer - triangle id

from vulkan-gltf-pbr.

SaschaWillems avatar SaschaWillems commented on May 30, 2024

4 what you mean about "skinning"? And joints and weights? For what you use it?

Vertex skinning is a technique used to animate objects. It's a common graphics term,

from vulkan-gltf-pbr.

SaschaWillems avatar SaschaWillems commented on May 30, 2024

2 is gbuffer - triangle id

That's not implemented. You need to supply an additional attachment that you write triangle id's to in the g-buffer pass.

from vulkan-gltf-pbr.

tigrazone avatar tigrazone commented on May 30, 2024

Thank you. Your project and work on it are awesome!

from vulkan-gltf-pbr.

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.