Jozufozu
231e79984a
Add accessor to BlockEntityRenderer map.
2022-01-18 13:44:28 -08:00
Jozufozu
68febaec2e
Conditional state restore and BufferUploader sanity check
...
- Only restore state that has changed
- Sanity check to fix error condition on reset
2022-01-08 16:48:42 -08:00
Jozufozu
38244deb51
GlStateTracker for better state restore
...
- Replaces both ShaderInstanceAccessor and BufferUploaderAccessor
2022-01-08 14:51:55 -08:00
Jozufozu
c0ddc860d9
RenderLayers directly store DrawBuffers
...
- Inspired by pepper's BlockEntityTypeExtensions
- Document the batching engine internals.
2022-01-06 15:25:00 -08:00
Jozufozu
eef3c7fc1c
Fix visual artifacts with contraptions while using opfine.
...
I think the buffers from the shadow pass were bleeding into the color pass.
2022-01-06 13:04:16 -08:00
PepperCode1
45ae6c4d90
Switch to instancing controllers
...
- Combine InstanceFactories and FlywheelRendered into
InstancingControllers
- Store these controllers directly in the BlockEntity/Entity type
instead of a map for efficiency
- Redo InstancedRenderRegistry to fit these changes
- Rename all tile to block entity
- Remove all interface I prefixes
- Organize imports
- Bump version to 0.5.1
2022-01-03 21:41:08 -08:00
Jozufozu
3ce1345d6a
Fix GL error spam and do some cleanup
...
- Add flywheel$ prefix to mixin duck interfaces/accessors
- Better chat messages for /flywheel backend command
- Track VAO via vanilla
2021-12-24 01:45:38 -08:00
Jozufozu
3049601e4a
Simplify SBB
...
- SBB -> ModelTransformer
- Shader binding the minecraft way
- Engines are responsible for ending batches
2021-12-16 23:10:24 -08:00
Jozufozu
f1e63106fc
Batching Engine
...
- Implement alternate backend using SBBs
2021-12-15 17:12:48 -08:00
Jozufozu
008c6c1e3f
Add instances when chunks are built for rendering
...
- RIP ChunkIter, may you rule over the depths of hell in peace
- Fix memory leak when instance worlds get reset
- Server worlds are not flywheel worlds
- Nothing to do on world load anymore
2021-12-08 12:16:01 -08:00
Jozufozu
79fe04c6ab
Vanillaization
...
- IModels now accept a VertexConsumer
- IRenderState -> RenderType
- AbstractInstancer for dealing with InstanceData tidyness
- Alter crumbling renderer to match new system
- Add hack to keep track of bound atlas textures
2021-12-06 15:23:26 -08:00
Jozufozu
16f43867b6
Implement TransformStack directly on PoseStack
...
- Add helper method to cast to the interface.
2021-11-23 15:07:31 -08:00
PepperBell
279e0893c6
Server crash fix and formatting
...
- Fix matrix mixins being applied on dedicated server
- Expand PartialModel functionality: add location getter and model
setter
- Remove Loader.getResourceType since selective reloading is deprecated
- Organize imports and mixin order
- Other formatting
- Update Gradle and Forge
2021-11-18 14:59:39 -08:00
Jozufozu
3919aaeead
TextureBinder for dealing with vanilla RenderTypes
2021-11-09 16:48:54 -08:00
Jozufozu
39ce96ec9c
Better Block Entity filtering
...
- Assumes IInstanceRendered#shouldRenderNormally does not change over a BE's life
2021-09-26 22:30:11 -07:00
Jozufozu
79ac9e96e4
Testing + fixing
2021-09-26 21:15:02 -07:00
Jozufozu
7c5e02d2e8
UNTESTED - Replace ATs
...
- Matrices use #store
- Accessor for pausedPartialTick
2021-09-26 19:40:53 -07:00
Jozufozu
ca554f5993
F3+A
...
- Reloading chunks correctly reloads block entity instances
2021-09-17 14:20:35 -07:00
Jozufozu
7da64cded6
It renders stuff
...
- The lightmap moved
- Begin to move away from access transformers
- .textureManager -> .getTextureManager()
- RIP cutout, saw that coming
2021-09-16 20:03:45 -07:00
Jozufozu
d67362cacd
Minecraft already stores the projection matrix
...
mixins--
2021-09-15 14:27:51 -07:00
Jozufozu
d023b27ae8
It launches
...
- yeet the fog
- update mixin compatibility level
2021-09-15 13:49:18 -07:00
Jozufozu
344ea74cab
Event adjustments to work with optifine shadows
2021-08-05 14:53:22 -07:00
Jozufozu
21269e9dd5
Expose ClippingHelper in BeginFrameEvent
2021-07-28 18:13:47 -07:00
Jozufozu
e5db27379e
Parallel and caching
...
- NEEDS MORE TESTING
- Tick and update instances in parallel
- Mixin to cache chunk lookups
2021-07-18 18:00:09 -07:00
Jozufozu
2a0757e867
Atlases, bells, breaking
...
- Bell instance
- Fix some inconsistencies with PartBuilder
- Store information on texture atlasses
- Crumbling overlay fixes
2021-07-12 14:52:54 -07:00
JozsefA
3fb48d248a
Instanced entities are compatible with optifine
...
- Fix mixin related crash on startup
- Change defaultRequire to 0
2021-06-24 19:37:31 -07:00
JozsefA
12748cc208
Add fabulous depth fix
2021-06-22 20:06:00 -07:00
JozsefA
f460e229df
Squish
...
- Squash all commits before separating flywheel from create
2024-03-07 19:08:15 -08:00