forked from bartvdbraak/blender
* enable ztransp transparency type for new materials by default.
This commit is contained in:
parent
7a0e545c64
commit
f82ce68a9e
@ -170,7 +170,7 @@ void init_material(Material *ma)
|
||||
ma->sss_front= 1.0f;
|
||||
ma->sss_back= 1.0f;
|
||||
|
||||
ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RAYBIAS|MA_TANGENT_STR;
|
||||
ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RAYBIAS|MA_TANGENT_STR|MA_ZTRANSP;
|
||||
|
||||
ma->preview = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user