Page MenuHome

Hair Primitive as Triangles + Hair shader with a texture = crash
Closed, ResolvedPublic


System Information
ubuntu 16.04 64bits and Nvidia Titan Black

Blender Version
Broken: 2.78a and master hash d2f4900
Worked: (optional)

Short description of error
When a texture is used in a Cycles material for Hair; trying Triangles primitive for strands will crash Blender.

With "cull back-faces" option disabled, Triangles primitive helps to have renders using a hair transmission shader without fireflies compared to other primitive types.
But we can not use it at all if it can not support materials with textures.

Exact steps for others to reproduce the error

In attached blend, switch 3DView to rendered view.
You can see hair strands colored by texture.
Switch hair primitive to Triangles. --> Blender crashes.

You can reopen the file, delete the texture in material and change primitive to Triangles.
If you try to render at that moment. Blender does not crash.

Problem also occurs with procedural textures.