ohmtal Posted February 17, 2021 Share Posted February 17, 2021 I think it happen, when I add a Waterplane. Using Debug and DX11 I get:C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$shadowSoftness' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$atlasXOffset' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$atlasYOffset' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$farPlaneScalePSSM' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$overDarkPSSM' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$fadeStartLength' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$atlasScale' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$worldToLightProj' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$scaleX' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$scaleY' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$offsetX' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$offsetY' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$dynamicWorldToLightProj' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$dynamicScaleX' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$dynamicScaleY' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$dynamicOffsetX' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$dynamicOffsetY' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!C:\torque\Torque3D-3.10.1\Engine\source\gfx\genericConstBuffer.cpp(285,0): {Fatal} - The '$dynamicFarPlaneScalePSSM' shader constant in shader 'shaders/common/lighting/advanced/vectorLightP.hlsl' was unassigned!After that T3D becomes very unstable and crashes on exit. Using GL i've no problems. Any ideas on that error? Quote Link to comment Share on other sites More sharing options...
Duion Posted February 17, 2021 Share Posted February 17, 2021 Make a release build, problem solved. Quote Link to comment Share on other sites More sharing options...
ohmtal Posted February 17, 2021 Author Share Posted February 17, 2021 Thanks for the answer :)I removed the part "if(mWasLost) ..." in gfxD3D11Shader.cpp. Engine runs much smoother now in debug. Quote Link to comment Share on other sites More sharing options...
Duion Posted February 17, 2021 Share Posted February 17, 2021 Sorry for cynicism, but that is how I fix most things, if I would bother to fix any little issue for real, then I would have probably never have gotten anything done like most others.I only know that my game runs fine with that version of Torque, well relatively fine as they are errors that make it not run anymore in Debug mode, but I stopped bothering.In short I have no idea where your issue comes from, the version runs fine for me and I have water planes in most of my levels. Quote Link to comment Share on other sites More sharing options...
ohmtal Posted February 21, 2021 Author Share Posted February 21, 2021 I'd used a development version of 3.10.1. The stable Version does not have this problem. I'm switching to Preview 4 at the moment because the 3.10.1 (dev) water is broken. Sorry for the confusion. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.