bnpr / beer Goto Github PK
View Code? Open in Web Editor NEWBlender Extended Expressive Renderer
License: MIT License
Blender Extended Expressive Renderer
License: MIT License
Requested feature below:
It would be cool if I could load the BEER layers by clicking on the material on the right.
I'm still not sure how I can load the layers of a BEER material that is not assigned to an object, for now i guess i can just temporarily assign it to something.
Originally posted by @eballeste in #3 (reply in thread)
i installed beer but it didn't do anything
i have trouble instling it in blender 3.3 what to do
I was able to download and install, however the latest version didn't come with Shader examples for me to select from, is that supposed to be downloaded separately?
amd 3700x
32G
P1000
windows 10 64
blender 3.1.2
malt 1.0.0.beta
C:/Users/toloz/Desktop/face/Shader Examples/basic.mesh.glsl:3: error: Can't open include file "Pipelines/NPR_Pipeline.glsl"
#include "Pipelines/NPR_Pipeline.glsl"
from C:/Users/toloz/AppData/Local/Temp/tmpply538s7: 1: #include "basic.mesh.glsl"
1 error in preprocessor.
I noticed that when I try to use a Malt material that uses global variables that aren't referenced in some type of get method, these variables are dropped in new BEER materials.
#include "Pipelines/NPR_Pipeline.glsl"
uniform vec3 ambient_color = vec3(0.1,0.1,0.1);
uniform vec3 diffuse_color = vec3(1.0,0.1,0.1);
uniform vec3 specular_color = vec3(1.0,1.0,1.0);
uniform float roughness = 0.5;
uniform vec3 line_color = vec3(0.0,0.0,0.0);
uniform float line_width = 1.0;
uniform float line_depth_threshold = 0.5;
uniform float line_normal_threshold = 1.0;
void COMMON_PIXEL_SHADER(Surface S, inout PixelOutput PO)
{
...
}
All of these global variables show up as settings to be edited in a Malt material:
But are dropped in BEER Materials when used in a layer:
Unrelated, it would be cool if we had some way to rename the prefix used for the material settings (beergen1, beergen2, beergen#) don't offer much context as to what layer the settings belong to.
Edit:
I just noticed that all of these variables show up in alphabetical order in both Malt and BEER so maybe that's why it's prefixed the way it currently is?? if that is the case could a different label be used like beerlayer# or blayer# or even better blayer#__layername, (can layers be given names?) (edit: i think i should be able to edit the name via the UI layer panel but double clicking to rename does nothing)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.