Posts from 2025-03-27 with #techart

On this day: 1142 posts, 75 reposts, 1494 total likes.

✨Shader Magic✨

This shader creates a distorted triplanar weight mask with sine waves—perfect for when dithering fails or blending is too expensive, like with POM and Nanite displacement.

+23 instructions 🎨

Follow for more tips! 💚👀

#TechArt #GameDev #UnrealEngine #Shaders #3DArt #IndieDev

Posted at: 2025-03-27 15:00:06 UTC
float adjustedNoiseStrength = NoiseStrength / NoiseScale;
float3 scaledUVW = UVW * NoiseScale;
float3 noiseAccumulation = float3(0, 0, 0);

for (int i = 0; i < NoiseIterations; ++i) {
    float loopNoiseScale = NoiseScale * pow(4, i);
    
    float noiseValue = scaledUVW.x * scaledUVW.y * scaledUVW.z * loopNoiseScale;
    noiseAccumulation += float3(sin(noiseValue), cos(noiseValue), 0) / loopNoiseScale;
}

noiseAccumulation /= NoiseIterations;
float3 transformedNormal = pow(abs((Normal) + noiseAccumulation * adjustedNoiseStrength), 100);
float3 normalizedNormal = transformedNormal / dot(transformedNormal, float3(1, 1, 1));
return step(float3(0.5, 0.5, 0.5), normalizedNormal);
Alt: float adjustedNoiseStrength = NoiseStrength / NoiseScale; float3 scaledUVW = UVW * NoiseScale; float3 noiseAccumulation = float3(0, 0, 0); for (int i = 0; i < NoiseIterations; ++i) { float loopNoiseScale = NoiseScale * pow(4, i); float noiseValue = scaledUVW.x * scaledUVW.y * scaledUVW.z * loopNoiseScale; noiseAccumulation += float3(sin(noiseValue), cos(noiseValue), 0) / loopNoiseScale; } noiseAccumulation /= NoiseIterations; float3 transformedNormal = pow(abs((Normal) + noiseAccumulation * adjustedNoiseStrength), 100); float3 normalizedNormal = transformedNormal / dot(transformedNormal, float3(1, 1, 1)); return step(float3(0.5, 0.5, 0.5), normalizedNormal);

A look behind the scenes of the mirrors in Sims 4, how efficient they cull objects and that they reflect invisible walls: simonschreibt.de/gat/sims-4-m...

#gamedev #techart #sims4

Posted at: 2025-03-27 22:28:04 UTC
screenshot from sims 4. in front of an orange wall, we can see a long mirror with wooden frame. in the mirror a women is reflected and she looks toward the camera.
Alt: screenshot from sims 4. in front of an orange wall, we can see a long mirror with wooden frame. in the mirror a women is reflected and she looks toward the camera.