Skip to main content

Unanswered Questions

2,491 questions with no upvoted or accepted answers
8 votes
0 answers
303 views

how to write a custom projection type?

Is it possible to create a lens shader with EEVEE/Cycles ? I'd like to have the control over the camera position and the ray direction per sample. This allows to simulate various conventional lens ...
7 votes
1 answer
277 views

How to display an image in my custom node

I have a custom node and I want it to be able to display an image. I know that the node has a parameter show_preview and if you enable it, no image appears.
7 votes
0 answers
645 views

Update function for NodeSocket?

How do I set a callback for socket input change (value or link change) when having a custom node? I have a socket defined like: ...
6 votes
1 answer
4k views

Separate alpha from color in Shader Editor

In the Shader Editor, I can create an RGB node and in there, I can set an alpha value as displayed in this screenshot: However, no color separation node in blender supports extracting that value and ...
6 votes
1 answer
2k views

How to update compositing nodes via script?

I create some nodes in compositing via python script: ...
6 votes
1 answer
2k views

How to crop image based on Alpha in Compositor?

I wonder if there is any way to crop a image based on alpha data like this: The reason I want to do this is that I want to crop the White area of another image (of the same dimension to the Alpha ...
5 votes
0 answers
154 views

Flat shading when using displacement or bump

When using a bump or displacement node and bump only or displacement and bump in the material settings, the shade smooth option seems to not be working. Instead the geometry starts to show, auto ...
5 votes
0 answers
322 views

Custom shader script in compositor (de-linearize depth buffer)

Some months ago I wrote a minimal opengl 2.5d game engine with pre-rendered backgrounds (such old Resident evil, Alone in the dark and Final fantasy games). Depth is managed through a grayscale image ...
5 votes
1 answer
909 views

get this gradient style in blender

I'm trying to get this gradient style: My best result are with eevee with volumetric and gradient on a metaball, but i cannot figure out how to get the gradient fill the totally of the metaballs like ...
5 votes
0 answers
698 views

Control image texture source from outside node group

I'm working on turning a cavity node setup I found online into a node group I can append to my blender files. The setup uses several mapping nodes (that I already converted to math nodes so the ...
5 votes
0 answers
410 views

Rendering to Viewer Node in headless mode

I'm running Blender 2.79: /path/to/blender -b empty.blend -P script.py With script.py: ...
5 votes
0 answers
2k views

nVidia skin shader with the Principled BSDF

I've been using a skin shader primarily based on the Brecht skin shader, which is itself based on the Sum-of-Gaussians approach as seen in 14.4.7 from GPU Gems by nVidia. Its Cycles adaptation, which ...
4 votes
0 answers
29 views

translucent white resin with embeddings - material

I need to make a volumetric translucent material, possibly working in EEVEE. It is a white semi-translucent resin with objects embedded. The embedded objects are more visible near to the surface of ...
4 votes
0 answers
218 views

Migrating geometry shaders to Metal

I'm working on BlenderBIM (architecture addon for Blender) and we have a bunch of shaders to support plan annotations in viewports. Mainly it's simple shapes based of lines - lines, segment based ...
4 votes
0 answers
377 views

Drawing non-polyline smoothed lines with `gpu` module

Backstory: Since bgl module will soon to be deprecated and it's doesn't work on Metal already I was trying to move code to gpu ...

15 30 50 per page
1
2 3 4 5
167