Brush Entities Are Black: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Never heard of the other one happening.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The most common reason for this issue are corrupted entities.  The best solution for corrupted entities is a complete replacement of them.  Recreate the entity by right-clicking on the brush and selecting ''Move To World'', then ''Tie to Entity'' under the same menu.  You can also use the buttons on the [[Hammer New Objects Toolbar|New Objects]] toolbar.  Now select the entity you had previously and try again. If the problem persists try working through solution two below.
The most common reason for this issue, especially when map porting, is having the <code>rendercolor</code> keyvalue set to <code>0 0 0</code>, which only affected the "color" [[render modes|rendermode]] in [[Goldsource]] (and only on sprites), but affects all rendermodes and entities in [[Source]]. If the problem persists try working through solution two below.


 
The second possible cause is a corrupted entity. The best solution for corrupted entities is a complete replacement of them.  Recreate the entity by right-clicking on the brush and selecting ''Move To World'', then ''Tie to Entity'' under the same menu.  You can also use the buttons on the [[Hammer New Objects Toolbar|New Objects]] toolbar.  Now select the entity you had previously and try again.  
The second possible cause, common for map porting, is having the <code>rendercolor</code> keyvalue set to <code>0 0 0</code>, which worked fine in [[Goldsource]], but it shows for all rendermodes in [[Source]].


[[Category:Compile errors]]
[[Category:Compile errors]]

Latest revision as of 09:39, 14 April 2025

The most common reason for this issue, especially when map porting, is having the rendercolor keyvalue set to 0 0 0, which only affected the "color" rendermode in Goldsource (and only on sprites), but affects all rendermodes and entities in Source. If the problem persists try working through solution two below.

The second possible cause is a corrupted entity. The best solution for corrupted entities is a complete replacement of them. Recreate the entity by right-clicking on the brush and selecting Move To World, then Tie to Entity under the same menu. You can also use the buttons on the New Objects toolbar. Now select the entity you had previously and try again.