diff --git a/res/content/base/scripts/components/player_animator.lua b/res/content/base/scripts/components/player_animator.lua index 5649032f..144b9bb0 100644 --- a/res/content/base/scripts/components/player_animator.lua +++ b/res/content/base/scripts/components/player_animator.lua @@ -8,6 +8,7 @@ local itemIndex = rig:index("item") local function refresh_model(id) itemid = id rig:set_model(itemIndex, item.name(itemid)..".model") + rig:set_matrix(itemIndex, mat4.rotate({0, 1, 0}, -80)) end function on_render() diff --git a/res/models/drop-item.vec3 b/res/models/drop-item.vec3 index e8af688f..d40f7704 100644 Binary files a/res/models/drop-item.vec3 and b/res/models/drop-item.vec3 differ diff --git a/res/shaders/entity.glslf b/res/shaders/entity.glslf index a49bdfa8..b332c02f 100644 --- a/res/shaders/entity.glslf +++ b/res/shaders/entity.glslf @@ -16,7 +16,7 @@ void main() { float depth = (a_distance/256.0); float alpha = a_color.a * tex_color.a; // anyway it's any alpha-test alternative required - if (alpha < 0.3f) + if (alpha < 0.9f) discard; f_color = mix(a_color * tex_color, vec4(fogColor,1.0), min(1.0, pow(depth*u_fogFactor, u_fogCurve)));