Hi, trying to learn some shader programming. The renderer you see in the image is from an other patch as reference. First question: can I use NullGeometry like this?
Eh, I think I can speak for anyone here. Without a patch and\or bits of code…
TriangelstripNull.zip (9.7 KB)
I’ve got no experience in programming at all… First try :) I’ve used the dx11.effect template. By the way, what is a register used for? like:
cbuffer cbPerDraw : register( b0 )
{
float4x4 tVP : LAYERVIEWPROJECTION;
};
Yes I Can! The vertex count was wrong though… Next step a compute shader to append data to the buffers…
StriangelStripNull.zip (14.2 KB)
Great!
Registers are for the feature level management under the hood in the api, i think they used also to optimise memory bandwidth somehow, but you won’t really need them. You can remove the whole cbuffer stuff…
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.