1 year ago

#56233

test-img

wtwilliams

How do you compile a HLSL shader DX9 without preshaders?

I'm trying to compile a HLSL DX9 shader without preshaders, but the 9.29.952.3111 version of FXC displays invalid flags when using the /Op argument. It's for a shader model 3 target.

Here's the command I used fxc.exe /T ps_3_0 /nologo /E main /Od /Op /Fo"D:/shaders/pixel.hlsl" "nopreshader.fx"

hlsl

directx-9

0 Answers

Your Answer

Accepted video resources