Code: Select all
uniform vec3 dayLight;
uniform vec4 skyBgColor;
uniform float fogDistance;
uniform vec3 eyePosition;
// my uniform:
uniform int test_uniform;
Code: Select all
CachedPixelShaderSetting<s32> m_test_uniform_pixel;
s32 m_test_uniform;
Code: Select all
s32 test_uniform = 10;
m_slice_height_pixel.set(&test_uniform, services);
Weirdly when I debug and try to step into the .set function it wont go in, but I am able to step into
Code: Select all
m_fog_distance.set(&fog_distance, services);
Code: Select all
const T value[count]
Any help would be great thanks!