# Using shader model 5.1 or 6 in HLSL?

**URL:** <https://forums.unrealengine.com/t/using-shader-model-5-1-or-6-in-hlsl/383837>\
**Category:** Rendering\
**Tags:** unreal-engine, dx12, Shaders, hlsl, question\
**Created:** [February 3, 2017, 4:51pm UTC](https://forums.unrealengine.com/t/using-shader-model-5-1-or-6-in-hlsl/383837 "2017-02-03T16:51:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_504b2dde](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_504b2dde](https://forums.unrealengine.com/u/anonymous_user_504b2dde)\
**Post date:** [February 3, 2017, 4:51pm UTC](https://forums.unrealengine.com/t/using-shader-model-5-1-or-6-in-hlsl/383837/1 "2017-02-03T16:51:07Z")

</div>

Is it somehow possible to use shader model 5.1 or 6 when writing shaders? I know UE has support for DX12, but turning it on doesn’t seem to help with HLSL. If it isn’t possible, does anyone know if it is planned for a future release?

Thanks,

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [September 26, 2022, 3:04pm UTC](https://forums.unrealengine.com/t/using-shader-model-5-1-or-6-in-hlsl/383837/2 "2022-09-26T15:04:30Z")

</div>

The only options I have seen in the editor is shader model 4, 5 and if enabled 6. I believe the models are updated as the shader models update. So 5 should encompass the changes done to 5.1. At the moment, Unreal Engine 5 has support for shader model 6.
