SamuKata
badnormals
badnormals

patreon


Glass flower project file

Hey!

This is the project file for the glass flower. The same one that is used for the YouTube thumbnail. There is some postprocessing, let me know if you want the Photoshop file as well. This was a very rewaridng project to work on creatively, as it combines sculpting and enjoyable shader node work.

I hope you'll make cool renders using the material!

Best,
Bad Normals

Glass flower project file

Comments

Hey Arthur, The instance attributes are in the material nodetree only because of the objects in the 'Flower Instances' collection. Every object there contains a geonodes setup that instances the 'Flower' collection containing all the flower parts. In the geonodes setup, I store two attributes for shading, and because the geometry I'm storing these attributes on is already an instance, the attribute needs to be stored on the Instance domain. Not on face, vertex, edge etc. The main point of these attributes is to control the brightness of these instanced flowers. The main flower I know I want to have with brightness 1. But the other, instanced flowers, I want to be weaker. So on every instanced flower there is a 'strength' attribute stored. And in the material, this attribute is reducing the emission strength. But there is a problem. This strength attribute is only on the instanced flowers and not on the main one. So if I just directly used it, the main flower would turn black and have no strength at all. So to avoid this, I stored another attribute 'isinstance' to mark the geometry that is an instance. I invert this attribute with the subtraction node and now I get only the main flower selected. I just add this to the strength attribute and this makes th emain flower be with the brightness of 1, and the other flowers be whatever their 'strength' attribute says. Looking at it now, it would have been much easier to do this by just grouping the material nodetree into its own nodegroup, with strength as a parameter. And then adding two separate materials that use this nodegroup. Main flower material and background flower material, for example. I hope this makes sense now!

Bad Normals

Hi there! Great video! Simple, but packed with really valuable tips! Could you please explain why you put a "Instance" stored named attribute in the geo nodes? By extension, what's the point of the "Subtract" node in the "Instanced emission strength"?

Arthur


More Creators