-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize mixins #699
base: main
Are you sure you want to change the base?
Normalize mixins #699
Conversation
remove `markings` mixin merge its same properties to all of the striping mixins it is usually paired with also remove anisotropy
src/assets.js
Outdated
<a-mixin id="hash-right" atlas-uvs="totalRows: 4; totalColumns: 8; column: 8; row: 2" scale="3 6 3"></a-mixin> | ||
<a-mixin id="hash-chevron" atlas-uvs="totalRows: 4; totalColumns: 4; column: 4; row: 2" scale="3 3 3"></a-mixin> | ||
<a-mixin id="stencils"></a-mixin> | ||
<a-mixin shadow="cast: false" id="right" atlas-uvs="totalRows: 4; totalColumns: 4; column: 3; row: 2" scale="2 2 2" geometry="primitive: plane;" material="src: #stencils-atlas;alphaTest: 0;transparent:true;"></a-mixin> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need geometry="primitive: plane; skipCache: true
everywhere to be sure to create a separate geometry for each entity, otherwise all your entities are using the same geometry and the atlas-uvs component is changing the uvs of the shared geometry so replacing the image for all entities.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vincentfretin excellent, thank you!
No description provided.