Skip to content

Commit

Permalink
Commit after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
fvbj committed Sep 4, 2023
1 parent 1554a37 commit 87ec534
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 293 deletions.
5 changes: 3 additions & 2 deletions filament/src/components/RenderableManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ struct RenderableManager::BuilderDetails {
utils::FixedCapacityVector<math::float2>>> mBonePairs;

explicit BuilderDetails(size_t count)
: mEntries(count), mCulling(true), mCastShadows(false), mReceiveShadows(true),
mScreenSpaceContactShadows(false), mSkinningBufferMode(false), mBonePairs(), mFogEnabled(true) {
: mEntries(count), mCulling(true), mCastShadows(false),
mReceiveShadows(true), mScreenSpaceContactShadows(false),
mSkinningBufferMode(false), mFogEnabled(true), mBonePairs() {
}
// this is only needed for the explicit instantiation below
BuilderDetails() = default;
Expand Down
2 changes: 0 additions & 2 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ if (NOT ANDROID)
add_demo(skinningtest)
add_demo(strobecolor)
add_demo(suzanne)
add_demo(suzanneskinning)
add_demo(texturedquad)
add_demo(vbotest)
add_demo(viewtest)
Expand All @@ -266,7 +265,6 @@ if (NOT ANDROID)
target_link_libraries(sample_cloth PRIVATE filameshio)
target_link_libraries(sample_normal_map PRIVATE filameshio)
target_link_libraries(suzanne PRIVATE filameshio suzanne-resources)
target_link_libraries(suzanneskinning PRIVATE filameshio suzanne-resources)

if (FILAMENT_DISABLE_MATOPT)
add_definitions(-DFILAMENT_DISABLE_MATOPT=1)
Expand Down
288 changes: 0 additions & 288 deletions samples/suzanneskinning.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion shaders/src/main.vs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void main() {
#endif
}

if ((object_uniforms.flagsChannels & FILAMENT_OBJECT_SKINNING_ENABLED_BIT) != 0u) {
if ((object_uniforms_flagsChannels & FILAMENT_OBJECT_SKINNING_ENABLED_BIT) != 0u) {
skinNormalTangent(material.worldNormal, vertex_worldTangent.xyz, mesh_bone_indices, mesh_bone_weights);
}
#endif
Expand Down

0 comments on commit 87ec534

Please sign in to comment.