- Home /
Teeth Shader
I'm a newbie with custom shaders and I need map this blender material to a unity shader, but I have no idea how a can do it. So any help will be good =)
Answer by captaincrunch80 · Jul 14, 2012 at 01:06 PM
Hi Adalbeto,
this Material uses Subsurface Scattering, which is not only a shader, but a technique where two lightmaps (front and back, as seen from the light source) are rendered, changed and then applied to the objects again. So it is not only a shader. You would need OpenGL commands for this, and this is a Unity Pro feature.
BTW This is nothing you would do with teeth in a real-time simulation like a game.
Try to find a approximation to the desired effect with an existing Unity shader. Or try the (free) hard surface shaders in the Asset store.
Thanks @captaincrunch80 for this tips,
Some considerations, this is not for a game. This approach is for a academic research work where I need simulate real teeth with diferents light behaviours in real time.
I tried hard surface but they are very "mettalic or plastic" for me, teeth have a singular behaviour and hard surface isn't sufficient for my work.
Is possible build a custom shader (with shaderlab and cg) that simulate Subsurface Scattering using free Unity?