Comments (1)
This lib already uses CustomShaderMaterial
under the hood. Using the lighting
option you effectively can specify the base materials.
as you can see LayerMaterial is built on top of CSM
Line 36 in 696ccc1
If you want to use CSM but not lamina, then yes you can grab the underlying shader code and run it within CSM but you’ll have to correctly port it. The convinces of lamina’s Abstract class will not apply when using CSM.
from lamina.
Related Issues (20)
- Add all base material properties to debugger HOT 4
- Transmission property not working in vanilla version. HOT 1
- 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.