Ubos with nested structs slowly getting there

This commit is contained in:
bloeys
2024-06-06 04:59:40 +04:00
parent 870653019c
commit 0d34e0fe6e
4 changed files with 122 additions and 10 deletions

View File

@ -70,6 +70,16 @@ out vec3 tangentSpotLightPositions[NUM_SPOT_LIGHTS];
out vec3 tangentSpotLightDirections[NUM_SPOT_LIGHTS];
out vec3 tangentPointLightPositions[NUM_POINT_LIGHTS];
struct Test1 {
float ff;
vec3 v3;
};
layout (std140) uniform Test2 {
float f1;
Test1 s;
};
void main()
{
vertUV0 = vertUV0In;