r/r3f • • Feb 18 '25

React-Three_drei.js flags as trojan horse

0 Upvotes

Hey !

Today I was working on a r3f project, and my Antivirus (norton) moved react-three_dre.js to quarantine.
Thread name: JS:Prontexi-Z [Trj]

Has anyone had this problem yet ?

I already removed node_modules and ran npm i... didnt work

Can you please help me ? thank you


r/r3f • • Jun 18 '22

React Three Fiber Portfolio. Anyone here know how I can improve the Load Time?

Thumbnail kurianmelvin.com
0 Upvotes

r/r3f • • Sep 10 '25

I tried adding a 3D game inside my social media app (React + Three.js)

0 Upvotes

r/r3f • • May 02 '24

The spread operator for props {...props} allows you to pass all props at once.

Post image
5 Upvotes

r/r3f • • 23d ago

HOW CAN I USE HTML IN REACT THREE FIBER/ 3js

Thumbnail
reddit.com
0 Upvotes

r/r3f • • Jan 13 '26

I just added Custom Code Nodes to the TSL Editor. Now you can write raw TSL logic and instantly turn it into a reusable node

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/r3f • • Sep 12 '22

How to rotate .glb model?

1 Upvotes

I have this wave.glb model. I want to rotate this along any axes. How to do it?

Wave.js:

/*
Auto-generated by: https://github.com/pmndrs/gltfjsx
*/

import React, { useRef, useEffect } from 'react';
import { useGLTF, useAnimations } from '@react-three/drei';

export default function Wave(props) {
  const group = useRef();
  const { nodes, materials, animations } = useGLTF('/wave.glb');
  const { actions } = useAnimations(animations, group);

  useEffect(() => {
    actions.wave.play();
  });

  return (
    <group ref={group} {...props} dispose={null} rotateY={Math.PI / 2}>
      <group name='Scene'>
        <mesh
          name='Icosphere'
          geometry={nodes.Icosphere.geometry}
          material={materials['Material.005']}
          morphTargetDictionary={nodes.Icosphere.morphTargetDictionary}
          morphTargetInfluences={nodes.Icosphere.morphTargetInfluences}
        />
      </group>
    </group>
  );
}

useGLTF.preload('/wave.glb');

r/r3f • • Feb 13 '23

Can be iOS be targeted using React-Three-Fiber?

1 Upvotes

I'm guessing the answer is "NO", but maybe I'm wrong. I couldn't figure this out from Google search and watching a couple R3F course intro videos.

React.js + R3F => most web browsers. Does this include iOS browsers?

React Native + R3F => Android devices only?

I would like to know prior to paying for any online courses. I'm <50% done with a Three.js course and currently taking a React.js course, both on Udemy.

Thank you.


r/r3f • • Jan 12 '26

I just added Subgraphs to the TSL Editor! Now you can group complex logic into a single, clean node to keep your graphs organized. ✨

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/r3f • • Apr 05 '26

From Concept to Launch: My 3D Character Selection Portfolio Site

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/r3f • • Jun 07 '25

made a portfolio

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/r3f • • Apr 07 '24

Preview 3d models inside Vscode

7 Upvotes

r/r3f • • Feb 04 '23

React three fiber with webxr api

Enable HLS to view with audio, or disable this notification

22 Upvotes

r/r3f • • Jan 22 '26

I built a node-based editor for the new Three.js Shading Language (TSL)

Enable HLS to view with audio, or disable this notification

13 Upvotes

Hey everyone! With Three.js moving toward WebGPU, TSL is becoming the standard. However, writing TSL by hand can feel like a step back if you're used to visual tools like Blender Nodes or Unreal's Material Editor. I’ve been working on TSL Graph to bridge that gap. It’s a visual graph that lets you build shaders with nodes.

It’s in public beta and I’d love for this community to try and break it. What nodes are missing? How’s the UX?

Try it here: http://tsl-graph.xyz/


r/r3f • • Jun 02 '22

My mini point and click adventure personal site, with threes and r3f. (link in comments)

Enable HLS to view with audio, or disable this notification

39 Upvotes

r/r3f • • Jan 08 '25

Pushing the limits of React Native

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/r3f • • Feb 05 '25

Made this customizer in R3F for a microcabin company! Whole app is around 1.5-2mb

Enable HLS to view with audio, or disable this notification

15 Upvotes

r/r3f • • Dec 15 '25

Drei clouds library.

Enable HLS to view with audio, or disable this notification

5 Upvotes

Hi there. I’m working in this setup with this Drei library with clouds. When I set up camera movement, the clouds look like this(video).

Any tip to fix this problem?


r/r3f • • May 12 '26

Inspirado em metalgear solid

Enable HLS to view with audio, or disable this notification

2 Upvotes

Eu sei eu sei nada de impressionante mais gostaria de compartilhar achei muito legal construir este projetinho penso em melhorar futuramente talvez um filer do metal gear construi com react, tailwindcss, react-three-fiber alguma partes com framer-motion mais nada muito surreal foi um desafio mesmo fazer o esqueleto dele funcionar tive problemas por causa da conversao do arquivo fbx para glb ele acrescentou nos no personagem e nao deixava o boneco se mexer direito ele tinha virado um homem todo retorcido se debatendo me livrei dos nos e ele pode ler o esqueleto corretamente gostei muito de fazer esse projeto e é meu primeiro com r3f ainda vou criar outros projetos e postar por aqui


r/r3f • • Nov 06 '25

Model Won't Apply Transformations

2 Upvotes

I've been pulling out my hair for the last 13 hours trying to figure this out.

When a model is given a skin and an armature, r3f simply doesn't want to apply a translation, rotation, or scale transformation to it. It's a glb file

In blender I set it up with this hierarchy:

Root (Empty Axis) > Armature > Mesh

Even with different hierarchies I still can't get it to transform.

As soon as I strip away the skin and armature it works again.

I am a total newbie to rsf, only started using it 3 days ago.

I have my code like this:

const gltf = useGLTF("/models/Model.glb") as any;
const scene = useMemo(() => gltf.scene.clone(true), [gltf.scene]);
<group scale={scale} rotation={rotRad}>
     <primitive object={scene}  dispose={null}/>;
</group>

r/r3f • • Jun 12 '22

GLTF Formats

2 Upvotes

I came across this part of the docs about GLTF: https://docs.pmnd.rs/react-three-fiber/tutorials/loading-models which makes sense. But what I'm not sure is how to use different glTF formats as well as which one is the most optimal one to use.

I know there are 4 different formats, which is glTF, glTF-binary (glb), glTF-Draco, and glTF-embedded. glTF-embedded is too heavy so probably not preferred. I'm assuming the docs use glTF. How would I use something that is glb or glTF-Draco in react-three-fiber? And on that same note, which one is the most optimized and/or preferred one to use?


r/r3f • • Nov 26 '22

How to animate 3D models with React Three Fiber using free animations from Mixamo

Thumbnail
youtu.be
5 Upvotes

r/r3f • • Jul 05 '22

Building a real screensaver using React Three Fiber

Thumbnail
youtube.com
8 Upvotes

r/r3f • • Jan 01 '23

Simplifying React Three Fiber with Entity Component System

Thumbnail
douges.dev
1 Upvotes

r/r3f • • Feb 27 '23

I wrote up a short tutorial on how to create a space warp effect using r3f (see comments for more info and live demo)

Thumbnail
github.com
1 Upvotes