晴路卡
本帖最后由 SQwatermark 于 2021-5-25 11:27 编辑

简介
原版的准星颜色随着准星位置的像素颜色变化而变化。这个资源包中做的准星效果更加贴近FPS游戏中的准星效果,
并且玩家可以通过修改资源包中的一些参数实现一定程度上的自定义。

使用方法
将画质调至"极佳!"即可使用资源包中的准星效果
自定义的话需要玩家修改assets\minecraft\shaders\post\transparency.json内的参数
  1. {
  2.             "name": "dot",
  3.             "intarget": "swap",
  4.             "outtarget": "final",
  5.             "uniforms": [
  6.                 {
  7.                     "name": "Color",
  8.                     "values": [ 0.0, 1.0, 0.0, 1.0 ]
  9.                 },
  10.                 {
  11.                     "name": "Radius",
  12.                     "values": [ 1.5 ]
  13.                 }
  14.             ]
  15.         }
复制代码
这段里面Color下的四个参数分别对应点状准星的RGB以及alpha值,
Radius下的参数表示点状准星的半径。
  1. {
  2.             "name": "circle",
  3.             "intarget": "final",
  4.             "outtarget": "swap",
  5.             "uniforms": [
  6.                 {
  7.                     "name": "Color",
  8.                     "values": [ 0.0, 1.0, 0.0, 1.0 ]
  9.                 },
  10.                 {
  11.                     "name": "Radius",
  12.                     "values": [ 12.0 ]
  13.                 },
  14.                 {
  15.                     "name": "Thickness",
  16.                     "values": [ 0.5 ]
  17.                 }
  18.             ]
  19.         }
复制代码
这段里面Color下的四个参数分别对应环状准星的RGB以及alpha值,
Radius下的参数表示环状准星的中心间距,
Thickness下的参数表示环状准星的粗细。
  1. {
  2.             "name": "cross",
  3.             "intarget": "swap",
  4.             "outtarget": "final",
  5.             "uniforms": [
  6.                 {
  7.                     "name": "Color",
  8.                     "values": [ 0.0, 1.0, 0.0, 1.0 ]
  9.                 },
  10.                 {
  11.                     "name": "Radius",
  12.                     "values": [ 12.0 ]
  13.                 },
  14.                 {
  15.                     "name": "Thickness",
  16.                     "values": [ 1.0 ]
  17.                 },
  18.                 {
  19.                     "name": "Length",
  20.                     "values": [ 8.0 ]
  21.                 }
  22.             ]
  23.         }
复制代码
这段里面Color下的四个参数分别对应十字准星的RGB以及alpha值,
Radius下的参数表示十字准星的中心间距,
Thickness下的参数表示十字准星的粗细,
Length下的参数表示十字准星的长度。

你可以通过将特定形状的准星颜色的alpha值设为0.0来关闭该准星的显示。

预览
测试场景以及模型来自蘑菇秘境Ⅱ,与该资源包无关。

默认

对应的transparency.json:

经典圈型

对应的transparency.json:

经典十字

对应的transparency.json:

经典点型

对应的transparency.json:



下载
crosshair.zip (22.2 KB, 下载次数: 329)



2021.12 数据,可能有更多内容简介
原版的准星颜色随着准星位置的像素颜色变化而变化。这个资源包中做的准星效果更加贴近FPS游戏中的准星效果,
并且玩家可以通过修改资源包中的一些参数实现一定程度上的自定义。


使用方法
将画质调至"极佳!"即可使用资源包中的准星效果
自定义的话需要玩家修改assets\minecraft\shaders\post\transparency.json内的参数

代码:

  1. {
  2.    "name": "dot",
  3.    "intarget": "swap",
  4.    "outtarget": "final",
  5.    "uniforms": [
  6.     {
  7.   "name": "Color",
  8.   "values": [ 0.0, 1.0, 0.0, 1.0 ]
  9.     },
  10.     {
  11.   "name": "Radius",
  12.   "values": [ 1.5 ]
  13.     }
  14.    ]
  15.   }
这段里面Color下的四个参数分别对应点状准星的RGB以及alpha值,
Radius下的参数表示点状准星的半径。

代码:

  1. {
  2.    "name": "circle",
  3.    "intarget": "final",
  4.    "outtarget": "swap",
  5.    "uniforms": [
  6.     {
  7.   "name": "Color",
  8.   "values": [ 0.0, 1.0, 0.0, 1.0 ]
  9.     },
  10.     {
  11.   "name": "Radius",
  12.   "values": [ 12.0 ]
  13.     },
  14.     {
  15.   "name": "Thickness",
  16.   "values": [ 0.5 ]
  17.     }
  18.    ]
  19.   }
这段里面Color下的四个参数分别对应环状准星的RGB以及alpha值,
Radius下的参数表示环状准星的中心间距,
Thickness下的参数表示环状准星的粗细。

代码:

  1. {
  2.    "name": "cross",
  3.    "intarget": "swap",
  4.    "outtarget": "final",
  5.    "uniforms": [
  6.     {
  7.   "name": "Color",
  8.   "values": [ 0.0, 1.0, 0.0, 1.0 ]
  9.     },
  10.     {
  11.   "name": "Radius",
  12.   "values": [ 12.0 ]
  13.     },
  14.     {
  15.   "name": "Thickness",
  16.   "values": [ 1.0 ]
  17.     },
  18.     {
  19.   "name": "Length",
  20.   "values": [ 8.0 ]
  21.     }
  22.    ]
  23.   }
这段里面Color下的四个参数分别对应十字准星的RGB以及alpha值,
Radius下的参数表示十字准星的中心间距,
Thickness下的参数表示十字准星的粗细,
Length下的参数表示十字准星的长度。

你可以通过将特定形状的准星颜色的alpha值设为0.0来关闭该准星的显示。


预览
测试场景以及模型来自蘑菇秘境Ⅱ,与该资源包无关。


默认

对应的transparency.json:
{    "targets": [
  "water",
  "translucent",
  "itemEntity",
  "particles",
  "clouds",
  "weather",
  "final",
  "swap",
  "trigger"
    ],
    "passes": [
  {
   "name": "transparency",
   "intarget": "minecraft:main",
   "outtarget": "swap",
   "auxtargets": [
    {
  "name": "DiffuseDepthSampler",
  "id": "minecraft:main:depth"
    },
    {
  "name": "TranslucentSampler",
  "id": "translucent"
    },
    {
  "name": "TranslucentDepthSampler",
  "id": "translucent:depth"
    },
    {
  "name": "ItemEntitySampler",
  "id": "itemEntity"
    },
    {
  "name": "ItemEntityDepthSampler",
  "id": "itemEntity:depth"
    },
    {
  "name": "ParticlesSampler",
  "id": "particles"
    },
    {
  "name": "ParticlesDepthSampler",
  "id": "particles:depth"
    },
    {
  "name": "CloudsSampler",
  "id": "clouds"
    },
    {
  "name": "CloudsDepthSampler",
  "id": "clouds:depth"
    },
    {
  "name": "WeatherSampler",
  "id": "weather"
    },
    {
  "name": "WeatherDepthSampler",
  "id": "weather:depth"
    }
   ]
  },
  {
   "name": "dot",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 0.0, 1.0, 0.0, 1.0 ]
    },
    {
  "name": "Radius",
  "values": [ 1.5 ]
    }
   ]
  },
  {
   "name": "circle",
   "intarget": "final",
   "outtarget": "swap",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 0.0, 1.0, 0.0, 1.0 ]
    },
    {
  "name": "Radius",
  "values": [ 12.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 0.5 ]
    }
   ]
  },
  {
   "name": "cross",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 0.0, 1.0, 0.0, 1.0 ]
    },
    {
  "name": "Radius",
  "values": [ 12.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 1.0 ]
    },
    {
  "name": "Length",
  "values": [ 8.0 ]
    }
   ]
  },
  {
   "name": "blit",
   "intarget": "final",
   "outtarget": "minecraft:main"
  }
    ]
}
经典圈型

对应的transparency.json:
{    "targets": [
  "water",
  "translucent",
  "itemEntity",
  "particles",
  "clouds",
  "weather",
  "final",
  "swap",
  "trigger"
    ],
    "passes": [
  {
   "name": "transparency",
   "intarget": "minecraft:main",
   "outtarget": "swap",
   "auxtargets": [
    {
  "name": "DiffuseDepthSampler",
  "id": "minecraft:main:depth"
    },
    {
  "name": "TranslucentSampler",
  "id": "translucent"
    },
    {
  "name": "TranslucentDepthSampler",
  "id": "translucent:depth"
    },
    {
  "name": "ItemEntitySampler",
  "id": "itemEntity"
    },
    {
  "name": "ItemEntityDepthSampler",
  "id": "itemEntity:depth"
    },
    {
  "name": "ParticlesSampler",
  "id": "particles"
    },
    {
  "name": "ParticlesDepthSampler",
  "id": "particles:depth"
    },
    {
  "name": "CloudsSampler",
  "id": "clouds"
    },
    {
  "name": "CloudsDepthSampler",
  "id": "clouds:depth"
    },
    {
  "name": "WeatherSampler",
  "id": "weather"
    },
    {
  "name": "WeatherDepthSampler",
  "id": "weather:depth"
    }
   ]
  },
  {
   "name": "dot",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 1.0, 1.0, 1.0, 0.9 ]
    },
    {
  "name": "Radius",
  "values": [ 1.5 ]
    }
   ]
  },
  {
   "name": "circle",
   "intarget": "final",
   "outtarget": "swap",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 1.0, 1.0, 1.0, 0.9 ]
    },
    {
  "name": "Radius",
  "values": [ 12.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 0.5 ]
    }
   ]
  },
  {
   "name": "cross",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 0.0, 1.0, 0.0, 0.0 ]
    },
    {
  "name": "Radius",
  "values": [ 12.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 1.0 ]
    },
    {
  "name": "Length",
  "values": [ 8.0 ]
    }
   ]
  },
  {
   "name": "blit",
   "intarget": "final",
   "outtarget": "minecraft:main"
  }
    ]
}
经典十字

对应的transparency.json:
{    "targets": [
  "water",
  "translucent",
  "itemEntity",
  "particles",
  "clouds",
  "weather",
  "final",
  "swap",
  "trigger"
    ],
    "passes": [
  {
   "name": "transparency",
   "intarget": "minecraft:main",
   "outtarget": "swap",
   "auxtargets": [
    {
  "name": "DiffuseDepthSampler",
  "id": "minecraft:main:depth"
    },
    {
  "name": "TranslucentSampler",
  "id": "translucent"
    },
    {
  "name": "TranslucentDepthSampler",
  "id": "translucent:depth"
    },
    {
  "name": "ItemEntitySampler",
  "id": "itemEntity"
    },
    {
  "name": "ItemEntityDepthSampler",
  "id": "itemEntity:depth"
    },
    {
  "name": "ParticlesSampler",
  "id": "particles"
    },
    {
  "name": "ParticlesDepthSampler",
  "id": "particles:depth"
    },
    {
  "name": "CloudsSampler",
  "id": "clouds"
    },
    {
  "name": "CloudsDepthSampler",
  "id": "clouds:depth"
    },
    {
  "name": "WeatherSampler",
  "id": "weather"
    },
    {
  "name": "WeatherDepthSampler",
  "id": "weather:depth"
    }
   ]
  },
  {
   "name": "dot",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 1.0, 1.0, 1.0, 0.0 ]
    },
    {
  "name": "Radius",
  "values": [ 1.5 ]
    }
   ]
  },
  {
   "name": "circle",
   "intarget": "final",
   "outtarget": "swap",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 1.0, 1.0, 1.0, 0.0 ]
    },
    {
  "name": "Radius",
  "values": [ 14.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 0.5 ]
    }
   ]
  },
  {
   "name": "cross",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 0.0, 1.0, 0.0, 0.95 ]
    },
    {
  "name": "Radius",
  "values": [ 3.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 1.0 ]
    },
    {
  "name": "Length",
  "values": [ 8.0 ]
    }
   ]
  },
  {
   "name": "blit",
   "intarget": "final",
   "outtarget": "minecraft:main"
  }
    ]
}
经典点型

对应的transparency.json:
{    "targets": [
  "water",
  "translucent",
  "itemEntity",
  "particles",
  "clouds",
  "weather",
  "final",
  "swap",
  "trigger"
    ],
    "passes": [
  {
   "name": "transparency",
   "intarget": "minecraft:main",
   "outtarget": "swap",
   "auxtargets": [
    {
  "name": "DiffuseDepthSampler",
  "id": "minecraft:main:depth"
    },
    {
  "name": "TranslucentSampler",
  "id": "translucent"
    },
    {
  "name": "TranslucentDepthSampler",
  "id": "translucent:depth"
    },
    {
  "name": "ItemEntitySampler",
  "id": "itemEntity"
    },
    {
  "name": "ItemEntityDepthSampler",
  "id": "itemEntity:depth"
    },
    {
  "name": "ParticlesSampler",
  "id": "particles"
    },
    {
  "name": "ParticlesDepthSampler",
  "id": "particles:depth"
    },
    {
  "name": "CloudsSampler",
  "id": "clouds"
    },
    {
  "name": "CloudsDepthSampler",
  "id": "clouds:depth"
    },
    {
  "name": "WeatherSampler",
  "id": "weather"
    },
    {
  "name": "WeatherDepthSampler",
  "id": "weather:depth"
    }
   ]
  },
  {
   "name": "dot",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 1.0, 1.0, 1.0, 0.0 ]
    },
    {
  "name": "Radius",
  "values": [ 1.5 ]
    }
   ]
  },
  {
   "name": "circle",
   "intarget": "final",
   "outtarget": "swap",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 1.0, 1.0, 1.0, 0.0 ]
    },
    {
  "name": "Radius",
  "values": [ 14.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 0.5 ]
    }
   ]
  },
  {
   "name": "cross",
   "intarget": "swap",
   "outtarget": "final",
   "uniforms": [
    {
  "name": "Color",
  "values": [ 0.0, 1.0, 0.0, 0.95 ]
    },
    {
  "name": "Radius",
  "values": [ 3.0 ]
    },
    {
  "name": "Thickness",
  "values": [ 1.0 ]
    },
    {
  "name": "Length",
  "values": [ 8.0 ]
    }
   ]
  },
  {
   "name": "blit",
   "intarget": "final",
   "outtarget": "minecraft:main"
  }
    ]
}


下载




潇客侠
很好的材质包 拿包留字

Crowqwq
很棒的材质包 很棒的想法 楼主加油 顶!

振翮高飞
可以打CS 了(笑)

chasing6
太好了 终于可以换个准星啦哈哈哈

HunterZe
拿走了 感谢楼主

2353190325
感谢分享 非常的不错

gaozhe8888
相当不错666666666666666666666

w1718w
射击类游戏很适合啊
这个是放在材质包文件夹 然后调到最上吧

asrile羊肉串
emmm感觉不错

gdpl呜呜呜
很好的材质,正好就换个准星,谢谢分享

养虎人
这个材质加上枪械模组简直绝配

Ttiony
感谢楼主的分享~新年快乐

husi乱想
可以可以

大大无畏
哈哈 配合着枪械MOD用真像

kakaowo
感谢大佬的分享awa

odarre
6666666666666666666

小猪猪007
厉害了,自定义可还行,准心定义的话枪战服确实可以

kakaqwq
感谢分享

cqi
感谢楼主的分享~新年快乐 加上枪械非常好用

cqi
材质还是有点问题 区块容易卡着 方块有时候会变回原样

cqi
拿走了 感谢 让我舒服了 hhh

陌影灬木木
这是要把mc彻彻底底的变成FPS

cqi
用着挺舒服的 谢谢了 awa

无病无处可医
感谢分享。

lemon007
很柔和  好看哟~~~~~~~~~~~

HH598
可以打CS 了(笑)

1697465
谢谢发布

zty3485894264
这个血条也好好看啊,是材质里的吗

夜星寒
这个圆的准星看着好舒服,手感来了

夜星寒
想知道这个枪是什么mod,好帅

小泥潭
这枪好卡通。

S7kinx
感觉用了之后玩战争服更真实了

高胜寒
可以玩枪战了

丶小白白
有没有1.12.2版本的啊

Amourliebe

可以玩枪战了 感谢

c1845630030
不错 就算放在纯净端里对弓的帮助也很大

暴龙战士铠
可以的,这个枪很不错

紫川幽冥
好耶!!!!!!!!!

poetzz
感谢楼主分享

画馬
只有1.16的版本吗,低版本能用吗

傲天大大
MCBBS有你更精彩~

番茄镇的钙片
感谢大佬分享,用起来很舒服

Thomas丶丶
MCBBS有你更精彩~

Dean.clock
实在不错awa

GKEzuo
不错,支持一下

格调低了
感谢大大分享

Su0
谢谢 很好看

道悟隐
不错的材质,准星的设计很有创意,支持

Mhuaer
我要整个三角形准星

下一页 最后一页