Comments (4)
Hey! Thanks for using this!
There is an experimental Branch for vertex shader support here: https://github.com/pmndrs/lamina/tree/experimental/vertex-shaders
However, Iโd recommend you to wait for the 1.1.0
release that will come out in the next couple days as it will natively support displacement layers with loads of options and a much simpler API. Hereโs a sneak peek: https://github.com/pmndrs/lamina/blob/1.1.0/src/core/Displace.ts
edit: to answer your question, in current release (1.0.x) there is no vertex shader support
from lamina.
gotcha - thanks for the sneak peek at 1.1.0 :)
from lamina.
Closed via 1.1.1
from lamina.
Vertex manipulation looks awesome on really small objects, e.g. a sphere with args [0.5,64,64], but imperceivable on larger objects, same sphere with args [20,64,64].
I'm still learning glsl so I can't say for sure how to scale the shader's effect. Is there any way of achieving for larger objects what is readily available for much smaller ones? I tried messing around with parameters but nothing worked.
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.