I am trying to figure out how you use arrays through rendermonkey.
Say I have the following code:
float4 sampleOffsets [NUM_SAMPLE_POINTS];
How do I declare the "sampleOffsets" variable in the Workspace window, I cannot find where it is possible to declare such arrays?
RenderMonkey does not support variable-sized arrays. You can add fixed-size arrays (upto 4 elements) or matrices (upto 4x4).