How to avoid black surface in entities

User avatar
BrunoMine
Member
 
Posts: 1070
Joined: Thu Apr 25, 2013 17:29
Location: SP-Brasil
GitHub: BrunoMine

How to avoid black surface in entities

by BrunoMine » Sun May 27, 2018 16:36

I've noticed that entities get the black surface when they are in the same coordinate of a node, but I want to know if there is any way to avoid this (anyway except remove the node).
Maybe it's possible through some entity property.
 

User avatar
texmex
Member
 
Posts: 1725
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: How to avoid black surface in entities

by texmex » Mon May 28, 2018 11:39

I believe that it is only when the collision box intersects a node that the entity turns black.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw
 

User avatar
Krock
Developer
 
Posts: 4478
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: How to avoid black surface in entities

by Krock » Mon May 28, 2018 16:08

The entity light is taken from the node where it is in. This means that when the entity position is inside a solid (non translucent) node, it will turn black entirely. To solve this problem, you can change the collision and selection box, so it will collide earlier with the surrounding nodes.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 


Return to Modding Discussion



Who is online

Users browsing this forum: Nathan.S and 3 guests