mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-28 02:48:14 -05:00
Update #37 - Touch support without userscript, many other feats
This commit is contained in:
@ -70,7 +70,7 @@ void main() {
|
||||
originalViewSpacePos.xyz /= originalViewSpacePos.w;
|
||||
originalViewSpacePos.w = 1.0;
|
||||
|
||||
vec4 noiseVec = textureLod(u_noiseConstantTexture, u_randomizerDataMatrix2f * (v_position2f + originalViewSpacePos.xy + normal3f.xz), 0.0);
|
||||
vec4 noiseVec = textureLod(u_noiseConstantTexture, 13.3725 / fract((u_randomizerDataMatrix2f * (v_position2f * 0.42695346 + originalViewSpacePos.xy * 1.373769945645 + normal3f.xz * 42.69456453)) * 1.123234234), 0.0);
|
||||
noiseVec.xyz *= 2.0;
|
||||
noiseVec.xyz -= 1.0;
|
||||
|
||||
|
Reference in New Issue
Block a user