arrays in GLSL

Started by
0 comments, last by MARS_999 17 years, 2 months ago
hi, A basic question. when we declare an array in GLSL: float fi[7]; do we have to populate the values with zero (i want all zeros in start!) or does GLSL automatically initilizes an array with some default value. thanks in advance
Advertisement
IIRC GL will set them all to zero.

This topic is closed to new replies.

Advertisement