#Garry's Mod

1 messages · Page 114 of 1

weak ermine
#

and then gweather for remix

#

and i can no longer go outside

keen rivet
#

Gmod looks a little different

#

You could hook that up to replace the shader sky in gmod

subtle bison
#

prob lol

keen rivet
#

Then sun editor and sky editor would work

weak ermine
#

type shit

lean hatch
weak ermine
#

well it have ssbump

#

on one texture?

lean hatch
#

basically

subtle bison
keen rivet
#

which causes stuff like that

subtle bison
#

volvo why

lean hatch
#

finally csgo

keen rivet
#

no autopbr?

lean hatch
#

it does

#

look at the walls theyre slightly reflective

weak ermine
#

and i remember blu spawn on 2 fort fucked with that hl2 hyper realistic textures

weak ermine
#

like on maps, not on models

lean hatch
#

i dunno

#

cant really tell

weak ermine
#

maybe port some materials from cs2

#

to mirage

#

dust2

#

and

#

idk

#

other old map

lean hatch
#

idk where to find any cs2 maps

weak ermine
#

i mean

#

cs2 have csgo ported maps

#

mirage ported without changes

#

same with dust2

#

maybe in cs2 they're finally add normals and other pbr stuff

subtle bison
dusk wagon
weak ermine
#

of wait no

#

that one specific

#

guy files mod

subtle bison
weak ermine
#

fucking insane

#

can i kiss u

subtle bison
#

its ready btw

#

just download the latest nightly

subtle bison
weak ermine
subtle bison
#

i am not working on this for a while so uhh yea

weak ermine
#

im gonna wait anyway

steel lark
#

that so sigma

weak ermine
#

🥀

steel lark
#

are previous nightlys installable through the launcher?

subtle bison
#

no

#

each time a nightly is built, it replaces the old one

lean hatch
subtle bison
#

yes

#

#offtopic message

lean hatch
#

Awesome

#

👏

subtle bison
#

i notice something weird is happening with volumetrics and particles while the sky is active, everything is fullbright lmao. ik i said im taking a break but i think im gonna fix RTXDI real quick lol

weak ermine
#

how long is the break?

#

just interested

subtle bison
steel lark
subtle bison
weak ermine
#

okay

steel lark
#

oohhh just found it out

subtle bison
dusk wagon
#

for some reason alot of objects in work at a pizza place (2014) 's map has a emission on that i cant disable

subtle bison
#

probably incorrect usage of $selfillum in the texture VMTs? you should be able to turn them off

#

unless the remix logic update conf changes make that not possible anymore

sonic apex
#

-# respectfully you should probably mute this channel or something so you don't feel tempted to start working again before you ready

subtle bison
#

muting wont be enough for me lmao

willow fog
#

No rest for the wicked. Get to work, soldier.

subtle bison
#

im just gonna have to control the urge to check this server

#

especially mentions

lean hatch
#

Im personally in charge of keeping cr off

subtle bison
#

yay

lean hatch
#

Trus

willow fog
#

I'm going to beat him with sticks until he can't move for a while

lean hatch
#

I already got after cr a while ago

subtle bison
#

ughhh finally volumetrics are fixed

#

this is never getting into upstream with the RTXDI modifications lol

#

fixed some issues with the sun color at sunset

#

im gonna push this and fuck off

keen rivet
subtle bison
#

no

keen rivet
#

😔

subtle bison
#

it will happen but not right now, there is no remix api headers for it

#

this is a dupe btw

sonic apex
#

-# wonder how hl2 rtx looks with it

subtle bison
subtle bison
#

good god this is so peak

#

(excuse the 240p-esque res. my gpu is on fire)

#

there is like 0 optimization here, the physical sky is super demanding

#

physical vs raster

subtle bison
#

when im done being burned out sure

keen rivet
#

lol

#

man I cant wait for perf fork merge since current branch is so unstable

zealous narwhal
#

Finally, gm_neonpolis_circuit can actually look like it's sunsetting in Remix

subtle bison
subtle bison
#

you might need to set your mie anistropy or dust to these values

#

i think the presets use old settings that make it invisible

subtle bison
#

though main has been stable for me other than the new culling issues

zealous narwhal
subtle bison
#

guh

zealous narwhal
#

I just realized the sun has the wrong rotation

subtle bison
#

oh lol

#

i wonder what that light is then

#

map one? you might need to disable it

zealous narwhal
#

Yeah, it's the map one

subtle bison
#

sunset should look a lot better

#

will be like 45-mins to compile on the github side

zealous narwhal
#

Now this is better

zealous narwhal
#

Do the sky settings save per map?

subtle bison
#

no

willow fog
#

Uh. Perf?

subtle bison
#

its game independent

#

works on anything remix works with

willow fog
#

Mmm

#

Also how do I get dupes

#

I've never tried it

subtle bison
dense crow
#

Emissive material fans when they have a nocturnal emission

wispy crest
#

is that the iron lung dude?

dense crow
#

Yeah that's Mikepier Iran Long

brittle token
#

bro fist

#

my fps halved until it straight up stopped and almost took the OS with it lol

#

i should update it probably

brittle token
#

blue eyed combine mogging me from across the room

compact blaze
#

what map is this?

#

unnececary hatred i love those little guys

#

no wonder this is from twitter

half viper
#

^

willow fog
#

Here's a non-twitter take for you

compact blaze
#

i love that lil guy

#

everything else idc just leave that lil guy alone

willow fog
#

No

#

Fucking UGLY

compact blaze
half viper
#

Btw you still can make your own custom models

willow fog
#

He's snarky about most things

half viper
#

I loved when he was talking about taking a shit in a plane

compact blaze
willow fog
#

To be fair s&box is still early in dev so that's not a huge deal

compact blaze
#

Even having a beta access lottery on the site for a bit

mental snow
#

its kind of exhausting to keep reading these stupid takes on twitter about s&box, the worst is how they completely water the game down to as "roblox 2 lolololol" when in reality it's so much more powerful than roblox and the fact it's an entire engine that a developer can use to create an entire game completely separate from both s&box and it's ecosystem is just a net positive for not only the industry but also indie devs, giving developers more choice for engines is never a bad thing

#

but it is what it is, especially on the internet where people take the worst possible take and run with it as fact

#

like sure s&box definitely took after roblox with how its set up their little mini-games inside of the launcher and whatnot

#

but completely ignoring the fact you can use s&box as an engine to create an entirely separate game is just being willfully ignorant to be hyperbole

compact blaze
#

roblox is also an extremely powerful engine but sadly promotes slop engagement, you can find incredible games if you know what you’re looking for

mental snow
#

I don't think AI slop thumbnails should be your takeaway for it being roblox 2, I personally do hope that facepunch will clamp down on the AI usage for s&box as it will just be a net positive cause fuck AI and mostly everything that comes with it

#

but ultimately, s&box being essentially a source 2 sdk shouldn't be overlooked imo

compact blaze
mental snow
#

a better source 2 I might add, cause valve's source 2 branches are already starting to look like hell

#

valve is yet again making the same mistake, bunch of different branches that all have different features and (potentially) missing features from the previous branches

#

butttttt at the same time it doesn't matter cause valve is clearly not intending on releasing an SDK

#

it's clear they want facepunch to push that

mental snow
#

which I am glad for cause valve is notoriously bad with maintaining their branches imo

compact blaze
mental snow
#

and on top of that, facepunch rewrote a bunch of old shit from S2, a lot of S2 systems were still from S1 because again; valve is only really changing things for stuff they need at the moment otherwise they just keep old systems

#

which again is fine cuz it works for them

#

but it'd really shaft anyone looking to seriously mod with a hypothetical valve source 2 SDK

mental snow
#

but other than that, I don't think valve will push anything out like the SDK's of the past

#

I'd love to be proven wrong but I don't think valve really cares anymore

compact blaze
#

🤝

mental snow
#

there was this incredibly cool recreation of nazi zombies from waw but with a unique artstyle

#

there is potential to be had here

compact blaze
#

i hope if you can create games outside of s&box with the engine people make source 2 ports of valve games with no garry to snark about

mental snow
#

doubtful, valve wouldn't allow this

#

the same reason they didn't allow the tf2 source 2 thing to go through

compact blaze
mental snow
#

not any that I'm particularly familiar with

compact blaze
mental snow
#

but the bottomline is, the assets they used in tf2 source 2 were from valve, and you're allowed to use them within the confines of source 1

#

as far as I remember, it was entirely a licensing issue because the assets are just not allowed to redistributed like that

compact blaze
mental snow
#

they probably didn't know of its existence until they did

compact blaze
mental snow
#

I think you'd be overestimating the employees at valve if you think they'd know of these projects until they either gain a lot of traction or their lawyers get a hold of the information

#

but at the same time, it's entirely possible valve was aware of it and figured they wouldn't release it

#

cause i dont think valve would have cared had it never been released

willow fog
#

I glanced over the conversation.
My Twitter feed is only porn so I don't read any opinions there. My opinions are mostly my own and from the looks of it, s&box is headed in roblox's direction. Shitty games, developed for a quick buck. Sure, it is a game engine, but it's the type of place that doesn't promote much creativity. From the games that I have seen there, it's mostly low effort. Garry himself is an unlikable person and some of his decisions have been questionable.

#

I don't have anything against s&box. It is what it is but the way their store is setup and what I've seen on the games page it's certainly headed towards an item-farming platform.

#

Where people are more concerned about making a quick buck rather than creating something enjoyable.

#

I'm sure there will be good games there eventually. But they're going to be short lived and buried under piles of slop.

weak ermine
subtle bison
wispy crest
#

people will never get over that s&box isnt gmod 2

lean hatch
#

Nor saveable

lean hatch
wispy crest
#

no im pretty sure s&box is s&box

lean hatch
#

Nah its not s&box

weak ermine
lean hatch
#

Its now s%container

weak ermine
#

s$box

lean hatch
#

S*package

polar anchor
compact blaze
onyx ridge
#

what developments have i missed on

willow fog
subtle bison
#

#1116089843479498782 message

#

ugh i love the sunset so much

onyx ridge
keen rivet
#

I love these because the play fund is awesome

#

All that money goes into the community

#

The idea is the popular games are monetarily rewarded for having players but they don't have to fall back to predatory monetisation schemes to make money

dusk wagon
#

some more roblox replacements

keen rivet
#

would love to see someone port the cs2 maps somehow, like just port collision mesh and have replacement mesh

subtle bison
#

been on my mind for a while, I've been meaning to do the mw2019 one burrito sent as well

#

anything is possible with a collision mesh

willow fog
#

Don't use it. I'm getting the importer fixed by the devs. It's troubling in its current state

subtle bison
#

is something wrong with the one you sent me?

willow fog
#

The lights are imported twice on top of each other and the geometry is a little broken.

subtle bison
#

rip

willow fog
#

Other than that it's pretty solid, actually

subtle bison
#

@willow fog maybe add a url to the physical sky thread on your yt vid isforme

willow fog
#

Oh also the low res textures. Cdn support is planned

dense crow
#

guys

#

we need to make pictures in gmod rtx of ragdolls doing stupid selfies

#

so we can circumvent the age verification thingy

weak ermine
mental snow
#

my friend wrote a few mounters for sbox, one to mount war thunder assets and another to mount garry's mod stuff

mental snow
mental snow
#

I wanted to ask, what's the difference between these two sources for the binary patches?

subtle bison
#

hmm i thought i removed the blueamulet stuff.

BlueAmulet did the original engine patches for source to play nice with Remix. My fork is an updated version with extra patches for gmod x64

mental snow
#

ah okay

ionic cipher
#

My gmod forgot how to shiny

weak ermine
#

its over

ionic cipher
#

it remember

subtle bison
#

gmod rtx dementia for next release

ionic cipher
#

yay

keen rivet
winter radish
subtle bison
#

who are you again?

polar anchor
#

yeah something is wrong with dxvk

polar anchor
#

yeah even changing TDR doesnt help with fixing this issue. Man is my vram dying or something?

dusk wagon
#

remember the time peter

livid rapids
#

I did not care for the Remix.

weak ermine
keen rivet
#

I just realised we can probably cut out so much reverse engineering junk with RTTI @subtle bison

#

we can just scan memory in under a second on startup for classes

#

Might be key for getting hw skinning working even

keen rivet
#

Runtime type info

#

You can find classes and their functions in memory at runtime

subtle bison
#

how does one do this

keen rivet
#

Idk

subtle bison
#

we have hw skinning but i need to fix the bone transposing

#

its all eldritch horrors rn

keen rivet
#

I saw some guy talking about their scanner

#

This could mean no more random as fuck sigs or vtables

subtle bison
#

does that person have like a github for it

#

also meetric spotted

keen rivet
compact blaze
keen rivet
#

Meetric? Yeah

compact blaze
compact blaze
keen rivet
#

Idk

polar anchor
#

Gonna try a few more changes to get this working properly

#

vulkaninfo looked right for the most part, uninstalled vulkan reshade (I dont know what affect that had on games that werent set to use it but whatever)

#

Disabled threaded optimizations too

#

Also disabled Steam and GOG overlays + game bar

polar anchor
#

@subtle bison Could the spaming of out of range or Opacity Micromap potentially cause it? Even after clearing gmod's shaders and changing the Vulkan present method to (Layered on DXGI Swapchain) and TDR to 10 still has crashing. The included vulkan info txt is from before I uninstalled reshade and disabled GOG overlay so you can ignore those warnings

#

Rivatuner overlay be saying 108 F (42C) while in the menu, that doesnt sound too bad

polar anchor
#

It spread to multiple games now, it aint just gmod no more

subtle bison
polar anchor
#

Weird what is common between all these games with compat mods that cause me to have this issue

#

Waw has different issues, and cod 4 doesnt have that disconnect issue either (so that makes 2 compat games that dont have it). I havent tested FNV enough to see if it crashes that way

compact blaze
subtle bison
#

@keen rivet im working on adding runtime culling patches to PatchManager, trying this on perf fork first, but hopefully i should have something working later today

#

i looked into loading the binary module at the menu, and it doesnt really make much sense other than MP, but I would prefer if we just injected the entire compat mod into the global lua space lol

#

i've done it before when i was messing with rust binary modules and its a lot more consistent

compact blaze
subtle bison
#

the runtime culling patches shouldnt be too hard to work on and merging perf and main makes working on gmod rtx a lot easier, so it's win/win

willow fog
#

Mfs are dumb. Keep working, cr. I love to see progress.

keen rivet
#

not just 1 global one

#

Client, Server and Menu

subtle bison
#

can facepunch remove old mainifests

#

because if so, main is fucked

weak ermine
#

cook is back to cook?

#

brain damage sorry

subtle bison
#

i think the launcher has dementia

#

its funny because i had this same issue with the steam depot downloader

#

hence why i used the steamdb one

#

ok what

#

oh cache

#

ima try a newer manifest from this year, i think the one from early january worked still?

#

ye 3617157435636361405 (jan 8) works

#

but it still shows the 404 error lol, must be a regression in the launcher

#

OH ITS THE BINARY PATCHES

#

i need to make the error messages clearer on what fais lol

subtle bison
#

ok so r_3dsky works on perf but remix just does not want to render it, even when messing with sky settings

#

will be fun to investigate

weak ermine
#

doofy ahh

subtle bison
#

progress 🙂

#

need to get convars working but the important stuff is there

weak ermine
#

im kinda don't understand what is it

subtle bison
#

work towards merging main and perf into one

#

by making all of the culling patches work at runtime so they can be toggled

weak ermine
#

oh

#

that's fire

#

good luck with it

half viper
#

what does this mean

#

im using a vpn btw

#

i think thats why

subtle bison
#

probably that?

half viper
#

but last time it worked fine

#

i cant stop using the vpn because dorm internet sucks ass

#

also cant expose myself to the government

#

cr plz fix

subtle bison
#

💀

#

this failure is happening outside of the launcher so i dont really know what I can do here. does your vpn have any backend settings?

#

i know wireguard-based ones work fine

#

at least for me

#

omg haiiii cvars!!!!!! 3_

half viper
#

nope

#

still doesnt work

#

using proton

subtle bison
#

oh ur on linux?

#

oh nvm protonvpn 💀

#

can your VPN reach github?

keen rivet
#

:O

subtle bison
#

honestly the frustrum culling one might be the only one we need lol

#

(if we wanted to mix some customrender stuff with engine rendering that is)

#

still need to figure out what to do next ig

subtle bison
half viper
#

HARDWARE SKINNING NEXT!

subtle bison
#

ye thats still in progress, just gotta fix the weird bone eldritch horrors

#

these 3 options are the best mix for 0 culling and free performance

half viper
#

why does custom rendering do that

#

the right image

subtle bison
#

i dont think we'll ever get it to be 1:1 with the original engine rendered stuff

#

but it looks like the vertex normals are a bit weird on displacements?

steel lark
#

like on construct and flatgrass

subtle bison
#

no?

#

both work fine

#

also blended textures should also work for autopbr

subtle bison
#

the blending is slightly different from engine-rendered

#

like you wouldnt notice in regular play

steel lark
#

i'll show you hold up

subtle bison
#

if your grass textures are like 10x scale, its an addon causing it. i wish i knew what it was tho

half viper
# subtle bison

The original seems to be shaded better
yeah the normals are fucked

subtle bison
half viper
subtle bison
#

it's a performance focused mode, i could care less if its not 1:1 if its stuff like that

#

if you want to be a source purist, use the engine-rendered stuff

half viper
#

im just saying
maybe it deserves another look thats all

subtle bison
#

fair enough

steel lark
#

wish i had chromium to disable it goddamn

subtle bison
subtle bison
half viper
#

im so goated

subtle bison
#

thank god for debug modes

half viper
#

im always right and i could never be wrong

steel lark
steel lark
#

it's big ah

subtle bison
steel lark
subtle bison
#

yeah but this is like 1000x sharpen

#

holy

subtle bison
polar anchor
#

Do we know if the l4d2 mods work in gmod?

subtle bison
#

if xoxor4d's mod uses legacy hashes, yes

#

im getting somewhere, but it seems to break up at the edge of the chunk

polar anchor
steel lark
subtle bison
#

same thing happened to me today

steel lark
#

well idk if the patches fixed it actually?

#

ok i'll patch it again

subtle bison
subtle bison
#

ill check that tf2 map again

#

i only really notice the decals dissapearing which is normal anyway

steel lark
#

it worked

subtle bison
#

sweet

#

or just downgrade your game and do it that way

keen rivet
subtle bison
#

it will be moved over

subtle bison
#

HUH????

lean hatch
#

WHAAAA

subtle bison
#

i dont think it will fix eyes for us yet, the engine doesnt even render them in fixed function

#

which has been fixed before, but we then somehow have to fix studiorender so it actually animates them

subtle bison
#

im gonna see what i can do with hw skinning now angery

subtle bison
#

inb4 me in 4 hours or some shit

lean hatch
modern quest
#

CR

#

you went like 2 days without working on gmod

#

you're supposed to be taking a break 😓

#

2 days is not enough lol

lean hatch
#

Yeah

subtle bison
#

idk what to say, the urge to start cooking took over tux_dawg

modern quest
#

same thing happens to me lol

#

buuuut you'll burn out faster the second time around

#

then the third

#

🙁 and so on

lean hatch
#

Which is why I personally rotate different things

#

Never can get bored if you arent stuck on one thing

modern quest
#

partially why i maintain like 10 diff projects at once lol

lean hatch
#

Same

lean hatch
#

Rn my main focus is mgrr

#

But tomorrow it'll prolly be wolfenstein and so on and so fourth

subtle bison
#

anyways i dont feel forced to work on the hw skin stuff, i just have a good feeling about it rn

#

the "it's so close i can feel victory" urge

modern quest
#

this is what happens with @tulip silo's wrapper in FNV

#

it's really funny tbh

keen rivet
#

It might help port those patches kingdavid gave us

subtle bison
#

i already got the sigs so im a little past that hehe

#

im just fixing how the bones look

#

cuz they're all there

keen rivet
#

even then I still feel like we should move to RTTI then we don't have to worry about rubat cucking us

#

which sounds awesome

subtle bison
#

gotcha

keen rivet
#

Cucking

#

That's fine but not c*ck

keen rivet
#

this is how we ended up with AutoPBR

#

Always give into the urge to cook

keen rivet
#

Never stop gambling 🔥

keen rivet
# subtle bison

Does this mean all you have to do is swap the material to like vertexlit or something

#

Wait no they already are aren't they

subtle bison
#

no, there is more issues still

keen rivet
#

Oh

subtle bison
#

x32 with the portal rtx stdshaders show what im talking about

#

working eyes but they are entirely static

keen rivet
#

Ah

#

more patches!!!! trollCRAZY

subtle bison
#

i miss visual studio

keen rivet
keen rivet
#

Get a vm setup

subtle bison
#

i do

#

thats how i compile everything lol

#

i have a ssh server so i can send compile commands to

keen rivet
#

Oh do you not run gmod Rtx in

subtle bison
subtle bison
#

its painless once its all set up, i just dont get the VS debugger

#

gdb exists but ehhhh

modern quest
keen rivet
#

No more cuckoo

subtle bison
#

let's play the game of what hl2 npc this is 👅

lean hatch
#

Antlion

modern quest
subtle bison
#

👋

#

lmao its actually really close

#

ok yeah im a little lost on what is going on here and im gonna resume on it tmr when i got a clearer head.
@woeful phoenix do you mind taking a look at what I have so far and see what im doing wrong? My best guesses is the sig for m_PoseToWorld is bad, stale transforms, or something entirely else
https://github.com/Xenthio/garrys-mod-rtx-remixed/blob/5c934a77ec994d8e44f72b4f130b03d86a949148/source/HardwareSkinningHooks.cpp

GitHub

RTX for Garry's Mod. Contribute to Xenthio/garrys-mod-rtx-remixed development by creating an account on GitHub.

#

we have all of the bones showing up in remix but they are a mess
#1116089843479498782 message

woeful phoenix
#

Sure

#

Is this a dx8 model or is all that stuff gone now that rubat axed it

subtle bison
#

sw.vtx/dx8 gets used if its still there, but we also force the dx9 ones to render if not, not sure for grigori but i can check real quick

woeful phoenix
#

oh good you even have the sw ones

woeful phoenix
#

Alright, so observations

#

pieces of that mesh is rendering properly

#

Meaning this is probably a translation error

#

Spawn him somewhere near the origin

#

does his verts go to the origin

#

if it does, make sure you are sending the right dx matrix and the bone info for translation

#

Second observation

#

It is possible there is a blend matrix restriction you haven't patched yet

subtle bison
woeful phoenix
#

They pull to the camera?

subtle bison
#

yeah one sec ill get a video

woeful phoenix
#

What does the transpose do?

#

And importantly WHICH bones go to the origin

woeful phoenix
#

Also I found in dark messiah I actually had to invert I think the root bone or something

#

I can't pull up the code right now

#

But that only happened because all my bones were correct but rendering at the origin

subtle bison
subtle bison
subtle bison
subtle bison
woeful phoenix
#

So let me ask you, if you take a capture right now in remix, do you actually get a capture of the bones correctly

#

Or do you get like 100 little skel captures

#

Or, one capture but it's got only 3 bones in it

#

That pretty much gives you an idea of how remix is receiving the bone palette

#

From VTMB

#

Ignore the fact there are two meshes on the right

#

The palette was correctly transferred, so we can see all the bones

#

If the bones are all there but in the origin, we have a vector problem

#

if they aren't, something with the palette

#

If it's 100 different skels, you do not have a unified skeleton being rendered

#

So even if you got it working it'd still not be skinnable

#

And that would affect the vertex stuff because it'd be looking for the 0 -> MaxBones palette

#

thus go loco

#

On my PC now let me check my DX settings

#

you get me the other answers

subtle bison
#

they look to be correct?

woeful phoenix
#

Yeah that looks correct

#

great

#

So your problem is something stupid with the vert settings

#

For me I just keep it simple

#
void __fastcall CShaderAPIDX8_SetSkinningMatrices(void* This, void* _EDX)
{
    //CShaderAPIDX_SetFixedFunctionStateSkinningMatrices(This, _EDX);
    void* mystery_obj = (void*)((int)This + 4);
    void* mystery_obj_vtable = *(void**)(mystery_obj);
    srv_MethodSingleArgRet GetMaxBlendMatricies = *(srv_MethodSingleArgRet*)((int)mystery_obj_vtable + 116);
    int blend_count = (int)GetMaxBlendMatricies(mystery_obj, _EDX);

    if (blend_count < 1)
        return;

    m_pD3DDevice = *(IDirect3DDevice9**)((int)This + 28);

    //m_pD3DDevice->SetRenderState(D3DRS_VERTEXBLEND, D3DVBF_3WEIGHTS);
    if (g_BONEDATA.bone_count > 1)
        m_pD3DDevice->SetRenderState(D3DRS_INDEXEDVERTEXBLENDENABLE, TRUE);
    else
        m_pD3DDevice->SetRenderState(D3DRS_INDEXEDVERTEXBLENDENABLE, FALSE);

    for (int i = 0; i < g_BONEDATA.bone_count; i++)
    {
        VMatrix mat;
        MatrixCopy(g_BONEDATA.bone_matricies[i], mat);

        if (g_BONEDATA.bone_count != 1)
            MatrixTranspose(mat, mat);

        m_pD3DDevice->SetTransform(D3DTS_WORLDMATRIX(i), (D3DMATRIX*)&mat);
    }
}```
#
    if (numBones > 1) {
        pDevice->SetRenderState(D3DRS_INDEXEDVERTEXBLENDENABLE, TRUE);
        
        // Set vertex blend mode based on number of bones
        // D3DVBF_0WEIGHTS = 1 matrix, D3DVBF_1WEIGHTS = 2 matrices, etc.
        D3DVERTEXBLENDFLAGS blendFlags = D3DVBF_DISABLE;
        if (numBones >= 4) {
            blendFlags = D3DVBF_3WEIGHTS; // 4 bone influences
        } else if (numBones >= 3) {
            blendFlags = D3DVBF_2WEIGHTS; // 3 bone influences
        } else if (numBones >= 2) {
            blendFlags = D3DVBF_1WEIGHTS; // 2 bone influences
        }
        pDevice->SetRenderState(D3DRS_VERTEXBLEND, blendFlags);
    } else {
        pDevice->SetRenderState(D3DRS_INDEXEDVERTEXBLENDENABLE, FALSE);
        pDevice->SetRenderState(D3DRS_VERTEXBLEND, D3DVBF_DISABLE);
    }```
#

Yours looks abit more involved

#

Maybe try dumbing it down and just setting the index true/false?

subtle bison
#

yeah i can give that a shot

#

as for the tanspose debug cvar btw, it changes the d3dmatrix layout

woeful phoenix
#

That's fine, use whichever one brings it to the position its supposed to be

subtle bison
#

in that blender capture its 1

D3DMATRIX:
  [ R00  R10  R20  0 ]
  [ R01  R11  R21  0 ]
  [ R02  R12  R22  0 ]
  [ Tx   Ty   Tz   1 ]
woeful phoenix
#

The key thing is that your bones are actually getting captured properly

#

That means remix has the info it needs

#

so it comes down to the vert referencing things incorrectly, or some other settings mucking it up

#

Remember that when you are changing the blend flags you are changing the way it reads the vertex information

#

so if it expects 3 weights, it may read the vert format deeper than it should

#

Oh and speaking of vert format, I believe mark said we have to use a different one

#

one sec

subtle bison
#

would those larger bones in my screenshot be the weights? i dont fully understand

#

there is 3 of them

#

oh that might be the viewmodel arms

#

not sure why they're all bunched up together

#

nevermind that looks correct too? no idea then

woeful phoenix
#

there's also a change from using D3DDECLTYPE_D3DCOLOR to D3DDECLTYPE_UBYTE4 when it comes to declaring bone indices in the vertex data

#

Don't worry about those bigger bones

#

That note there, make sure you are swapping that type

#

The func I patched was:

#
    {
        // this isn't FVF!!!!!
        pDecl[i].Stream = 0;
        pDecl[i].Offset = offset;
#if !defined( _X360 )
        pDecl[i].Type = D3DDECLTYPE_D3DCOLOR;
#else
        pDecl[i].Type = D3DDECLTYPE_UBYTE4;
#endif
        pDecl[i].Method = D3DDECLMETHOD_DEFAULT;
        pDecl[i].Usage = D3DDECLUSAGE_BLENDINDICES;
        pDecl[i].UsageIndex = 0;
        offset += 4;
        ++i;
    }```

You'll probably want to enforce the ubyte
#

I think that just patches it to value 5 from 4

subtle bison
woeful phoenix
#

Either way test to see if just setting the indexing works on its own

woeful phoenix
#

Anything that passes through mesh rendering will be in the shaderapi

#

consider it the translation layer for the D3Device

subtle bison
#

thank you for pointing me in the right direction 🥹🙏 . I'll start poking at it again tomorrow
Wish i thought to check the bones in blender earlier, super validating to see everything in its right place

woeful phoenix
#

it's great work, getting that palette to be picked up is the single most annoying shit ever

#

you're basically 80% of the way done

#

Once it's up though.. you're gonna have some problems between DX9 and the SW one

#

I think they map to their own internal palette

#

so you'll have to discern that

#

Or just say fuck it, onyl works on SW

subtle bison
#

gotcha, im ok with that caveat for the limited time being, i just want to see hl2 rtx mesh replacements start working.

woeful phoenix
#

good luck

polar anchor
# subtle bison gotcha, im ok with that caveat for the limited time being, i just want to see hl...

MAY HAVE FINALLY FIXED THE VK ISSUE. Not 100% sure it is fixed, but my game is so far running stable. Re-ran DDU, Reset MSI Afterburner to Default GPU settings, set Vulkan to "Preferred DXGI Swap Chain", Disabled Threaded optimization (dont know if this is needed for others but so far works with gmod), MAKE SURE TO USE DRIVER VERSION 581.80!!!!! There was a couple other things I did, but I am really tired rn so I'll send it later. Just ask me tomorrow and I can add the rest EDIT: Forgot to mention I didnt get the nvidia app either, just driver only

polar anchor
#

anyways im still getting the frame drop issue after playing for a while. I'm checking my vram usage and it isnt even in the red. So IDK what is happening here, the fps goes back up when disabling RT though

subtle bison
#

HOLY FUCKING SHIT

#

ITS FUCKING HERE

#

HW SKINNING IS HERE

#

@livid rapids

livid rapids
subtle bison
#

all of the bones still show up correctly in blender misc_lets_fucking_go

lean hatch
subtle bison
#

brb gonna go cry

sonic apex
#

-# can someone explain why hardware skinning is a big deal?

subtle bison
#

we can do mesh replacements for NPCs and other stuff now

#

so i could make dr kleiner like 2 million tris or something

#

but it also allows for stable motion vectors to be generated for view models, super important for upscaling and frame gen

sonic apex
#

ahhh
assume this is just for gmod, right?

subtle bison
#

yeah, there is no way to do this generically for a game

#

its one of the hardest things to get working in remix

#

should've also mentioned hw skinning also helps a fuck ton with performance

lean hatch
#

I should also mention it looks cool when the colors stay the sams

subtle bison
weak ermine
#

lmao

willow fog
weak ermine
#

poor bro

subtle bison
#

ill try motion blur now

#

doesnt look like it to me but maybe viewmodels are explicity exluded from the motion blur pass?

willow fog
#

Weird

#

Games literally have separate options to enable mb for vm only

subtle bison
#

ill check remix later

willow fog
#

Definitely not working

subtle bison
#

i still need to fix some of the corrupted models

subtle bison
compact blaze
livid rapids
willow fog
#

Y

livid rapids
#

I've pushed for hw skinning exactly for blueprint porting

willow fog
#

Ah

#

Well that's

#

Idk

#

Mid

livid rapids
#

You should uh.... Hydrate

#

NOW

compact blaze
livid rapids
#

There's a dude who makes tracers but it's very difficult to properly remake them

willow fog
livid rapids
#

There's some blueprints out there with custom particles

compact blaze
livid rapids
#

There was one I think for the grau?

#

The guy's name is Matin Catorce

subtle bison
#

looks like models with over 32 bones were the ones still being eldritch horrors, but now they are slowly fading away, soon the nightmare will be over ☺️

#

wish i had a vid before i fixed it

#

super fucking cursed playermodel

weak ermine
#

really

#

do gmod arg

subtle bison
#

i should try mounting it now hehe

keen rivet
keen rivet
willow fog
#

Genuinely peak pilled

tulip silo
#

This thread always feels like a crazy experiment

subtle bison
#

gmod rtx is at the forefront of insane experimentation

#

😊

lean hatch
tulip silo
lean hatch
#

we technically did skinning first kit_Nerd

subtle bison
#

here goes nothing... i better see rtx skin headcrabs

#

the hashes prob dont match 🙁

#

i cant use the toolkit to check how skinned mesh replacements work either

lean hatch
#

its still really funny to think how far both gmod rtx and rtcw have come from stabilityhood

#

something something congrats to you on 99% stability

willow fog
#

Pretty sure hl2 rtx and Gmod have different implementations of hw skinning

#

You could still technically setup the replacements again

modern quest
tulip silo
#

Peak pinned 🙏

subtle bison
#

the zombies being green looked familiar to me

#

entirely different

lean hatch
#

damn

subtle bison
#

wonder what i would need to do to get these to match

compact blaze
subtle bison
#

gut feeling hehe

compact blaze
subtle bison
#

naw that was really it. But really king david got me back on the right track

#

didnt occur to me to see if the bones ever showed up in blender like the 4 weeks ago since i started working on it as well lol

woeful phoenix
#

I'll take the credit xenthio promised me a year or so now blob_green_heart

#

What was the problem

#

Also for bones check the lods

#

That's how remix forms the hash

#

The actual number of bones / hierarchy and pos

#

And the orientations etc

subtle bison
subtle bison
#

magnusson's face still peels when he turns his head, i notice all of the faces are still sw skinned

#

so maybe im still missing something

#

the neck of some tf2 mercenaries are also missing

woeful phoenix
#

Oh I took pics of this, there are two pipelines for models

subtle bison
#

but these are dx9 only iirc

subtle bison
#

yeah gmod x64 is a whole can of worms

#

let's just say i studied a specific version of hl2 for reference and not a lot matched up

woeful phoenix
#

Rubat did a lot of changes so

#

The only way you'll get this is by just dropping the SW pipeline

#

And forcing those face flexes to not occur

#

You'll deal with non-flexible models

#

But it should work

#

You might get lucky and it'll still apply to some degree

#

But when I get home later I'll see my DM code

#

There were a few bypasses I did

woeful phoenix
subtle bison
#

been trying to load a few hl2 maps to see how multiple models are handled so far but i am getting driver crash galore, i regret booting into windows 😭

#

horrble gameplay featuring my laptop trackpad 😊

#

tried a workshop model with only dx8/9 and it seems to work perfectly fine

#

phew

lean hatch
#

Yeah

subtle bison
#

is it the same for yall for rtcw?

lean hatch
#

A little different but the same result

#

Lemme find the vid

subtle bison
#

@keen rivet no more RTX On/Off comparisons hehe

woeful phoenix
#

Yeah the only way I can do on/off now is to just replay a demo

subtle bison
polar anchor
#

Dang, not even my workshop is in here yet....

onyx ridge
#

oh wait shoot is there hardware skinning now

subtle bison
#

yes

#

not perfect yet but its 90% there

onyx ridge
willow fog
#

Imagine

onyx ridge
#

super need to see if you can bundle replacements in workshop addons

subtle bison
#

we still dont have a mechanism for that, but since we have autpbr, you could make exopbr materials and those get converted almost perfectly

willow fog
#

Imagine if

onyx ridge
#

you're still limited by the engine for those

subtle bison
#

not really?

#

a lot of addons ship 2K+ textures just fine

onyx ridge
#

unless you completely ignore the original model on the engines side

willow fog
#

Imagine if Gmod RTX

subtle bison
onyx ridge
#

if a model is Too Big then oops no more game

subtle bison
onyx ridge
#

clearly raise an issue on the gmod repo or something

willow fog
#

Imagine if Gmod RTX on the

modern sparrow
#

hello been awhile seems like alot of advancements have happened to gmod RTX last time i was here.

compact blaze
keen rivet
keen rivet
subtle bison
lean hatch
#

i can still understand who it is so its fine

subtle bison
#

guys i think something wrong is with my jeep
(i also completely forgot these are all skinned)

lean hatch
#

ITS CRAWLING

#

KILL IY

subtle bison
#

tried switching the mesh and skeleton hashes of the hl2rtx physgun to the gmod one and it just straight up doesnt show 😭

lean hatch
#

wow

weak ermine
lean hatch
#

all i said was wow

#

i have nothing else to add to the conversation

subtle bison
#

@woeful phoenix ever get that DM code? isforme

polar anchor
#

I'm still getting that vk disconnect issue, but it is happening much less.

polar anchor
#

Does anyone know how to fix the scopes in MW Base? Trying to ads with them equipped just makes the entire screen black

subtle bison
subtle bison
#

ur gonna have to use a scope like red dot or something

polar anchor
#

I see

#

BTW I tested ARCCW and it works really well with rtx remix

#

Possibly better than ARC9 (probably because it doesnt have stickers and camos to deal with)

#

The other one I want to check is CW2

#

But that mod seems to be very picky about what it will let me play with lol

subtle bison
#

just pushed the fix

#

btw keep in mind when making replacements, the mesh hashes might change in the future as i try to fix hl2rtx compat

polar anchor
subtle bison
#

no

#

as mentioned above, all skinned mesh hashes are different right now

#

and swapping the hashes in the mod.usda doesnt work, so our skinning approach isnt 1:1 to how hl2rtx is

#

so while it does work, you'll need to make your own replacements for it right now

polar anchor
#

We can at last finally add 3d grass and snow! Now I should go learn how to

subtle bison
#

huh?

#

that was already possible

polar anchor
#

o

#

i thought it wouldnt work since we would add meshes(?)

subtle bison
#

hardware skinning is for dynamic meshes like NPCs, weapons and stuff. gmod already had stable mesh hashes for static objects. For world geometry, you'd attach stuff to the map anchor

polar anchor
#

Map anchor?

subtle bison
#

anything you want to add to the map that isnt a replacement, so lights and additional geo, you'd add replacements to this in the toolkit

polar anchor
#

Wouldnt it work if we apply it to the grass texture directly? Or would that make it now move in the wind/interact with objects/player

subtle bison
#

no, the mesh hashes for world geometry is unstable unless you're using performance mode, but its preferrable to make replacements work in both modes

#

(perf mode is the perf fork being merged into main)

keen rivet
subtle bison
#

@keen rivet btw hw skinning and perf mode are in main, so uh yeah steamhappy

keen rivet
#

I thought I cooked with AutoPBR but you one upped

subtle bison
#

also it seems like culling patches work again???

#

at least the runtime ones do

#

im on the feb 11th build

polar anchor
#

This new nightly combines both builds? Awesome

subtle bison
#

anyways

perf fork is dead everyone

#

long live perf mode in main 🤓

polar anchor
#

When will it be pushed to the launcher?

subtle bison
#

already is

#

install the nightly for main

#

formal release isnt for a while because topbr needs more polishing

#

and the api light stuff

#

i got a fuck ton of fixes on the backburner weariest

#

ah fuck i left hw skinning on by default lmao

polar anchor
#

Hey uh since the downgrader was bugged on my end, what files do I need to move over to make sure my remix build is up to date? The launcher is telling me Im on the latest when I know I'm not

livid rapids
#

We love to see it

subtle bison
subtle bison
polar anchor
#

i mean for gmod official files

#

like the exe

subtle bison
#

you mean vanilla?

polar anchor
#

the top right corner telling me i was on october 8th build

subtle bison
#

i mean i would probably keep that version unless you really need to update it

#

its not required by the compat mod

#

but the update button is here

#

man i wish avalonia supported wayland

#

why the launcher gotta be blurry

polar anchor
subtle bison
#

because it causes crashes with remix replacements

#

at least on a specific driver version

subtle bison
#

you can also downgrade your game if you want a known stable version, but its not going to fix your driver crashes

subtle bison
#

it sucks that we cant selectively have that on in the engine because its hooked up to r_drawworld 😭

subtle bison
polar anchor
#

Probably should though

livid rapids
subtle bison
#

vortex

polar anchor
#

Just realised that we can replace the backgrounds with anything, might as well put some RTX Remix Screenshots in as my backgrounds

subtle bison
willow fog
#

Goodbye

polar anchor
#

also this build is killing my vram

subtle bison
#

vram usage shouldnt be any different

polar anchor
#

anyways was it by design that process command is gone?

subtle bison
#

yes because its automatic, UI isnt updated yet

polar anchor
#

when you admin clear all before, topbr no longer did it automatically. I dont think topbr is being applied rn

keen rivet
keen rivet
subtle bison
keen rivet
#

Or whatever the command is?

subtle bison
keen rivet
polar anchor
subtle bison
#

it was bothering the heck out of me testing hw skinning

polar anchor
subtle bison
#

if this is a new install, you gotta reboot your game the 1st time

willow fog
subtle bison
#

topbr is working for me just fine on a clean nightly install

polar anchor
keen rivet
#

That would work

#

I didn't consider that people with old mod folder name

polar anchor
#

ooh i forgor about that

subtle bison
keen rivet
#

Yeah

keen rivet
subtle bison
polar anchor
#

wait doesnt ~ put topbr at the highest priority?

keen rivet
#

though also I did fix some duplicate processing stuff so you might not have 200gb anymore

keen rivet
subtle bison
polar anchor
#

I thought it was first named mod would be the highest priority

keen rivet
subtle bison
#

even if it does, it still does it 😭

#

i've loaded this map like 3 times

polar anchor
keen rivet
#

I swear I fixed that

subtle bison
#

i can work on it later today, its no biggie

keen rivet
#

Inb4 I didn't push

subtle bison
#

i just want it to finally skip the spawnmenu stuff

keen rivet
#

oh yeah I forgot to do that

polar anchor
subtle bison
#

i already tried to fix it by turning off RT when it generates the thumbnails

#

but gmod doesnt like that either

polar anchor
#

whatever settings we have it at maybe interferring. I saw that with portal 2 when i tried to disable rtx to check my surroundings (no flashlight so hella dark)

keen rivet
#

we should copy icons from the main game install to avoid extra icon generation

subtle bison
#

iirc it already does this?

#

most spawn icons are there

keen rivet
#

i dont think it does?

#

i think i only copy default ones

subtle bison
#

i would prefer to fix the generation itself if we can, it would probablt fix the playermodel selector too

keen rivet
#

last i tried, generating spawn icons worked

subtle bison
keen rivet
subtle bison
#

i think it no longer overwrites the existing replacement, but that's it

keen rivet
#

maybe

zealous narwhal
#

Wait why is perf fork dead?

keen rivet
subtle bison
zealous narwhal
#

Oh cool

polar anchor
keen rivet
#

we should have the option to launch in perf mode or compatibility mode easily toggleable in launcher

#

we can set the convars in client.vdf maybe, or launch options if setting lua convars works there

subtle bison
#

why? you can toggle it ingame

keen rivet
#

its more a just in case thing

subtle bison
#

startup crashes?

keen rivet
#

being able to set it before it takes in effect

#

like crashes on map load

#

some maps crash in non perf mode

#

cough cough csgo cough

subtle bison
#

it skips patching if the offsets arent available, but these patches dont cause map crashes, it was the hw shading stuff for mesh replacements

#

which doesnt happen anymore

keen rivet
#

ah

polar anchor
subtle bison
#

ok but what maps crash these days?

keen rivet
#

idk i had crashes last i tested

#

lemme nuke my install and make a fresh one.

polar anchor
livid rapids
#

topbr's disabled and it's STILL working

subtle bison
keen rivet
#

damn i really thought i could google for gmod rtx launcher but we aren't there yet

subtle bison
keen rivet
#

dude how

subtle bison
#

does anyone have a google contact

polar anchor
#

Doesnt show up in brave or ducjduckgo

subtle bison
#

i gotta have a word with em

polar anchor
#

Rubat shadowbanned thr mod 💀

keen rivet
#

THE AI finds it but not normal google search

polar anchor
keen rivet
livid rapids
#

No more horror

subtle bison
#

i assume you modified mw base? and if so, please tell me so this can be integrated into gmod rtx

#

immediately

livid rapids
#

yeah no just disabled the AlphaDelta blur so no longer goes rasterized

polar anchor
livid rapids
subtle bison
livid rapids
steel lark
#

multiplayer support when

#

none of the settings work in mp