Comments (6)
This should be doable with the mix and geometry::backface material nodes (shader) as shown here:
https://www.blendernation.com/2019/03/13/double-sided-shader-tutorial-for-blender-2-8/
from thicket.
@JaWalli would you be willing to test this update adding support for two sided materials?
thicket-two-sided.zip
I confirmed two sided leaves on the Middle Aged Acer Palmatum Fall model.
I am particularly interested in knowing if the two textures are applied to the correct sides of the leaves (e.g. is the top always on the top).
from thicket.
@dvhart I had a look at several plant models, on all the result was flipped. My first intention was to switch the order of the Mix node, but actually it seems to be the mesh normals pointing into the wrong direction - please see attached image.
The normals on the leaves point downwards and on the trunk inwards. I think you just need to flip the normals!
from thicket.
Thanks @JaWalli , I've simplified the geometry creation code and was able to correct the normals without having to explicitly flip them (by removing some manual point manipulation in the import code and replacing it with a matrix transform). I believe this should now work as expected.
thicket-two-sided_v3.zip
from thicket.
v3 seems to work very nice. Tested on a few plants and front back side now works like intended. Good job!
from thicket.
Merged with PR #24
from thicket.
Related Issues (20)
- thicket throws python errror when trying to add plant HOT 10
- Laubwerk Python Extension 1.0.34 not supported HOT 1
- Python SyntaxError initializing Add-on HOT 4
- Resolution of preview image is bad HOT 2
- Index of refraction should be 1.33 HOT 2
- Add material quality setting HOT 4
- Two sided materials should use Mix Shader instead of regular mix node HOT 6
- Translucency seems to be missing HOT 5
- Use a module specific logger
- Re-use texture input nodes
- Optimize plant update by not reloading unnecessarily
- Update README with Batch processing changes
- Retain plant properties when canceling plant selection HOT 1
- Use sys.executable instead of bpy.app.binary_path_python HOT 1
- "Failed to load Laubwerk Python Extension from this path" HOT 4
- Update for Blender 3.0 API Changes (bpy.utils.user_resource) HOT 9
- Python extension not accepted (Laubwerk 1.0.39 on MacOS only) HOT 12
- Blender 3.0 Alpha on MacOS needs to Disable Library Validation Entitlement HOT 3
- Not found module thicket-blender_3 HOT 5
- Laubwerk Python Extension doesn't support Python 3.10 (So Blender 3.1 and later are unsupported) HOT 18
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 thicket.