Skip to content

RGBA Texture Buffer Support & GLSL TextureBufferReader - #1077

Closed
RuffledPlume wants to merge 1 commit into
117HD:masterfrom
RuffledPlume:ModelData
Closed

RGBA Texture Buffer Support & GLSL TextureBufferReader #1077
RuffledPlume wants to merge 1 commit into
117HD:masterfrom
RuffledPlume:ModelData

Conversation

@RuffledPlume

Copy link
Copy Markdown
Contributor
  • Improves Texture Buffer performance by allowing RGBA32I usage instead of just RGB32I when supported
  • Introduces TextureBufferReader which simplifies parsing of TextureBuffers Data into structs

 * Created TextureBufferReader to simplify reading Buffers
 * Added texture_facees.glsl which proves a `getFaceData` which returns a struct

Use Macros to build the parser

Define the buffer to remove the need to pass it into each read func

Dont Align to texal size

underlying buffer will always be pow2, so even if its RGB or RGBA it'll fit correctly

Implemented ModelData

Both static & dynamic models can now sample data specific to that model

Ensure ModelDataSize is updated correctly

Write less data for models
@RuffledPlume
RuffledPlume force-pushed the ModelData branch 2 times, most recently from a728bc3 to 95129f6 Compare June 29, 2026 02:24
@RuffledPlume

Copy link
Copy Markdown
Contributor Author

Closing in favour of 1010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant