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

Setting hlsl buffer value from c# code?

$
0
0
Hello, I've been working on porting a 3rd party image effect hlsl shader to Unity and I have a buffer to set for the shader to work correctly. Buffer _bSamplePattern : register(t2); My question is, is there any way to set the `Buffer` of the instanced material in the c# code or I have to rewrite the buffer thing into something else? Thanks, Raul MadGoat Studio

Viewing all articles
Browse latest Browse all 206

Latest Images

Trending Articles



Latest Images

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