Skip to content

Commit

Permalink
fix: for #1464 (added tonemapped=false, fix for readme link, proper e…
Browse files Browse the repository at this point in the history
…xport) (#1465)
  • Loading branch information
netgfx committed May 24, 2023
1 parent 2650acf commit ded086f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The `native` route of the library **does not** export `Html` or `Loader`. The de
<li><a href="#html">Html</a></li>
<li><a href="#cycleraycast">CycleRaycast</a></li>
<li><a href="#select">Select</a></li>
<li><a href="#spriteanimator">Sprite Animator</a></li>
<li><a href="#sprite-animator">Sprite Animator</a></li>
<li><a href="#stats">Stats</a></li>
<li><a href="#wireframe">Wireframe</a></li>
<li><a href="#usedepthbuffer">useDepthBuffer</a></li>
Expand Down
2 changes: 1 addition & 1 deletion src/core/SpriteAnimator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ export const SpriteAnimator: React.FC<SpriteAnimatorProps> = (
<React.Suspense fallback={null}>
<sprite ref={spriteRef} scale={aspect}>
<spriteMaterial
toneMapped={false}
ref={matRef}
map={spriteTexture}
premultipliedAlpha={false}
transparent={true}
alphaTest={alphaTest ?? 0.0}
/>
Expand Down
1 change: 1 addition & 0 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export * from './BBAnchor'
export * from './useTrailTexture'
export * from './useCubeCamera'
export * from './Example'
export * from './SpriteAnimator'

// Modifiers
export * from './CurveModifier'
Expand Down

1 comment on commit ded086f

@vercel
Copy link

@vercel vercel bot commented on ded086f May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.