The Meaning of Life, the Universe, and Everything.
Join Date:
5/29/2013
Posts:
449
Member Details
I tried fixing this for you by altering numerous things in the properties file with no success. After searching around I found an optifine issue that indicates it currently isn't possible and that sp614x hopes to try fixing it, although the issue was reported nearly 2 years ago. https://github.com/sp614x/optifine/issues/1068
What you want is probably possible using a custom model for the snow_height2-14 block models that extends below the bounds of the block and out just enough to eliminate z-fighting but I haven't played with this idea yet. I'll let you know if I get something working.
Alright then, custom model shouldn't be too hard to do if it comes down to it. Too bad this doesn't work though. Wanted to extend it to leaf blocks too so they would appear snowy if there was a snow layer above them, but i guess I'll just do that by biome.
The Meaning of Life, the Universe, and Everything.
Join Date:
5/29/2013
Posts:
449
Member Details
After playing around with optifine and custom block models this is looking like you can get it working, although not flawlessly, and it comes down to whether it is worth it or not. The first problem with the custom model is that the snow layer doesn't support transparency which means you need to either create your model to perfectly match the pixel configuration of your overlay texture or you have to use optifine's block.properties to add a transparent rendering layer to it, without it any part of the texture with transparency will turn white and opaque. By adding a block.properties in optifine my model started displaying as I would've hoped, however I ran into another problem with the texture displaying z-fighting when moving and getting worse the further you get from it. This could possibly be fixed by increasing the model size (my model is just 4 thousandths of a pixel bigger than the normal block) however the final issue I encountered when place cobblestone next to the layer: for some unknown reason it reverted to the old snow_height2 model even though that doesn't exist in the pack I made. Again, this may be correctable (blockstates would be a good place to start), however given the number of issues I've run into so far I stopped playing with it. It seems like it's possible- it's just a matter of if you think the juice is worth the squeeze.
Does anyone know how to make snow layers work with ctm?
My issue:
I'm trying to make snow layer give the block below/beside it snow overlay.
This seems to work properly with snow_block but i can't get the snow layers to work.
Screenshot:
The .properties file:
matchBlocks=cobblestone
method=overlay
tiles=0-16
connect=block
connectBlocks=snow snow_block
layer=cutout
If anyone knows how to make it work/what I'm doing wrong, help would be greatly appreciated.
P.S. The overlay texture is temporary
I tried fixing this for you by altering numerous things in the properties file with no success. After searching around I found an optifine issue that indicates it currently isn't possible and that sp614x hopes to try fixing it, although the issue was reported nearly 2 years ago. https://github.com/sp614x/optifine/issues/1068
What you want is probably possible using a custom model for the snow_height2-14 block models that extends below the bounds of the block and out just enough to eliminate z-fighting but I haven't played with this idea yet. I'll let you know if I get something working.
Alright then, custom model shouldn't be too hard to do if it comes down to it. Too bad this doesn't work though. Wanted to extend it to leaf blocks too so they would appear snowy if there was a snow layer above them, but i guess I'll just do that by biome.
After playing around with optifine and custom block models this is looking like you can get it working, although not flawlessly, and it comes down to whether it is worth it or not. The first problem with the custom model is that the snow layer doesn't support transparency which means you need to either create your model to perfectly match the pixel configuration of your overlay texture or you have to use optifine's block.properties to add a transparent rendering layer to it, without it any part of the texture with transparency will turn white and opaque. By adding a block.properties in optifine my model started displaying as I would've hoped, however I ran into another problem with the texture displaying z-fighting when moving and getting worse the further you get from it. This could possibly be fixed by increasing the model size (my model is just 4 thousandths of a pixel bigger than the normal block) however the final issue I encountered when place cobblestone next to the layer: for some unknown reason it reverted to the old snow_height2 model even though that doesn't exist in the pack I made. Again, this may be correctable (blockstates would be a good place to start), however given the number of issues I've run into so far I stopped playing with it. It seems like it's possible- it's just a matter of if you think the juice is worth the squeeze.