Quantcast
Channel: Questions in topic: "hlsl"
Viewing all articles
Browse latest Browse all 206

what is criteria shader requires loop unrolling?

$
0
0
Hello, everyone, I'm implementing Volume Rendering using [this](https://github.com/mlavik1/UnityVolumeRendering). And then, this example code uses the `tex3dlod` function to sample 3d texture. When I use other function to sample 3d texture for example `tex3d` or `tex.Sample`(https://docs.unity3d.com/2019.4/Documentation/Manual/SL-SamplerStates.html), compiler requires loop unrolling. `tex3dlod` don't reqire loop unrollling. What is the different criteria to `tex3dlod` and others?,Hello, everyone, I'm implementing Volume Rendering using [this](https://github.com/mlavik1/UnityVolumeRendering). And then, this example code uses the `tex3dlod` function to sample 3d texture. When I use other function to sample 3d texture for example `tex3d` or `tex.Sample`(https://docs.unity3d.com/2019.4/Documentation/Manual/SL-SamplerStates.html), compiler requires loop unrolling. `tex3dlod` don't reqire loop unrollling. What is the different criteria to `tex3dlod` and others?

Viewing all articles
Browse latest Browse all 206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>