-
Notifications
You must be signed in to change notification settings - Fork 249
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
WOTLK terrain sometimes weirdly checkerboxed #654
Comments
Improved by 6d8a82e. The crater here still seems to have a seam; up to you whether you want to keep this issue open for that, or close and open a new one. |
alphaBlend.r = 1.0 - saturate(dot(alphaBlend.gba, vec3(1.0)));
vec4 tex = tex0*alphaBlend.r + tex1*alphaBlend.g + tex2*alphaBlend.b + tex3*alphaBlend.a;
// vec4 tex = mix(mix(mix(tex0, tex1, alphaBlend.g), tex2, alphaBlend.b), tex3, alphaBlend.a); Treating the weights as if they are weight blends like heightmap texturing does fixes Strand of the Ancients, but it breaks Alterac Valley. Screenshots attached. Strand of the Ancient's WDT doesn't appear to have the "hasHeightTexturing" flag marked, but that might just be us not parsing out the flags correctly. |
For example, here on Strand of the Ancients:![image](https://private-user-images.githubusercontent.com/626277/320303507-0ff14c00-6a8a-4580-b3a7-6e60053095c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwODYwMjksIm5iZiI6MTcyMzA4NTcyOSwicGF0aCI6Ii82MjYyNzcvMzIwMzAzNTA3LTBmZjE0YzAwLTZhOGEtNDU4MC1iM2E3LTZlNjAwNTMwOTVjNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgwOFQwMjU1MjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lZjVlZmM1MzE4MGFkNDAyZWZiZDA5NDVjYTAwMTNlNjZiYmM4ZmJiODc5ODM0ZWY5NmE2ZWUyMTU4YzcxNjZiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.yetEzNFZ-kD6CKL8OXQ_kWvFwoA_cZSMFg6RZu8Oh6A)
This might be a texture decoding issue, or maybe the heightmapped ADT terrain?
The text was updated successfully, but these errors were encountered: