-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4da6b37
commit 53a673d
Showing
10 changed files
with
140 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
...n/java/me/jellysquid/mods/sodium/client/render/chunk/shader/ChunkShaderBindingPoints.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package me.jellysquid.mods.sodium.client.render.chunk.shader; | ||
|
||
public class ChunkShaderBindingPoints { | ||
public static final int ATTRIBUTE_PACKED_DATA = 1; | ||
public static final int ATTRIBUTE_POSITION_ID = 1; | ||
public static final int ATTRIBUTE_COLOR = 2; | ||
public static final int ATTRIBUTE_BLOCK_TEXTURE = 3; | ||
public static final int ATTRIBUTE_LIGHT_TEXTURE = 4; | ||
|
||
public static final int FRAG_COLOR = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
.../java/me/jellysquid/mods/sodium/client/render/chunk/vertex/format/ChunkMeshAttribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
package me.jellysquid.mods.sodium.client.render.chunk.vertex.format; | ||
|
||
public enum ChunkMeshAttribute { | ||
VERTEX_DATA | ||
POSITION_MATERIAL_MESH, | ||
COLOR_SHADE, | ||
BLOCK_TEXTURE, | ||
LIGHT_TEXTURE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.