Shader is using too many Samplers: 23 (only 16 supported)

Dipendra sharma
Sat, 13 Feb 2021 20:15:40 +0000
Rendering

OK so i hade followed a yotube tutioral he didn’t get the error but I got this
here is the tutioral :- Advanced Landscape Auto Material - Building Worlds In Unreal - Episode 18 - YouTube
here is the error I got

LogShaderCompilers: Warning: Failed to compile Material /Game/Megascans/Surfaces/TEXT_landscape.TEXT_landscape (MI:/Game/Map/Mapauto.Mapauto:PersistentLevel.Landscape_0.LandscapeMaterialInstanceConstant_1026) for platform PCD3D_SM5, Default Material will be used in game.
LogShaderCompilers: Display:     /Engine/Generated/Material.ush(2537,21-40):  warning X4008: floating point division by zero
LogShaderCompilers: Display:     /Engine/Generated/Material.ush(2555,21-40):  warning X4008: floating point division by zero
LogShaderCompilers: Display:     /Engine/Generated/Material.ush(2581,21-40):  warning X4008: floating point division by zero
LogShaderCompilers: Display:     /Engine/Generated/UniformBuffers/Material.ush(35,14-41):  err0r X4510: maximum ps_5_0 sampler register index (16) exceeded
LogShaderCompilers: Display:     /Engine/Generated/UniformBuffers/Material.ush(33,14-41):  err0r X4510: maximum ps_5_0 sampler register index (16) exceeded
LogShaderCompilers: Display:     Shader is using too many Samplers: 23 (only 16 supported)
LogShaderCompilers: Display:     D3DCompileToDxil failed
LogShaderCompilers: Display:     Invalid ray tracing shader parameter 'LandscapeParameters_NormalmapTextureSampler'. Only uniform buffers and loose data parameters are supported.
LogShaderCompilers: Display:     Shader is using too many Samplers: 24 (only 16 supported)
LogShaderCompilers: Display:     Invalid ray tracing shader parameter 'View_SharedBilinearClampedSampler'. Only uniform buffers and loose data parameters are supported.
LogShaderCompilers: Display:     Shader is using too many Samplers: 22 (only 16 supported)
LogShaderCompilers: Display:     Invalid ray tracing shader parameter 'LandscapeParameters_NormalmapTextureSampler'. Only uniform buffers and loose data parameters are supported.
LogShaderCompilers: Display:     Invalid ray tracing shader parameter 'View_SharedBilinearClampedSampler'. Only uniform buffers and loose data parameters are supported.

5 posts - 5 participants