* Bump GTNHLib
* Change test block's properties
This makes it easier to test the block overlay
* Update VanillaModels.java
# Conflicts:
# src/main/java/com/gtnewhorizons/angelica/models/VanillaModels.java
* Revert rename
* Rename models
* Sledgehammer out removed abstractions
* Switch to ModelISBRH
* Replace old models
With a single new and interesting model!
* Adapt to GTNHLib
* Remove dead code
* Fix JSON model detection + remove dead code
* Remove direct model renderer
* yet more yote
* Remove ColorABGR
* Remove unused line methods
* Yeet color fully
* publicize nextLong
Technically you don't *need* this on Java 8, but it silences a warning and doesn't break anything so 🤷
* yoten
* Register Angelica for automatic texture loading
* Remove TX-Loader dep
* Make the list mutable
* Remove rebase mistake
* Bump BS + deps
* Return an immutable view of the underlying camera position to avoid mutating it
* Update Camera Uniforms to utilize the view instead of mutating in place
* wip backport of custom uniforms
* Functioning custom uniforms maybe?
* Workon separating dynamic/non-dynamic uniforms and making variables available to custom uniforms (currently the JVM dies horribly)
* wip
* It no longer crashes horrifically
* star imports
* Fix PBR textures not loading
- Stack was being overfilled by MemoryStack
- Added tons of logging for ignored important exceptions
- Added missing interface on mixin (should it be moved to gtnhlib?)
* Move PBR debug to angelica config
* Free malloc'd memory
* fix crash when connected textures are disabled, but custom colors are enabled.
* Dimension Check Fix
Dimension check set any dimension with no sky as the nether; this includes the end, and several custom dims such as Witchery's mirror dim, etc.
* Initial MemoryStack backport
* Remove stubs, for now
Will re-add as needed
* Implement mallocInt
* Replace some buffer allocation
* Add mallocFloat
* Replace more uses of direct buffer allocation
* Reorder methods
Fixes a clinit crash and makes it easier to compare to upstream
* Remove another direct buffer creation
* Add a config to the total world time patch
Shaders will still desync from time of day, but only when the (default off) setting is enabled.
* Namespace the configs
* Add reserved keywords and replace GLSLPreParser with regex
* Add a newline to the version directive in patched shader output
* Only process reserved keywords on GLSL < 400
* Better reserved keyword handling
* Beta, maybe
* Fixes for entityColor uniform in Iris
* Handle Iris Texture input hook properly in GLSM
* Iris Entity Fixes
* Gbuffer progress
* Wire up BlockEntity gbuffer
* Move Entity gbuffer to a more appropriate place to avoid reentrancy
* Wire up ENTITY_EYES and BEACOM_BEAM
* Clean up unused RenderStateShard files
* This seems marginally more correct?
* Fix shadows from showing on sides of blocks
* Remove overlay
* yeet
* More gl debugging
* Grr, fix water textures
* Add missed enable checks
* Workaround for unset depth texture when using apitrace...
Use a WrapOperation instead of an Inject with local capture - it wasn't working in dev w/ mixin debug set
* update bs
* Fix crosshair rendering with shaders
* more final
* Disable dynamic lights if shaders are in use
* No light when in water
* Add Void Particle Option + Mixin cleanup
* update bs
* less false
---------
Co-authored-by: Darren Eberly <[email protected]>
Co-authored-by: Caedis <[email protected]>
* Tests for GL_DEPTH_BUFFER_BIT
* Swizzle DepthState.mask ~> enabled
* Use AssertAll so we can clearly see gl/glsm state differences
* Reset test state leakage from ColorBufferBit
* Add start of test for GL_CURRENT_BIT
* Initial basic display list tests
* Print mismatched array index for array comparisions
* Add message for all tests
* Test GL_CURRENT_BIT
* Implement GLSM stub functions
* Test GL_ENABLE_BIT
* Add verifyNotDefaultState when we don't care about the values, just that they're not the default
* GL_MULTISAMPLE seems to be broken on Nvidia
* Test GL_FOG_BIT
* Check glGetError() after every test
* Exclude some tests based on vendor
* Test most of GL_LIGHTING_BIT
---------
Co-authored-by: Darren Eberly <[email protected]>
* More Caching
* Pull TextureTracker & TextureInfoCache out of Iris and into GLSM
* Cache more TextureInfo state
* GLSM: glTexParameter, glGetTexParameter(i|f), glGetTexLevelParameteri
* Move IrisRenderSystem -> GLSM.RenderSystem
* Ensure DSA works properly with GLSM
* Further updates to DSA for texParameter/getTexParameter
* A few more cached fields for TextureInfo
* Properly handle deleteTextures
* Ensure anyone crazy enough to use an Int/FloatBuffer for single value params get redirected
* Add optional runtime disabling of GLSM
* Switch checkGLError from an inject to a redirect, hopefully fewer allocations
* Fewer allocations for clearBufferState
* Microoptimization for (setup|clear)BufferState
* 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)