# How to render collision meshes in Solid way? Wireframe is not enough

**URL:** <https://forums.unrealengine.com/t/how-to-render-collision-meshes-in-solid-way-wireframe-is-not-enough/303135>\
**Category:** World Creation\
**Tags:** debug-draw, unreal-engine, Collision, display, Rendering, question\
**Created:** [January 6, 2015, 12:43am UTC](https://forums.unrealengine.com/t/how-to-render-collision-meshes-in-solid-way-wireframe-is-not-enough/303135 "2015-01-06T00:43:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CryShader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CryShader](https://forums.unrealengine.com/u/CryShader)\
**Post date:** [January 6, 2015, 12:43am UTC](https://forums.unrealengine.com/t/how-to-render-collision-meshes-in-solid-way-wireframe-is-not-enough/303135/1 "2015-01-06T00:43:49Z")

</div>

Hi there!

In cryengine all collision meshes are solid and this was very convenient for the most cases. In specific cases we can even set opacity for more detailed view. But in UE4 collisions are rendered in wireframe mode, it’s hard to determine some places where camera may penetrate geomentry and so on.

I found this piece of code here: [https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/FStaticMeshSceneProxy/DrawDynamicElements/2/index.html](https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/FStaticMeshSceneProxy/DrawDynamicElements/2/index.html)

```
const bool bDrawSolid = !bDrawWireframeCollision;
    if (bDrawSolid){
        // Make a material for drawing solid collision stuff
        const FColoredMaterialRenderProxy SolidMaterialInstance(
        GEngine->ShadedLevelColorationUnlitMaterial->GetRenderProxy(IsSelected(), IsHovered()), WireframeColor);

```

Looks like it’s possible, at least on Code side. Maybe there’s some way to render collision in Solid way? It would be perfect in some cases.

Thanks!
