Comments (1)
The constructor issue should be fixed in 1.1.11
About the types, the MeshPhysicalMaterialParameters
type from @types/three
seems to not have thickness
as a property, the only option is to open an issue in ThreeJS and use ts-ignore
Also, LayerMaterial
and all derived classes are of type Material
and will give you type errors if you try to do LayerMaterial.transmission
for example. This is because transmission
is a property on the MeshPhysicalMaterial
class and not on the base Material
class. Only option here is to cast your material to MeshPhysicalMaterial
from lamina.
Related Issues (20)
- Add all base material properties to debugger HOT 4
- Setting Alpha in vanilla material doesn't work. HOT 10
- Unstable examples in codesandbox HOT 1
- Why does CustomLayer example change the position if the comment says it shouldn't be transformed? HOT 2
- Skinned Meshes stop working with Lamina HOT 4
- Add mask layers HOT 7
- Tree shaking of debug code? HOT 3
- Using with Sveltekit HOT 16
- flatShading prop has no effect on LayerMaterial
- Uncaught TypeError: type is not a function
- RFC: Change behavior of how vertex shader layers are modifying positions HOT 2
- LayerMaterial clone() method doesn't works HOT 1
- Transparent Fresnel HOT 1
- three-custom-shader-material 3.5.3 'csm_Normal' undeclared identifier HOT 1
- Blend two normal maps
- NextJS build fails due to import error related to react-merge-refs upgrade
- Texture layer does not support texture transform (.offset, .repeat, .center, .rotation) HOT 1
- Problems using the lamina noise functions in custom layer HOT 1
- how to make depth layer mapping = world work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lamina.