Skip to content

Bitmap Font Sign rendering#2

Merged
SinfullySoul merged 15 commits intoSinfullySoul:mainfrom
Shfloop:main
Oct 13, 2024
Merged

Bitmap Font Sign rendering#2
SinfullySoul merged 15 commits intoSinfullySoul:mainfrom
Shfloop:main

Conversation

@Shfloop
Copy link
Copy Markdown
Contributor

@Shfloop Shfloop commented Oct 12, 2024

changed quite a bit

  • removed frame buffer rendering
  • added a textModel class to handle text so it should be fairly easy to add more blocks with text rendering
  • changed how the block entites onRender is called
    • created an array in Zone which keeps track of renderable BlockEntites like what the game does for BlockEntity ticking / entity rendering
    • removed the old rendering code
    • used the same renderablle array to send tick updates to the signs so the lighting doesnt glow
      > added a variable in textModelInstance glowing to disregard the ingame lighting but its default false
  • limited the character size in Sign screen to only allow as much as the current font can fit on the sign
  • switched to using default entity shader

@SinfullySoul SinfullySoul merged commit c4cc1fc into SinfullySoul:main Oct 13, 2024
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.

2 participants