21 years, 2 months ago
Highlights
21 years, 2 months ago
@ Ben: no, "array" isn't a reserved word... but thanks for the suggestion !
21 years, 2 months ago
I'm stuggling with arrays in HLSL. Even a simple code like this: int Array[2], Array[1] = 2, Array[2] = 1; gives me the following error: "Cannot convert from int to int[ ]..." T…
21 years, 2 months ago
Hello I'm trying to make a shader that makes use of multiple lights. (note: I'm fairly new to writing hlsl code) My code uses an array with all the light's data in it (position…
21 years, 2 months ago
Just a quick question to check if all my efforts were not in vain:Is it possible that arrays in hlsl are read-only ?
21 years, 2 months ago
Latest Activity
See all in Discussions@ Ben: no, "array" isn't a reserved word... but thanks for the suggestion !
21 years, 2 months ago
Just a quick question to check if all my efforts were not in vain:Is it possible that arrays in hlsl …
21 years, 2 months ago
Well, I thought that too...but with the semicolons I receive:"Syntax error: unexpected token '['"and with the array range starting from …
21 years, 2 months ago