Team Spartan Cookies & Milk Forums
Rendering Issue? - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Help and Support (https://teamscm.co.uk/forum-8.html)
+--- Thread: Rendering Issue? (/thread-3729.html)



Rendering Issue? - [Ancient] Artemis - 23-01-2022

So I'm not quite sure what might be causing some of these issues I am having, but if anyone could please help, thank you. All of these are purely cosmetic but still an eyesore to look at.

Atlantis shield: https://imgur.com/a/wFQ1x4U

Physical Clip: https://imgur.com/a/UI9aGLE


RE: Rendering Issue? - Person8880 - 23-01-2022

It seems like something is blocking/breaking clipping planes from being applied during entity rendering.

Could you post the output of running mat_info in the console? It might provide some clues as to what's going wrong.


RE: Rendering Issue? - [Ancient] Artemis - 23-01-2022

(23-01-2022, 06:53 PM)Person8880 Wrote: It seems like something is blocking/breaking clipping planes from being applied during entity rendering.

Could you post the output of running mat_info in the console? It might provide some clues as to what's going wrong.

ShaderAPI: shaderapidx9.dll
Shader API Driver Info:

Driver : aticfx32.dll Version : 8444250154931085
Driver Description :  AMD Radeon RX 6600 XT
Chipset version 4098 29695 1344279650 193

Display mode : 1920 x 1080 (BGRX8888)
Vertex Shader Version : 3.0 Pixel Shader Version : 3.0

Device Caps :
CANBLTSYSTONONLOCAL  Y  CANRENDERAFTERFLIP  Y  HWRASTERIZATION  Y
HWTRANSFORMANDLIGHT  Y  NPATCHES  N  PUREDEVICE  Y
SEPARATETEXTUREMEMORIES  N  TEXTURENONLOCALVIDMEM  Y  TEXTURESYSTEMMEMORY  N
TEXTUREVIDEOMEMORY  Y  TLVERTEXSYSTEMMEMORY  Y  TLVERTEXVIDEOMEMORY  Y

Primitive Caps :
BLENDOP  Y  CLIPPLANESCALEDPOINTS  N  CLIPTLVERTS  N
COLORWRITEENABLE  Y  MASKZ  Y  TSSARGTEMP  Y

Raster Caps :
FOGRANGE  Y  FOGTABLE  Y  FOGVERTEX  Y  ZFOG  Y  WFOG  Y
MIPMAPLODBIAS  Y  WBUFFER  N  ZBIAS  Y  ZTEST  Y
Size of Texture Memory : 2097151 kb
Max Texture Dimensions : 16384 x 16384
Max Texture Aspect Ratio : *8192*
Max Textures : 8 Max Stages : 8

Texture Caps :
ALPHA  Y  CUBEMAP  Y  MIPCUBEMAP  Y  SQUAREONLY  N
vendor id: 0x1002
device id: 0x73ff
SHADERAPI CAPS:
m_NumSamplers: 16
m_NumTextureStages: 2
m_HasSetDeviceGammaRamp: no
m_SupportsVertexShaders (1.1): yes
m_SupportsVertexShaders_2_0: yes
m_SupportsPixelShaders (1.1): yes
m_SupportsPixelShaders_1_4: yes
m_SupportsPixelShaders_2_0: yes
m_SupportsPixelShaders_2_b: yes
m_SupportsShaderModel_3_0: yes
m_SupportsCompressedTextures: COMPRESSED_TEXTURES_ON
m_SupportsCompressedVertices: 1
m_bSupportsAnisotropicFiltering: yes
m_nMaxAnisotropy: 16
m_MaxTextureWidth: 16384
m_MaxTextureHeight: 16384
m_MaxTextureAspectRatio: 8192
m_MaxPrimitiveCount: 5592405
m_ZBiasAndSlopeScaledDepthBiasSupported: yes
m_SupportsMipmapping: yes
m_SupportsOverbright: yes
m_SupportsCubeMaps: yes
m_NumPixelShaderConstants: 32
m_NumVertexShaderConstants: 256
m_NumBooleanVertexShaderConstants: 16
m_NumIntegerVertexShaderConstants: 16
m_TextureMemorySize: 2147483647
m_MaxNumLights: 4
m_SupportsHardwareLighting: yes
m_MaxBlendMatrices: 4
m_MaxBlendMatrixIndices: 0
m_MaxVertexShaderBlendMatrices: 53
m_SupportsMipmappedCubemaps: yes
m_SupportsNonPow2Textures: yes
m_nDXSupportLevel: 95
m_PreferDynamicTextures: yes
m_HasProjectedBumpEnv: yes
m_MaxUserClipPlanes: 6
m_SupportsSRGB: yes
m_HDRType: HDR_TYPE_INTEGER
m_bSupportsSpheremapping: yes
m_UseFastClipping: no
m_pShaderDLL:
m_bNeedsATICentroidHack: no
m_bDisableShaderOptimizations: no
m_bColorOnSecondStream: yes
m_MaxSimultaneousRenderTargets: 4


RE: Rendering Issue? - Person8880 - 23-01-2022

(23-01-2022, 07:15 PM)[Ancient] Artemis Wrote: Primitive Caps :
BLENDOP  Y  CLIPPLANESCALEDPOINTS  N  CLIPTLVERTS  N
COLORWRITEENABLE  Y  MASKZ  Y  TSSARGTEMP  Y

m_MaxUserClipPlanes: 6
These parts stand out to me. Not sure if CLIPTLVERTS is relevant to how clipping planes are done in the engine, but for my system it's marked as Y (with an Nvidia graphics card).

It might be useful if anyone else has an AMD graphics card that renders shields/clips fine to check the output of mat_info to see if CLIPTLVERTS is set to N or not. That way we can rule it out as a red herring if it is.

Also I assume you're running the latest drivers. If not it might be worth updating them to see if it changes anything (or if you recently updated them, rolling them back to a previous version that worked).


RE: Rendering Issue? - [Ancient] Artemis - 23-01-2022

(23-01-2022, 07:43 PM)Person8880 Wrote:
(23-01-2022, 07:15 PM)[Ancient] Artemis Wrote: Primitive Caps :
BLENDOP  Y  CLIPPLANESCALEDPOINTS  N  CLIPTLVERTS  N
COLORWRITEENABLE  Y  MASKZ  Y  TSSARGTEMP  Y

m_MaxUserClipPlanes: 6
These parts stand out to me. Not sure if CLIPTLVERTS is relevant to how clipping planes are done in the engine, but for my system it's marked as Y (with an Nvidia graphics card).

It might be useful if anyone else has an AMD graphics card that renders shields/clips fine to check the output of mat_info to see if CLIPTLVERTS is set to N or not. That way we can rule it out as a red herring if it is.

Also I assume you're running the latest drivers. If not it might be worth updating them to see if it changes anything (or if you recently updated them, rolling them back to a previous version that worked).

Alright I'll give that a try, thanks.


RE: Rendering Issue? - mariofludd - 23-01-2022

(23-01-2022, 07:43 PM)Person8880 Wrote:
(23-01-2022, 07:15 PM)[Ancient] Artemis Wrote: Primitive Caps :
BLENDOP  Y  CLIPPLANESCALEDPOINTS  N  CLIPTLVERTS  N
COLORWRITEENABLE  Y  MASKZ  Y  TSSARGTEMP  Y

m_MaxUserClipPlanes: 6
These parts stand out to me. Not sure if CLIPTLVERTS is relevant to how clipping planes are done in the engine, but for my system it's marked as Y (with an Nvidia graphics card).

It might be useful if anyone else has an AMD graphics card that renders shields/clips fine to check the output of mat_info to see if CLIPTLVERTS is set to N or not. That way we can rule it out as a red herring if it is.

Also I assume you're running the latest drivers. If not it might be worth updating them to see if it changes anything (or if you recently updated them, rolling them back to a previous version that worked).

I'm running AMD Radeon and it's set to N for me, and clipping works fine


RE: Rendering Issue? - [Ancient] Artemis - 23-01-2022

(23-01-2022, 07:43 PM)Person8880 Wrote:
(23-01-2022, 07:15 PM)[Ancient] Artemis Wrote: Primitive Caps :
BLENDOP  Y  CLIPPLANESCALEDPOINTS  N  CLIPTLVERTS  N
COLORWRITEENABLE  Y  MASKZ  Y  TSSARGTEMP  Y

m_MaxUserClipPlanes: 6
These parts stand out to me. Not sure if CLIPTLVERTS is relevant to how clipping planes are done in the engine, but for my system it's marked as Y (with an Nvidia graphics card).

It might be useful if anyone else has an AMD graphics card that renders shields/clips fine to check the output of mat_info to see if CLIPTLVERTS is set to N or not. That way we can rule it out as a red herring if it is.

Also I assume you're running the latest drivers. If not it might be worth updating them to see if it changes anything (or if you recently updated them, rolling them back to a previous version that worked).

I've updated my graphics drivers and the issue hasn't gone away, I also remembered that the animation for the armor on the startrek shuttles is also slightly bugged. Happens to both Type 11 and 9 shuttles.

Link: https://imgur.com/a/KbxU94k


RE: Rendering Issue? - [Ancient] Artemis - 24-01-2022

(23-01-2022, 07:43 PM)Person8880 Wrote:
(23-01-2022, 07:15 PM)[Ancient] Artemis Wrote: Primitive Caps :
BLENDOP  Y  CLIPPLANESCALEDPOINTS  N  CLIPTLVERTS  N
COLORWRITEENABLE  Y  MASKZ  Y  TSSARGTEMP  Y

m_MaxUserClipPlanes: 6
These parts stand out to me. Not sure if CLIPTLVERTS is relevant to how clipping planes are done in the engine, but for my system it's marked as Y (with an Nvidia graphics card).

It might be useful if anyone else has an AMD graphics card that renders shields/clips fine to check the output of mat_info to see if CLIPTLVERTS is set to N or not. That way we can rule it out as a red herring if it is.

Also I assume you're running the latest drivers. If not it might be worth updating them to see if it changes anything (or if you recently updated them, rolling them back to a previous version that worked).

It just came to me when this all started happening, It was right around the time when the server updated a few things and all the tools were no longer alphabetically sorted and whatnot, I just didn't notice it more than that because I wasn't really on gmod when that happened. So I don't know if that helps but I thought you should know.


RE: Rendering Issue? - Person8880 - 24-01-2022

(24-01-2022, 01:20 AM)[Ancient] Artemis Wrote: It just came to me when this all started happening, It was right around the time when the server updated a few things and all the tools were no longer alphabetically sorted and whatnot, I just didn't notice it more than that because I wasn't really on gmod when that happened. So I don't know if that helps but I thought you should know.
That would be the last GMod update. It's possible that changes in that update broke clipping rendering for certain AMD cards, or there's something unique to your setup causing it. Would need more data from other RX6000 series users to know.

Given no one else has these issues, and that the code to render these various clipping related effects is just the standard functions provided by the engine, I'm not sure there's anything more I can do here.


RE: Rendering Issue? - [Ancient] Artemis - 24-01-2022

(24-01-2022, 04:25 PM)Person8880 Wrote:
(24-01-2022, 01:20 AM)[Ancient] Artemis Wrote: It just came to me when this all started happening, It was right around the time when the server updated a few things and all the tools were no longer alphabetically sorted and whatnot, I just didn't notice it more than that because I wasn't really on gmod when that happened. So I don't know if that helps but I thought you should know.
That would be the last GMod update. It's possible that changes in that update broke clipping rendering for certain AMD cards, or there's something unique to your setup causing it. Would need more data from other RX6000 series users to know.

Given no one else has these issues, and that the code to render these various clipping related effects is just the standard functions provided by the engine, I'm not sure there's anything more I can do here.

Ah alright well. Thanks for trying to help, guess I'll just have to wait for the next gmod update. Hopefully that will fix it.