mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-03-06 14:27:44 +00:00
stencil translucent non textured polys
This commit is contained in:
parent
85c4d85562
commit
d058a29ac8
|
@ -931,7 +931,10 @@ void CNew3D::CacheModel(Model *m, const UINT32 *data)
|
|||
currentMesh->textureAlpha = ph.TextureAlpha();
|
||||
currentMesh->polyAlpha = ph.PolyAlpha();
|
||||
currentMesh->lighting = ph.LightEnabled() && !ph.FixedShading();
|
||||
currentMesh->layered = ph.Layered();
|
||||
|
||||
if (ph.Layered() || (!ph.TexEnabled() && ph.PolyAlpha())) {
|
||||
currentMesh->layered = true;
|
||||
}
|
||||
|
||||
if (currentMesh->lighting) {
|
||||
if (ph.SpecularEnabled()) {
|
||||
|
|
Loading…
Reference in a new issue