Skip to content

Commit

Permalink
debug-friendler
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Jan 4, 2024
1 parent 5c0e610 commit 48ddaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/content_cao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr)
} else {
if (m_prop.use_texture_alpha) {
m_material_type = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
m_material_type_param = 0.01f; // minimal alpha for texture rendering
m_material_type_param = 1.0f / 256.f; // minimal alpha for texture rendering
} else {
m_material_type = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
}
Expand Down

0 comments on commit 48ddaa7

Please sign in to comment.