Comments (6)
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.
4 what you mean about "skinning"? And joints and weights? For what you use it?
from vulkan-gltf-pbr.
2 is gbuffer - triangle id
from vulkan-gltf-pbr.
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.
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.
Thank you. Your project and work on it are awesome!
from vulkan-gltf-pbr.
Related Issues (20)
- When I create a offscreen Render pass to save the scene, the program always stucks. HOT 1
- Crash in Model::destroy, vkFreeMemory when unloading specific model HOT 1
- Invalid Joint Indices/Broken Animation HOT 3
- assigning signed value to unsigned int HOT 2
- why is the diffuseColor scaled by (vec3(1.0) - f0)? HOT 1
- Two-sided triangles or depth issue HOT 5
- How to make the backgrund sharp? HOT 1
- weird cone-shaped shading illusion HOT 2
- Materials PBR loading in VulkanglTFModel.cpp HOT 1
- [Question] Using this code as a guide to writing a glTF scene loader HOT 2
- android studio build error HOT 1
- Color_0 values not rendered HOT 4
- Forget to add reference& on the parentBvh in void Model::calculateBoundingBox(Node *node, Node *parent) ? HOT 1
- Effect of SRGBtoLinear HOT 2
- redundant call to generateCubemaps()
- Problem with animations HOT 4
- Compilation error on Linux HOT 2
- Please change MakeFIle rules to allow linux build in a windows machine too HOT 2
- source code formatter(e.g. .clang-format) available? HOT 4
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 vulkan-gltf-pbr.