Pistonight
65d9bf8f2f
copy depth buffer from MC for HUD caching
2024-01-26 10:34:46 -08:00
Jason Mitchell
3ee82e7157
OpenGL Debugging
...
* Move GLDebug and gl capabilitiesinto angelica/glsm instead of Iris
* Wire up GLDebug.pushGroup && popGroup via mixins if lwjgl debug is enabled (useful for api trace)
2024-01-24 20:33:09 -08:00
Pistonight
3b61bb74a2
fix hud caching alpha handling and boss health
2024-01-24 07:59:54 -08:00
Jason Mitchell
f378b6e7ba
VBO related Tweaks ( #227 )
...
* Expose original translation for tesselator, so we can reset it after doing VBO stuff
other small VBO cleanup
* Properly manage the tessellator's state...
2024-01-23 07:54:30 -08:00
Jason Mitchell and makamys
aff05e1812
Add Reese's Sodium Options ( #219 )
...
* Add Reese's Sodium Options
Co-authored-by: makamys <[email protected] >
2024-01-21 15:54:03 -08:00
Jason Mitchell
806bcf2d6b
Config updates ( #225 )
...
* Make in game config for Angelica work
* Backport https://github.com/embeddedt/embeddium/commit/7476bf9b13fcb9a302722b350ef4e6e7d2b8a8c8 to rename angelica-options.json
2024-01-21 13:47:45 -08:00
makamys
3755e2595f
Fix campfire backport animations ( #224 )
...
* Mark animations of crossed squares
Fixes Angelica's equivalent of https://github.com/GTNewHorizons/Hodgepodge/issues/264
Fixes Campfire Backport campfire flames not animating (but the embers and the
mixed NEI flames are still broken)
* Add Campfire Backport compatibility to animation speedup
Fixes Angelica's equivalent of https://github.com/GTNewHorizons/Hodgepodge/issues/204
Fixes embers and NEI mixed flames not animating
2024-01-21 09:12:30 -08:00
makamys
0d79f5e193
Make NotFine's sky toggle more granular ( #222 )
...
Separated "Sky" toggle into "Sky", "Sun & Moon", and "Stars", like in OptiFine.
This also fixes NF's sky toggle turning off MCPF's skybox
2024-01-21 08:33:10 -08:00
Jason Mitchell and makamys
9210cd3283
ArchaicFix compat ( #220 )
...
* ArchaicFix compat
Fixes https://github.com/GTNewHorizons/Angelica/issues/216
* Update src/main/java/com/gtnewhorizons/angelica/mixins/TargetedMod.java
Co-authored-by: makamys <[email protected] >
---------
Co-authored-by: makamys <[email protected] >
2024-01-20 17:19:57 -08:00
makamys
733ffff81f
Redirect negative display list calls to VBOs globally (fixes Smart Moving) ( #217 )
...
* Redirect negative display list calls to VBOs globally
Fixes Smart Moving not rendering player models
* Remove now redundant glCallList redirects
* Make VertexBuffer keep track of its own draw mode
2024-01-20 12:21:33 -08:00
Michael Zhao
32e2efc1e5
fix hud caching vignette and crosshair color issues ( #212 )
2024-01-20 10:17:48 -08:00
Jason Mitchell
d53a85e013
Remove silly early initial implementation and fix star VBO ( #206 )
...
* Remove silly early initial implementation and fix star VBO
2024-01-18 22:55:52 +00:00
mist475
5f6c418315
disable sodium weather quality redirect if dynamic surroundings is present as it overwrites the entire method ( #200 )
2024-01-16 09:29:22 -08:00
jss2a98aj
15569aadc7
Enable NotFine leaf modes when enableNotFineFeatures is true ( #194 )
...
* Use NotFine leaf modes if enableNotFineFeatures
* Sync NotFine langs
2024-01-15 15:23:44 -08:00
Jason Mitchell
0f97c09fda
Render all Wavefront objects as VBO ( #192 )
...
* Tris actually seem to work w/ thaumcraft
2024-01-14 14:57:47 -08:00
embeddedt
2b4ea9fd96
Don't activate item textures if there is no client world ( #189 )
2024-01-13 21:30:36 -08:00
tth05 and Jason Mitchell
1837dcec72
Replace fastutil dependency with GTNHLib ( #187 )
...
* Replace fastutil dependency with GTNHLib
* Add gtnhlib to mod dependencies
---------
Co-authored-by: Jason Mitchell <[email protected] >
2024-01-14 01:48:32 +00:00
Cyl18
84e1fa284b
fix some of iris problems ( #183 )
2024-01-13 16:29:25 -08:00
Jason Mitchell
c211d90faf
Off thread safe blocks ( #177 )
...
* Whitelist carpentersblocks for off main thread rendering
* Add bounds checking to WorldSlice,
* Add preliminary `IThreadSafeISBRH` support
* Update TODO
* Adjust min y
* remove unnecessary try/catch
* * Keep track of what should be rendered on the main thread
* Update AngelicaBlockSafetyRegistry to handle vanilla blocks, and ISBHR's
* of -> set
2024-01-12 18:31:01 -08:00
Jason Mitchell
537eb06b66
Respect animation speedup config ( #180 )
2024-01-11 08:05:26 -08:00
Darren Eberly
93b03847df
Only use BatchedFontRenderer when not in a display list compilation ( #174 )
2024-01-09 09:28:31 -05:00
Darren Eberly and Jason Mitchell
85e44369bb
Handle state changes for display lists correctly in GLSM ( #168 )
...
* Handle state changes in display lists correctly in GLSM
* Add some documentation so it's slightly more clear as to what's happening
---------
Co-authored-by: Jason Mitchell <[email protected] >
2024-01-08 21:48:15 +00:00
embeddedt
97152a6ace
Clear event phase before reusing object ( #170 )
2024-01-08 16:11:35 -05:00
Jason Mitchell
45b20efc45
Change where the offset is reset ( #159 )
...
* Change where the offset is reset
* Debug log and rm dead code
2024-01-07 18:58:48 -08:00
Mist475
869f843e3e
turn sortAndRender redirect into WrapOperation
2024-01-07 09:56:29 -08:00
Jason Mitchell
ad533bcae9
Don't remap, and throw early
2024-01-06 20:50:49 -08:00
Jason Mitchell
b100652a7d
Fix VBO crash ( #151 )
...
* Fix VBO crash
* Use integer.min_value for VBOized display list IDs, and prevent a NPE when trying to delete a VBOized display list
* Offset when accessing the vertexBuffers list
* DragonAPI compat - Only run checkSettings when the world is loaded
2024-01-07 03:30:28 +00:00
Darren Eberly
d497c301c9
Fix for GUI lighting states ( #148 )
...
* Fix for GUI lighting states
* Lighting fix after RenderTickEvent because mods love to abuse it
* Remove unnecessary glEnable
* Remove unused import
2024-01-06 17:47:58 -08:00
embeddedt
17dddb6691
Rebuild chunk graph if fog distance changes
2024-01-06 17:47:16 -08:00
embeddedt
818f4d3cca
Reload renderer if view distance changes
...
Backport from Sodium 0.3
2024-01-06 17:47:16 -08:00
embeddedt
9141137606
Avoid constructing ChunkMeshData for unused passes
2024-01-06 17:47:16 -08:00
embeddedt
9b6e781a7c
Propagate exceptions on meshing thread to main thread for unimportant builds
2024-01-06 17:47:16 -08:00
embeddedt
8229ed9aa0
Prevent sorts from replacing rebuilds for a section
2024-01-06 17:47:16 -08:00
embeddedt
71ea27ee3a
Apply epsilons to block face culling checks
...
Inspired by https://github.com/CaffeineMC/sodium-fabric/commit/c344269368d6ea04d8f9affd1d6aec287aec09c2
The change also makes sense, because block geometry can extend
some distance out of a chunk's strict bounds
2024-01-06 17:47:16 -08:00
Jason Mitchell
f760a3e011
Store state changes generated during a display list, and apply them after calling the display list
2024-01-06 17:46:08 -08:00
embeddedt
14c09770eb
Integrate Sodium animation system with Angelica's ( #147 )
2024-01-06 18:46:59 -05:00
Jason Mitchell
a0646456d3
So binding a texture in a display list compile won't change it, but it'll capture the change..... ( #146 )
...
* So binding a texture in a display list compile won't change it, but it'll capture the change.....
2024-01-06 22:43:53 +00:00
Jason Mitchell
b0828fb96a
Make sure the correct discard/reset is being called ( #144 )
...
* Make sure the correct discard/reset is being called
2024-01-06 12:16:35 -08:00
Jason Mitchell
369893cfa3
Set the hasXXX flags so quads get generated properly ( #139 )
...
* Set the hasXXX flags so quads get generated properly
* Add forge to credits
* Change remapping for MixinRenderGlobal
2024-01-06 01:52:25 -05:00
embeddedt
a96a973d44
More TESR fixes, make VBO mixins toggleable
2024-01-05 19:45:53 -08:00
embeddedt
2c767f2970
Use ConcurrentHashMap to store tile entity renderers
2024-01-05 19:45:53 -08:00
makamys
a16ed9460a
Fix Camera#blockPos rounding and apply third person offset ( #137 )
...
Fixes translucent chunk sorting being off near chunk boundaries.
2024-01-05 19:24:23 -05:00
Jason Mitchell
921545ca1f
Add archaicfix version requirement, if present ( #136 )
2024-01-05 22:42:10 +00:00
Jason Mitchell
717c918bd4
VBO Clouds ( #135 )
...
* Backport VBO Clouds from Forge 1.12
* Add a 1.12+ style tessellator/buffer builder API to CapturingTessellator
* Update VBOManager to handle adding items out of order, and switch to ObjectArrayList
2024-01-05 14:38:51 -08:00
mist475
98b707e3e3
MCPF config/mixins cleanup ( #130 )
...
* cleanup ctm/ cc mixins
* use @Share more
* migrate to forge based config
2024-01-04 19:25:57 -08:00
MrSlimeDude
73c7ca94e1
Fix drawString returing wrong value with 0 length string
2024-01-04 19:25:06 -08:00
Jason Mitchell
cf3cfd806f
VBO Manager
...
* Add a VBO manager
* Stop allocating display lists for the vanilla chunk renderer when sodium is enabled
* Move RenderGlobal * ModelRenderer to VBO Manager
* Stop preventing display list allocation for displayListEntities
2024-01-04 19:24:00 -08:00
Jason Mitchell
c58870fdeb
DisplayList -> VBO for stars, skies, and ModelRenderer ( #129 )
2024-01-04 10:49:27 -05:00
embeddedt
a8ccc8903a
Performance & allocation rate optimizations ( #128 )
2024-01-03 22:35:05 -05:00
embeddedt
adb582cd1e
Fix chunk updates not unparking main thread upon completion ( #127 )
2024-01-03 17:20:06 -05:00