Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTM overlay on grass_path_top(fixed in pre1) #1780

Closed
giammod opened this issue Sep 10, 2018 · 10 comments
Closed

CTM overlay on grass_path_top(fixed in pre1) #1780

giammod opened this issue Sep 10, 2018 · 10 comments

Comments

@giammod
Copy link

giammod commented Sep 10, 2018

using overlay on grass_path_top causes the overlay to hover a few pixels above the path and a few pixels off center diagonally.
grassoverlay

@giammod
Copy link
Author

giammod commented Sep 11, 2018

I should mention this is on the latest version (beta7) of optifine. In addition the overlay seems to be randomly applied, In testing I have a long path surrounded by grass but the overlay only seems to be applied in randomly with gaps between each application of the overlay.

@Brottweiler
Copy link

Post your properties file.

@giammod
Copy link
Author

giammod commented Sep 12, 2018

method=overlay
connectBlocks=minecraft:grass_block
tiles=0-16
tintIndex=1
tintBlock=minecraft:grass
layer=cutout

It's pretty straight forward, individually all the properties seem to work fine.

@Brottweiler
Copy link

Change tintBlock=minecraft:grass to tintBlock=grass_block.

Also note that since path blocks are one pixel lower than grass blocks, it will hover over it. Not a bug. Same thing happens with farmland.

@giammod
Copy link
Author

giammod commented Sep 13, 2018

I actually don't mind the texture hovering a pixel over the path, it helps sell the look of grass overhanging the path but the problems are still there. the overlay still seems seems to be randomly applied. and randomly offset, in some cases the overlay is a few pixels into the linked side(causing z-fighting) in some cases it's a few pixels away from the linked side.
"tintBlock" is just supposed to determine the rules for tinting, so I don't think it should've affected anything here, All the same I changed it to grass_block and it doesn't seem to have improved anything.
overlay2

@giammod giammod changed the title CTM overlay on grass_path_top CTM overlay on grass_path_top(beta8) Sep 13, 2018
@Brottweiler
Copy link

II had the same exact issue as you though, and I fixed it by doing what I said in my post. Here's my properties file which is working for me.

matchBlocks=minecraft:dirt minecraft:coarse_dirt
method=overlay
faces=top sides
tiles=0-16
connectTiles=grass_block_top
tintIndex=0
tintBlock=grass_block
layer=translucent

@giammod
Copy link
Author

giammod commented Sep 13, 2018

I tried your properties, results were absolutely no different from mine.

@Brottweiler
Copy link

For the record, proof mine works. Also I am using beta8, you said you are using beta7?
2018-09-13_16 45 28

@giammod
Copy link
Author

giammod commented Sep 14, 2018

No, Beta 8, I'd be using 9 now but it doesn't work at all. maybe it's because the textures I'm using are 64² not 16², I've also since noticed for some of the gaps I mentioned where it appears it's not applied at all, it seems the overlay textures is inside the path, as in a few pixels in -Y

@giammod giammod changed the title CTM overlay on grass_path_top(beta8) CTM overlay on grass_path_top(pre1) Sep 14, 2018
@giammod giammod changed the title CTM overlay on grass_path_top(pre1) CTM overlay on grass_path_top(fixed in pre1) Sep 15, 2018
@giammod
Copy link
Author

giammod commented Sep 15, 2018

pre1 has fixed it and it looks great thanks

@sp614x sp614x added the todo label Oct 24, 2018
@sp614x sp614x closed this as completed Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants