working heightmap shader?
This commit is contained in:
parent
43e1fda736
commit
fe15d3e8ca
15 changed files with 331 additions and 76 deletions
|
|
@ -60,4 +60,27 @@ namespace Crafter {
|
|||
|
||||
float pad[2];
|
||||
};
|
||||
|
||||
export struct __attribute__((packed)) VertexRGBA {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
|
||||
float r;
|
||||
float g;
|
||||
float b;
|
||||
float a;
|
||||
};
|
||||
|
||||
export struct __attribute__((packed)) HeightRGBA {
|
||||
float height;
|
||||
|
||||
float pad[3];
|
||||
|
||||
float r;
|
||||
float g;
|
||||
float b;
|
||||
float a;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue