pmndrs / drei

πŸ₯‰ useful helpers for react-three-fiber
https://docs.pmnd.rs/drei
MIT License
8.36k stars 699 forks source link

EXGL: gl.pixelStorei() doesn't support this parameter yet! #1788

Open lichmac opened 9 months ago

lichmac commented 9 months ago

Hi team, I'm working on my react-native project. I'm using this lib to show 3D models. It's working fine. But I got some errors & warnings in the logs. Pls advise. Thanks team

LOG EXGL: gl.pixelStorei() doesn't support this parameter yet! LOG EXGL: gl.pixelStorei() doesn't support this parameter yet! WARN THREE.WebGLRenderer: EXT_color_buffer_float extension not supported.

Screenshot 2024-01-19 at 12 09 17

`import React, { Suspense } from "react"; import { SafeAreaView, StyleSheet, View } from "react-native";

import { Canvas } from "@react-three/fiber/native"; import { useGLTF } from "@react-three/drei/native"; import useControls from "r3f-native-orbitcontrols";

import modelPath from "./src/assets/models/test.glb";

function Model(props) { const gltf = useGLTF(modelPath); return <primitive {...props} object={gltf.scene} scale={2}/>; }

function App(): React.JSX.Element { const [OrbitControls, events] = useControls(); return ( <SafeAreaView style={styles.container} {...events}>

</SafeAreaView>

); }

const styles = StyleSheet.create({ container: { flex: 1 }, avatarView: { flex: 1 } });

export default App;`

β”œβ”€β”€ @babel/core@7.23.7 β”œβ”€β”€ @babel/preset-env@7.23.8 β”œβ”€β”€ @babel/runtime@7.23.8 β”œβ”€β”€ @react-native/babel-preset@0.73.19 β”œβ”€β”€ @react-native/eslint-config@0.73.2 β”œβ”€β”€ @react-native/metro-config@0.73.3 β”œβ”€β”€ @react-native/typescript-config@0.73.1 β”œβ”€β”€ @react-three/drei@9.94.1 β”œβ”€β”€ @react-three/fiber@8.15.14 β”œβ”€β”€ @types/react-test-renderer@18.0.7 β”œβ”€β”€ @types/react@18.2.48 β”œβ”€β”€ babel-jest@29.7.0 β”œβ”€β”€ eslint@8.56.0 β”œβ”€β”€ expo-gl@13.6.0 β”œβ”€β”€ expo@50.0.0-preview.11 β”œβ”€β”€ jest@29.7.0 β”œβ”€β”€ prettier@2.8.8 β”œβ”€β”€ r3f-native-orbitcontrols@1.0.9 β”œβ”€β”€ react-native-track-player@4.0.1 β”œβ”€β”€ react-native@0.73.2 β”œβ”€β”€ react-test-renderer@18.2.0 β”œβ”€β”€ react@18.2.0 β”œβ”€β”€ three@0.160.0 └── typescript@5.0.4

`System: OS: macOS 13.0.1 CPU: (8) arm64 Apple M2 Memory: 436.75 MB / 16.00 GB Shell: version: 5.8.1 path: /bin/zsh Binaries: Node: version: 18.17.0 path: ~/.nvm/versions/node/v18.17.0/bin/node Yarn: version: 1.22.21 path: ~/.nvm/versions/node/v18.17.0/bin/yarn npm: version: 9.6.7 path: ~/.nvm/versions/node/v18.17.0/bin/npm Watchman: version: 2023.10.30.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms:

BMWrc commented 8 months ago

I same issue. some one fix this pls T_T

github-actions[bot] commented 6 days ago

Thank you for contributing! We’re marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward.

Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar.

Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if there’s no further activity. Thank you for understanding and for being part of the project!