mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Various changes and fixes
Hopefully this works, I haven't yet checked in detail for any problems.
This commit is contained in:
parent
e05544b84e
commit
51cb37570a
14 changed files with 72 additions and 56 deletions
|
@ -539,7 +539,7 @@ void main(void)
|
|||
#endif
|
||||
|
||||
#if (defined(ENABLE_NODE_SPECULAR) && !MATERIAL_WATER_REFLECTIONS)
|
||||
// Apply specular to blocks.
|
||||
// Apply specular to nodes.
|
||||
if (dot(v_LightDirection, vNormal) < 0.0) {
|
||||
// This intensity/roughness is a placeholder and should be replaced by proper specular maps.
|
||||
float intensity = 0.35 * min(1.0, length(varColor.rgb * base.rgb));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue