Age | Commit message (Collapse) | Author |
|
* Update dependencies
* Update buildscript, apply spotless
|
|
Add ExtendedFacing rotation to the texture API.
Rotatable ExtendedFacing textures can be created with:
```java
TextureFactory.builder().addIcon(IICon).extFacing().build();
```
Improve and unify internal implementation of standard oriented and glow textures.
|
|
- Fix itemblock brightness and orientation to be exactly same as vanilla blocks
in inventory.
- Revert machine front facing to the brighter left side as it eases
differentiating them.
- Optimise inventory itemblock rendering to issue a draw quads only once
for the entire block, rather than for each side.
|
|
* fix(rendering): multiple rendering fixes and refactor
- Fix rendering gregtech machines in inventory with correct orientation and lighting.
- Fix rendering of pipes connected through covers, no longer z-fight at a distance.
- Fix updating of textures when un/holding a soldering-iron.
- Refactor of the GT_Renderer_Block class with properly named constants replacing raw literals.
|
|
Ignore the z-fighting offset when detecting if a face uses the block's brightness
or the brightness from the block above.
|
|
- Implement the missing ambient occlusion shadow from machine block over neighbour blocks.
- Fix the LightingHelper to properly shade pipes/cables/wires against an opaque block.
- Refactor and cleanup the GT_Block_Machines class of all bad practices and code smell,
checked and validated with Sonarlint.
|
|
Render smooth lighting ambient occlusion on all Gregtech tiles:
- Ores
- Machines
- Pipes, Cables, Wires, Frames
Add new Client-side configuration entry in Gregtech.cfg.
If false, the flat lighting rendering of older versions is used.
```yml
render {
B:TileAmbientOcclusion_true=true
}
```
|