You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very useful for doing some pre-processing things (in my case, rendering water caustics in shaders using a water mesh as input).
My issue is that I cannot perform the same in TypeScript, the render method takes a Scene as first argument, so my code does not compile.
Should I open a PR fixing the type definition? I don't see any documentation specifying that my code is valid (that the render method can actually take a mesh as input).
Three.js version
r112
The text was updated successfully, but these errors were encountered:
Description of the problem
When using ThreeJS in JavaScript I was able to render only one mesh (without using a Scene) doing:
This is very useful for doing some pre-processing things (in my case, rendering water caustics in shaders using a water mesh as input).
My issue is that I cannot perform the same in TypeScript, the
render
method takes aScene
as first argument, so my code does not compile.Should I open a PR fixing the type definition? I don't see any documentation specifying that my code is valid (that the render method can actually take a mesh as input).
Three.js version
r112
The text was updated successfully, but these errors were encountered: