0
votes
1answer
842 views

How to not-unroll loops in Shader Model 3 HLSL

I'm working on raycaster in HLSL, unfortunately it have to be in DX9. But it cannot be compiled I did similar raycaster in DX11 and i know that there is always problem with FXC compiler that it tries ...
3
votes
1answer
401 views

Hashing 3D position into 2D position

I am doing volumetric raycasting and curently working on depth jitter. I have 3D position on ray and want to sample 2D noise texture to jitter the depth. Function for converting (or hashing) 3D ...