Replies: 1 comment
-
r3f is pure three, there is no difference you might have tried it in some gltf loader, they usually use environment maps. i noticed that the wings have high metalness so ambient light does not have any affect on it. but adding an env map gives me the same result as in https://gltf-viewer.donmccurdy.com import { OrbitControls, Environment } from '@react-three/drei'
ReactDOM.render(
<Canvas>
<ambientLight intensity={1} />
<Suspense fallback={null}>
<TieFighter />
<Environment preset="city" /> btw it's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have an issue that stop me to using r3f: imported a gltf model, generated the jsx through gltfjsx, and added to a r3f scene, no textures seems to be loaded, here a demo:
https://codesandbox.io/s/weathered-darkness-42xem?file=/src/index.js
However, using the same model in a pure three.js project (vanilla es6), I get automatically the textures on the model
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions