mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
update for CCC/L 1.2.0
This commit is contained in:
1 parent
66fb9ddbb3
commit
15a0f7f6c6
4 files changed
+15
-16
No files matched your search
@@ -8,16 +8,19 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
|
||||
public int id;
|
||||
|
||||
public boolean load() {
|
||||
if (!CCRenderState.computeLighting) {
|
||||
final CCRenderState state = CCRenderState.instance();
|
||||
|
||||
if (!state.computeLighting) {
|
||||
return false;
|
||||
}
|
||||
CCRenderState.pipeline.addDependency(CCRenderState.colourAttrib);
|
||||
CCRenderState.pipeline.addDependency(CCRenderState.lightCoordAttrib);
|
||||
state.pipeline.addDependency(CCRenderState.colourAttrib);
|
||||
state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void operate() {
|
||||
CCRenderState.setBrightness(FULL_BRIGHT_BLOCK_BRIGHTNESS);
|
||||
CCRenderState.instance()
|
||||
.setBrightness(FULL_BRIGHT_BLOCK_BRIGHTNESS);
|
||||
}
|
||||
|
||||
public int operationID() {
|
||||
|
||||
Reference in new issue
Block a user