You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling flattenStrong() on geometry where different texture scales are set won't flatten, where I expect them to be applied to the UVs.
It appears this only happens to models with multiple TextureStages.
cube.bam here is the default blender cube with a texture applied and exported with blend2bam using gltf (thus producing a TextureStage setup for pbr). If you change cube.bam to models/smiley the flattening seems work fine.
examp.zip
(Zip file containing above example, the cube model and a texture.)
The text was updated successfully, but these errors were encountered:
Classifying as bug. Panda refuses to flatten a TexMatrixAttrib onto a texcoord set if this texcoord set is used by more than one stage, which is sensible if the stages have different texture transforms, but if they have the same transform, then Panda should be smart enough to detect this and apply it anyway.
Calling flattenStrong() on geometry where different texture scales are set won't flatten, where I expect them to be applied to the UVs.
It appears this only happens to models with multiple TextureStages.
cube.bam
here is the default blender cube with a texture applied and exported with blend2bam using gltf (thus producing a TextureStage setup for pbr). If you changecube.bam
tomodels/smiley
the flattening seems work fine.examp.zip
(Zip file containing above example, the cube model and a texture.)
The text was updated successfully, but these errors were encountered: