#Garry's Mod

1 messages · Page 21 of 1

modern quest
#

in this case, it's from model instability. the dataset was far too small

magic wyvern
#

looking at the texture here it's probably a case of garbage in- garbage out since the albedo is already quite noisy from all the rust. The source image needs to be processed to be cleaner before you can get a good normal map out of it.

subtle bison
#

that's why im gonna touch it up a bit in PS to make it more normalmap-friendly

modern quest
#

i can include an optional step in the chain to denoise or blur textures first, but in many cases it can accidentally lead to bad results

subtle bison
#

yeah a denoiser or some kind of smoothing technique would help a lot of textures from source

magic wyvern
#

something like a surface blur that uses edge detection to cordon off edges and only blurs flat surfaces might work.

#

also worth noting that blurring might introduce color banding which might manifest as lines in normal maps

modern quest
#

asked for it to be added

onyx ridge
#

i cast gimp's remove noise filter

subtle bison
#

took forever but i traced the entire thing and blacked out the rest

#

oh yeaa that's clean

modern quest
#

could you send the diffuse/albedo please

#

i need to use it to test

#

(the upscaled one)

subtle bison
#

sure

#

ooops

#

this isnt it

#

i overwrote it oops

modern quest
#

lol it's okay

subtle bison
#

here ya go

modern quest
#

thank you

subtle bison
#

oh yeaa this looks chefs_kiss

modern quest
#

hm. this is the output with my blur setup

subtle bison
modern quest
#

nice work. looks great 🙂

subtle bison
#

i think the detail is fine on the albedo, but rather the normal needs to be blurred (i think pbrify already has this?)

modern quest
#

the normal is blurred after processing. i'm experimenting with blurring it before as well with RuneStorm's suggestion (using edge detection to only blur the noisy areas, but keep edges)

#

and this is hte output. definitely need to retrain the model. once i do, i think this will look okay

lapis delta
#

how is it?

subtle bison
#

performance looks pretty good at 1080p, less smeary

#

but at 1080p i get like 19fps with my 2080 lmao

lapis delta
#

does it help to decrease roughness loss?

subtle bison
#

wdym?

#

roughness looks about the same

#

no RR vs RR @720p DLSS perf

#

you can see a lot of normal detail gets washed out

#

oops forgot to fix the roughness

#

mmm rust 🤤

lapis delta
subtle bison
#

hopefully i achieved a good realistic look while also matching vanilla

lapis delta
subtle bison
#

what am i looking for

lapis delta
#

wait a min

lapis delta
#

and this is without

subtle bison
#

ouch

#

yeah that's a lot of normal detail getting removed

modern quest
subtle bison
#

yea that's what im using

lapis delta
#

it helps with decrease

#

but not as i thought

subtle bison
magic wyvern
#

re-living what everyone did back in 2007

earnest yew
keen rivet
#

Does the fire itself work?

subtle bison
#

yeah somewhat

keen rivet
keen rivet
compact blaze
subtle bison
#

yea

compact blaze
#

also someone should def try adding lights to the nyan cat gun

keen rivet
#

i'll give it a go

#

also i figured out what was causing my water flickering issues

#

rtx io being enabled means that theres a frame when a texture changes that the texture isnt replaced properly

#

no clue why

keen rivet
#

just trying this out now

#

it doesnt extract properly

#

no matter what i try to extract with

quiet scroll
#

Uh oh, the original files been nuked. I did a clean install of windows and wiped my C drive, turns out my rams cooked so my systems down for a bit.

keen rivet
#

It's only some of the files in the archive broken

onyx ridge
#

i've seen some people using ray reconstruction, i take it that's taken from portal with rtx's remix runtime?

onyx ridge
#

ahh alright

onyx ridge
#

phys_lobby is so fucking good with volt

#

tbh it's also really good with remix too since you can break a pole that disables all the lights

compact blaze
keen rivet
#

Yeah

#

That pistol is awesome

lapis delta
#

@onyx ridge can you upload your materials to moddb please?

onyx ridge
#

what'd be the best way to go about it

plain blade
#

last time i tried to make pbr it was black

compact blaze
#

there's a catagory for releasing pbr assets

#

like @glossy mauve released one

glossy mauve
#

does it.. work?

compact blaze
glossy mauve
#

lmao

onyx ridge
#

the models all already have specular, emission and normal maps

compact blaze
# glossy mauve lmao

also i wanna ask has the method for installing rtx remix into gmod changed in any way?

onyx ridge
#

i split the diffuse texture into its colors and alpha in gimp (because the alpha is used for emission)

#

then split the normal map texture the same way (because the alpha is used for specular)

#

inverted the specular for roughness, upscaled the textures

#

then did gimp magic to make it so just the most reflective parts (aka the slide) is metallic

#

made a metallic map out of that, then ingested them and applied them in remix

glossy mauve
#

as far as im aware it still works

#

only thing i changed was porting the new stuff from portal rtx

compact blaze
#

and just optimizing rtx remix in general for gmod

glossy mauve
#

just drag the things in the rtex folder to the gmod one

compact blaze
glossy mauve
#

i haven't kept up with the updates, check out what Xenthio is doin if you want the latest patches i guess

onyx ridge
#

i have started on the gravity gun™️

#

i'm slightly confuddled by the crystal rendering

#

it has alpha and it's material is marked for it being for transparency but it's such a low amount it's barely noticeable

#

but it looks like it's emissive until it's somewhere dark where it just isn't ??

#

i'll probably just apply my own touch™️

#

(aka making it not transparent and just having it be emissive instead)

compact blaze
#

Also I didn’t know gmod was able to render pbr stuff if you can grab pbr stuff from that replacement addon

#

Unless I’m mistaken

onyx ridge
#

it can i think but it's not very noticeable

#

there aren't many dynamic lights which i think are required for normal maps to be visible

#

there's no metallic properties which means you can't really have effective shininess

#

(this is what it looks like somewhere darker)

#

actually

#

i think it's game driven??

#

it seems like it's taking its brightness from what would be the lightmap

compact blaze
#

i remember seeing someone like use a really scuffed method

#

to get pbr working kinda

#

lemme find the video

#

nvm i think the video is gone

#

but it was a destiny 2 character iirc

#

also there's this

magic wyvern
#

I believe Day of Infamy is the only source engine game that implemented a GGX shader for PBR.

onyx ridge
#

good news: can still override the opacity thing

onyx ridge
subtle bison
#

dear lord these models are delicious

keen rivet
#

i want to try getting physgun colours working but im not entirely sure where to start

onyx ridge
#

i've noticed the mmod replacements mod's physgun is blue but flashes red

#

i'm not sure if that's a hint since i haven't actually tried changing my physgun colour yet

keen rivet
#

another thing i want to try is automatically fixing up particles from lua

onyx ridge
#

that i will wait patiently for

#

i wouldn't be surprised if i slowly chip away at all the mmod weapons in the next week or so but not having white squares/rainbow triangles taking up my screen whenever i shoot would be a good motivator

keen rivet
keen rivet
#

thx

#

it'll be an easy way to test my fix lol

onyx ridge
#

i'm pretty sure it's supposed to be muzzle smoke(?)

keen rivet
onyx ridge
#

i think so

keen rivet
#

looks like something made is a peice of UI that isnt classed as so

onyx ridge
#

woah

#

i've never had it that bad

#

for me i usually just get the white squares but sometimes get rainbow triangles on certain maps

keen rivet
#

these seem to be drawcalls without textures

onyx ridge
#

tried capturing them once and in omniverse they were material-less so checks out??

keen rivet
#

skimming thru the code

#

my guesses so far are

keen rivet
keen rivet
onyx ridge
keen rivet
#

ok with the way these fixes will work i think i'll be able to do some pretty cool stuff

#

such as automatically flag water materials to show up properly

#

automatically fix particles

#

and automatically hide textures and shaders that are broken

subtle bison
#

xenthio just making fire after fire 🙏

onyx ridge
#

hell yeah!!!

keen rivet
#

only worry is that doing this makes the game freeze for like 20 whole seconds lol

#

i'll try making it async

keen rivet
#

@onyx ridge ok

#

tell me if it works

#

it's uploading right now

#

the broken material should now be replaced with a material you can ignore

#

uploaded

quiet scroll
#

For texture tagging, sv_cheats 1 and then host_timescale 0.1 makes textures a lot easier to tag when they only appear for a few seconds if you want the point and click method lol

earnest yew
#

i thought you pinged me for a sec

#

lol

keen rivet
#

lol

#

oh

#

i forgot to mention

#

you need to run rtx_fix_materials

#

for now lol

#

i'll make it automatic once i perfect it

keen rivet
#

ok

#

now it's automatic

#

its funny the idea of doing this fix like this came to me in a dream lol

quiet scroll
keen rivet
#

oh i fixed ui too

subtle bison
#

UI fixed how?

keen rivet
#

uhh

#

magic

#

like

subtle bison
#

no i mean what was broken about it?

keen rivet
#

yknow how things would dissapear

subtle bison
#

oh shit so the flickering is fixed?

keen rivet
#

yeah that

subtle bison
#

mr magic ✨

keen rivet
#

like this would have its middle part removed

subtle bison
#

yeah

#

🙏

#

so when are you going to integrate the entirety of rtx remix into the addon? /s 🤣

keen rivet
#

this is how btw

#

even my weapon icons are working again

subtle bison
#

ah so remix was confused the whole time

keen rivet
#

yeah the ui that was drawn as a solid colour didnt have a texture for remix to remember

#

so i gave it a 1x1 white pixel texture

#

k uploading to workshop now

#

if you guys appreciate my fixes I would appreciate throwing some help my way
https://patreon.com/xenthio
I do all this in my free time and will even spend entire days working on these things lol. And it's all free for anyone to use or edit for themselves :)

#

<3

#

just consider it if you want

subtle bison
#

if my financial situation ever gets better ill be sure to join ur patreon

#

u have done so much 🙏

keen rivet
#

anyways whats next on the list to fix

#

i think it was projected textures and dlights

subtle bison
#

what about the gmod legs remake?

keen rivet
#

low priority currently lol

subtle bison
#

gotcha

#

so how would you go about projected textures? i thought that used CSMs which are dx9 only?

keen rivet
#

no its just a shadowmap and a projected texture

#

really what i'm going to do is just replace those functions with regular old lights probably

subtle bison
#

ahh ok

keen rivet
#

ui being fixed feels cursed

#

i feel like i'm about to be arrested by the source engine police just looking at it lol

subtle bison
#

lmao

#

think about it the other way, source does a lot of cursed shit to make it work the way it does

#

and you are basically undoing a lot of that 😉

keen rivet
#

i'm doing cursed shit to make it work lmao

subtle bison
#

so then it evens out hehe

keen rivet
#

i just turned something uncursed into something cursed for gui to work lol

subtle bison
#

if it doesnt have major performance penalties and it makes the remix experience better its not cused for the person using it in my eyes hehe

keen rivet
#

oh i didnt even consider performance

#

i dont thinkll have any real impact

subtle bison
#

lol yea prob not

keen rivet
#

its a 1x1 pixel texture lol

subtle bison
#

nooo my 0.001 fps

#

what about the possibility of getting the dynamic sky's working?

#

👀

keen rivet
#

uhhhhhhh

#

low

#

i mean, they might work if i create the texture from lua but they wouldnt look the same.

#

oh crossbow scoping works 0.001% more than it used to

subtle bison
#

hm? this just works for me already?

keen rivet
#

oh

#

didnt for me before

#

anyways

#

tell me if the ui fix works

keen rivet
#

also adding rtx_pseudoweapon_unique_hashes_downscale as i'm noticing that a brief stutter occurs when you switch between the mmod weapons.

keen rivet
onyx ridge
#

using the mk v from this

#

the mmod fix works too, awesome !!

#

though for some reason the hash of the ar2's firing texture's changed

onyx ridge
#

how come no one mentioned that 3d skyboxes work 😭

quiet scroll
#

I thought it was just me, his heads missing for me too AAA

onyx ridge
onyx ridge
#

@keen rivet i've noticed that since remix fixes got the material update™️ any map glass replaced by destructible glass is invisible to remix

#

resetting the material with the material tool fixes it so maybe it's a texture i've ignored but idk

keen rivet
#

need to fix

onyx ridge
keen rivet
#

@onyx ridge share your weapon replacements when you can I would love to try them

onyx ridge
#

this is just the pistol textures taken from my ingestion folder i have no idea if it'll actually be useful

#

(i'm kinda speed limited atm)

#

i have also realised that the emission texture is kinda not entirely fully black so the pistol's a dark grey in pitch black i need to sort that

onyx ridge
lapis delta
plain blade
#

what is the best and fastest way to make upscaled pbr texture?

subtle bison
#

octotex is good for full automation but you need a gpu with a lot of vram, though the actual accuracy of the generated PBR materials are not as good as doing it yourself

subtle bison
#

that might cut it? im not too sure what models octotex uses for stable diffusion. PBRify would be preferable as it's a lot lighter and more authentic with its generated materials, but you still have to manually export and import to and from rtx remix

plain blade
subtle bison
#

do you need heightmaps? also it should support it with the latest version, but its an optional feature

subtle bison
#

i cant imagine ai generated hightmaps to be accurate

#

but i guess you can try it

onyx ridge
#

dangit

#

i tried replacing one of the curved wall things in phys_lobby and it permanently broke the texture used for it

#

it somehow deleted the original mesh instance but still has a broken version of my imported mesh

#

said mesh has a material that has all of the textures applied but when loaded in-game show up blank

#

i hate how buggy the remix editor is

#

yes please i love my program that for some reason permanently drops from 90fps to 20 after losing focus

subtle bison
#

i also hate when you can't select any objects in the viewport after alt tabbing

#

i have to reopen the whole project to fix it

onyx ridge
#

you can it's just the cursor gets way offset

subtle bison
magic wyvern
#

odd, I haven't encountered something like that so far.

subtle bison
#

its extremely frustrating

onyx ridge
#

nope, i just try dealing with it

onyx ridge
glossy mauve
#

i wanna recreate this image in rtx lmao

onyx ridge
#

the world if atmospheric house worked correctly:

compact blaze
onyx ridge
#

last i checked it was an hdr only map which means that no models render

half viper
loud mural
#

He fixed the models without a dx80.vtx not rendering

#

HDR maps are still busted

#

Only prop_statics render in HDR maps atm

onyx ridge
half viper
#

Ah

loud mural
#

It only happens with his addon mounted though

#

This is an HDR only map and dynamic props render just find when Remix Fixes is unmounted

#

We still have no lights though

#

The only reason why there is any light is because of the skybox textures

glossy mauve
glossy mauve
#

i feel really dum for asking this but, can someone give me a hand??

#

changes in the Editor won't apply to the game

#

i really don't know what is going wrong since i didn't change anything from last time

onyx ridge
lapis delta
#

and is your textures in mod's folder?

subtle bison
keen rivet
#

i'll fix the glass bug now i'm awake

earnest yew
#

bitch im back out my coma

onyx ridge
#

corrected pistol emission texture™️ i think

keen rivet
keen rivet
# onyx ridge

you should totally package these up as mods and upload them onto moddb

onyx ridge
onyx ridge
#

but i also kinda wanna wait until i've done all the weapons

keen rivet
#

i'll ask the creator of the procedural glass addon for a favour hold on

onyx ridge
keen rivet
keen rivet
#

it'll be better for people who want to pick and choose their favourite replacements

onyx ridge
#

that's true

#

also dang irl this would actually be useful

glossy mauve
#

even tried reinstalling the .trex file and engine dll

#

it's pretty bizzare

#

cuz my old changes still work just fine

onyx ridge
#

oh i was gonna say maybe an addon's messing it up but if old ones still work then strange

#

alsooooo

#

this happens sometimes randomly???

#

player head and some random textures get replaced with another material in the scene

#

viewmodel gets assigned a random blank texture

#

persists until the game's restarted

#

sometimes when it happens the game'll error about something something derma gwen and an invalid texture

keen rivet
#

i've never had that

onyx ridge
#

i've found it most consistently happens in phys_lobby when opening the spawnmenu and hovering over a ton of items in it

keen rivet
#

used your pistol replacements but left out metal texture as i felt it looked strange lol

#

lmao i think the emissive is very very slightly on

onyx ridge
#

yeah that's the problem i sorted with the newer emissive texture

keen rivet
#

oh right

onyx ridge
#

tbf i don't think it's as metallic as what i've done but i don't know if that's artistic or vertexlitgeneric limitations™️

keen rivet
#

idk lol, just looks a little off

onyx ridge
#

guh your screenshots are way cleaner than mine

#

having a 4050 SUCKS

#

though it's better than not having one at all

keen rivet
#

i have ray reconstruction on

onyx ridge
#

comedically timed alt tab tantrum

keen rivet
#

lol

keen rivet
#

theyre also nice lol

onyx ridge
subtle bison
# keen rivet

i could do some metalwork for it if that's ok @onyx ridge

onyx ridge
#

if you want to!!

subtle bison
#

should I share my physgun replacement?

lapis delta
#

exception
my beloved

onyx ridge
#

the current metal texture for it is pretty much just me doing minimum shenanigans with the specular texture

#

** ** i think

#

i should do what i did with the smg more

#

(which is opening the model usd in blender and manually selecting the metal parts and painting a texture)

#

that's probably more accurate to both how it works in real life and how it's handled by source

#

i should try and find a stable hash somewhere on office extended

#

and like sort out the window lights!!

keen rivet
#

k mee said he'll update it with a convar that disables the usage of the old map material for the glass

#

thats whats causing the issue

#

its only happening now because yeah i recently fixed the SetMaterial function

onyx ridge
#

me indirectly causing a mod that hasn't been updated for like nearly two years to get an update

keen rivet
#

lol

#

you made me mmod pilled

#

it works so well with rtx lol

onyx ridge
#

muahaha

#

i originally started using it because i realised base hl2's weapon animations are slightly jank

#

then realised "oh wait these have higher quality base models which is great because i can't replace them with remix"

#

then i realised that they have like half a pbr set built in

#

some of cs:s's textures have normal maps surprisingly

#

also excuse the fact most of my comparison screenshots don't have the same lighting for some reason screenshotting causes rendering to flicker for a moment

keen rivet
#

lol

keen rivet
lapis delta
onyx ridge
#

here i am barely getting 40 with frame gen on dlss balanced

keen rivet
#

honestly with ray reconstruction even performance mode looks great

subtle bison
#

me with my 2080 at 1080p dlss perf getting like 22-30fps on flatgrass bread_sad

subtle bison
#

ill go ahead and try it

subtle bison
#

havent fixed the brightness but my trick worked

#

all source lights disabbled

#

there we go

valid elbow
keen rivet
#

<3

valid elbow
#

So, are you using 64bit build already?

keen rivet
#

I'm still sticking to 32 for now

valid elbow
#

Still with dxlevel 70?

subtle bison
#

@onyx ridge got a weird issue with the remix toolkit not showing the correct texture for the pistol, the albedo only shows the emissive dots?

#

same goes if i click the slide

#

nvm i guess the toolkit is drunk

#

it shows fine in photoshop

scenic jungle
#

did anyone figure out how to fix mw base?

subtle bison
#

nah not yet

keen rivet
keen rivet
scenic jungle
#

its invisible

subtle bison
#

got annoyed with how remix split the pistol slide and body separately so i merged them back in blender so i can finally start painting 🖌️

keen rivet
scenic jungle
#

no

valid elbow
#

Oh, texture fixes are kinda expensive

subtle bison
#

im repainting the whole pistol

scenic jungle
subtle bison
#

im also gonna re-do the normals

keen rivet
keen rivet
keen rivet
valid elbow
keen rivet
#

Oh yeah but they'll stop as soon as they're done

#

I can probably remove the coroutine stuff I was only using it to debug a crash

valid elbow
#

@keen rivet what about collecting materials once? To make it less expensive. Not sure if mat object is being updated while playing, so did it with pathes

valid elbow
#

Works good without calling it infinitely ❤️

keen rivet
#

its better when done at runtime to avoid issues with file mismatch in multiplayer for example

#

some of the materials cant be written as theyre dynamically created

valid elbow
#

Understood. Thanks

keen rivet
scenic jungle
keen rivet
#

damn :(

#

send me the link to the addon

#

i'll look into it

earnest yew
#

bitch im back out my coma

subtle bison
#

looked up a good reference model online and added some real rubber to the grips

#

lmk if this is a good change or not

#

any criticism is welcome

#

here is the original as well

#

here is the pistol so far

subtle bison
#

i dont have emission yet but here is the somewhat finished material work

#

tbh it looks almost the same as jessica's lmao

#

i guess i could go back and make it more scratched up?

#

ngl this model is pretty good already

#

here is a better angle

#

i definitely forgot to fix some things so yeah unfinished

subtle bison
#

fixed, redid the normals again, every piece on the gun should have the correct material now

#

the whole gun except for the slide should be a slightly glossy metal, while the slide is rough, and the grip is rubberized

#

im still kinda indecisive on the rubber texture, i dont think it fits with the gun style but i can re-do it later, it cant be seen in first person anyway

#

yeah im convinced that rubber grip is shit

onyx ridge
#

ooh, looks pretty alright

#

i still kinda prefer my set though i think i'm just biased towards shiny things

onyx ridge
#

19 verts too many

keen rivet
onyx ridge
#

i should play about with some ported model addons

#

they probably have the same uvs as the original models so there's nothing stopping me using the original textures

compact blaze
onyx ridge
#

hmuh

#

for some reason h0l-d4 has incredibly slow and choppy animations

#

(for elements appearing and disappearing)

#

but it otherwise works fine??

#

(though you do have to play about with a render target if you have blur enabled)

#

wait it's something generally with the game's hud??

#

hints are really choppy too

#

the hl2 hud replacement works alright but it's a bit too snappy

#

it seems to error pretty often too because info from the original hud isn't being processed when it should

#

tf??

onyx ridge
#

i'm guessing ray tracing through portals isn't really feasible without a source code portal implementation

onyx ridge
#

okay whatever ram i have is fucking good

#

this has no impact on my fps

humble mango
onyx ridge
#

hm

#

drones rewrite's rendertargets work fine#

#

(though not raytraced of course)

lapis delta
onyx ridge
#

i think that's just frame gen ?

#

the max available was constantly changing

lapis delta
#

yea, it glitches out when u enabled fg, but your fps is low

onyx ridge
#

always is™️

onyx ridge
#

made both regular and 'rtx' icons

#

(the rtx one was supposed to have a shadow but blender wasn't agreeing with me)

compact blaze
compact blaze
onyx ridge
#

balanced has little to no performance and vram difference

#

any less and i think there's too much detail loss for it to be worth it

subtle bison
#

me at 720p DLSS Perf 😭

keen rivet
onyx ridge
#

i have no idea

#

i actually do not know how portal renders portals but i'm betting it's different to what you can do with just garry's mod's lua

#

and even if it is possible to perfectly replicate it i wouldn't be surprised if lightspeed studios tweaked it so it works better

compact blaze
keen rivet
#

2560 x 1440

compact blaze
compact blaze
keen rivet
#

yeah dlss full res is that

compact blaze
#

how tf does ur pc not overheat?

onyx ridge
keen rivet
onyx ridge
compact blaze
onyx ridge
#

50+ fps

onyx ridge
compact blaze
#

wow those fans are uh, massive

keen rivet
#

beefy cooler

#

super quite too

#

noctua

compact blaze
#

whats the difference between a cooler and fan?

#

ik this sounds like a dumb question

#

im not that much of a pc nerd

keen rivet
#

cooler is what the fan is attached to

#

big ass heatsink

compact blaze
#

ah ok

keen rivet
#

metal fins attached to the cpu that they basically transfer heat from, that air passes through to cool.

keen rivet
# keen rivet

beefy ass computer yet rtx remix still crashes the gpu drivers when playing with glass :(

onyx ridge
#

have no idea how mine handles it !!

keen rivet
#

anyways, to speed up gmod it might help you to try these commands.

#

mat_viewportscale 0; gmod_mcore_test 1; mat_queue_mode 2

#

189 -> 210 fps for me

#

at ultra performance the command makes a bigger difference
230 -> 322 fps

#

since remix will only run as fast gmod can.

onyx ridge
#

i have the latter two commands and it didn't make much of a difference

keen rivet
#

yeah it might be tiny

onyx ridge
#

heavily doubt i'm being limited by gmod, since my 1080 in the same situations can easily push 120+ fps with a lot of graphic mods

keen rivet
#

well consider that your cpu and gpu are now not only just doing gmod, but also now doing gmod and rtx remix

onyx ridge
#

that is true

keen rivet
#

also pushing a long overdue optimisation to rtx remix fixes right now

#

+10 fps for me

onyx ridge
#

ooh

subtle bison
keen rivet
#

adding an option to remove a loop that might not be needed when rtx_experimental_lightupdater_count is set to a high value

#

also renaming a couple of convars

keen rivet
#

throw in a shiny new workshop icon too lol

#

tell me if the update causes any new issues

subtle bison
#

ok seems to be fine when disabling pseudoweapons

keen rivet
#

turn this up

#

the mmod weapons must have some insane highres textures or something because theyre the only thing this happens with

subtle bison
#

are lights supposed to break when disabling vertex lighting as well? i havent messed with the option before the UI update

#

its more severe in some other areas in construct

subtle bison
#

culls really up close

keen rivet
subtle bison
#

hu

#

odd

#

would there be any remix specific settings that could break this?

keen rivet
#

whats r_PhysPropStaticLighting set to?

subtle bison
#

1

#

on another sidenote, maybe not related to remix fixes, but the terrain texture seems to be bugged on construct

#

the scale is much higher than its supposed to be

keen rivet
#

its annoying i think the map is 7/11

#

issue in vanilla gmod too

keen rivet
subtle bison
#

doesnt matter if vertex lighting is on or off, lights are completely stable 😎

subtle bison
#

ok so l4d characters have eyes?

#

well fake eyes like shown a while back but hey they aren't stretched

#

cant adjust them with the eye tool either

onyx ridge
#

for some reason in enclosed spaces sun lights tend to not render in areas they're supposed to

#

it almost seems like they render when you're outside the room they're in but don't when you're in

keen rivet
onyx ridge
#

oh probably

clear tendon
#

oh wow, i've just noticed this. But guns now show in reflections

#

must be rtx fixes

keen rivet
clear tendon
compact blaze
# onyx ridge

off topic but if u ever get the chance try play without global illumination

#

and just direct illumination

#

its a vibe

onyx ridge
#

texture's probably a biiit too clean compared to the original but eh

#

eventually i'll have a scene that's 100% pbr assets

humble mango
#

some photo

#

time to take some snapshot and remaster it

valid elbow
valid elbow
keen rivet
keen rivet
loud mural
valid elbow
loud mural
keen rivet
valid elbow
#

Same

loud mural
#

It only happens when I go to switch weapons

keen rivet
valid elbow
loud mural
keen rivet
#

That's super odd

valid elbow
#

Kinda strange

#

For me, material fixes are fixing almost all materials

loud mural
valid elbow
#

Except rounded box function with transparency

keen rivet
#

Try reload the map make sure fix materials is on

valid elbow
#

Yep, prob it didn't fixed it for him because called too early

loud mural
valid elbow
#

While LocalPlayer is nil

loud mural
#

It fixes my hud and stuff as long as I don't try to switch weapons

keen rivet
loud mural
#

Do you mean fixnow?

#

force doesn't exist for me

keen rivet
#

Yeah

#

Fix now

loud mural
#

Still broken

keen rivet
#

Where are all your weapons?

#

You only have physgun

loud mural
#

Yup

#

And Camera and Toolgun

keen rivet
#

Give yourself all the weapons

loud mural
#

lol that fixes it

#

Wait

#

wth? it fixed it only for a couple of seconds

keen rivet
#

Huh...

loud mural
#

I have no addons enabled

keen rivet
#

Turn net_graph off

loud mural
#

Other than your stuff

#

and NikNaks

loud mural
#

Still broken after I reloaded the map too

keen rivet
#

Darn

#

hold on I'll get out of bed and play around in a moment to see what I can do

#

I just woke up lol

loud mural
#

Gotcha np

onyx ridge
#

i've found it happens randomly either way

keen rivet
#

That's annoying why did it break now :(

#

works for me

#

maybe you need to mark a texture of some kind as ui

loud mural
#

I marked all of the UI textures as UI, that was part of what I tried before I messaged here

#

So I just decided to nuke my rtx.conf

#

And it works now

keen rivet
loud mural
#

Yeah I'll try it

keen rivet
loud mural
#

Yeah I tried yours and that works also so I definitely messed something up

#

Sorry about that

keen rivet
#

no thats fine :D

loud mural
#

Is this just another me issue or do you guys get this too?

keen rivet
#

no i get that

#

ive never been able to figure out what to do with the underneath of water

loud mural
#

It seems like it just stops rendering the world above for some reason

loud mural
keen rivet
#

yeah

#

i'll get around to that eventually

valid elbow
#

@keen rivet autorun/cl_init.lua - in FixupMaterial material can be nil. s is nil

keen rivet
#

where did s come from wtf

valid elbow
#

Prob it was filepath

keen rivet
#

yeah its meant to be

valid elbow
#

And 10 seconds cooldown for "optimised update" is too much

keen rivet
#

nah

#

its not

#

i had it never update before

valid elbow
#
RTX = RTX or {}

RTX.Ents = RTX.Ents or {}

local lights = NikNaks.CurrentMap:FindByClass( "light" )
lights = TableConcat(lights,NikNaks.CurrentMap:FindByClass( "light_spot" ))

local c = Color( 255, 255, 255, 1 )

local light_poses = {}

for k, v in pairs(lights) do
    if v.origin then
        table.insert(light_poses, v.origin - v.angles:Forward() * 8)
    end
end

for k, v in pairs(RTX.Ents) do
    if IsValid(v) then
        v:Remove()
    end
    RTX.Ents[k] = nil
end

local amount = 128

for i = 1, amount do
    local ent = RTX.Ents[i] and IsValid(RTX.Ents[i]) and RTX.Ents[i] or ents.CreateClientProp( "models/hunter/plates/plate.mdl" )
    ent:SetModel( "models/hunter/plates/plate.mdl" )
    ent:SetRenderMode( 2 )
    ent:SetColor( c )
    ent.Draw = function( self )
        self:DrawModel()
    end
    ent:Spawn()
    RTX.Ents[i] = ent
end

local next_update = 0
local last_light = 1
hook.Add("Think", "RTX.Shuffle", function()
    local now = CurTime()
    if now < next_update then return end
    next_update = now + 0.15
    for k, v in ipairs(RTX.Ents) do
        local s = light_poses[last_light]
        if not s then
            last_light = 1
            continue
        end
        last_light = last_light + 1
        v:SetPos(s)
        v:SetRenderMode( 2 )
        v:SetColor( c )
        v.RenderOverride = nil
    end
end)
keen rivet
#

I use an entity to easily start and stop its functionality at runtime

valid elbow
#

Tested with 128 on big maps. 128 is the best ( 256 is giving me 1 frame per 3 seconds ), updating every 0.15 seconds is just good ( no freezes, fps is good )

#

I just shared my numbers

onyx ridge
#

excuse my intrusion

keen rivet
#

uhh

keen rivet
#

with my code 1024 is fine

valid elbow
#

I'm testing it on rp maps xD

onyx ridge
#

i use 2048 and it gives me no different performance to 16

keen rivet
#

yeah on maps with less lights

#

but gm_construct has a lot of lights

onyx ridge
#

(again, it's likely my gpu's being too hammered by path tracing for anything cpu wise to have much of an impact)

keen rivet
#

so it needs to be 1024 if surpress light keeping is on

valid elbow
#

Tested it on rp server for my friend

keen rivet
#

lol

#

its meant to be automatic so if theres less updaters than lights it'll constantly update

valid elbow
#

Understood, nice idea

keen rivet
#

but i totally forgot to implement that sdo thx for the heads up lmao

valid elbow
#

You are the best person in whole rtx remix community, I'll try to help my friend with implementing rtx-remix for his hl2rp server

#

Just wanted to give it a try

keen rivet
#

i appreciate anyone willing to look over my shitty code

#

<3

valid elbow
#
local convars = {
    ["r_drawsprites"] = 0,
    ["r_drawdecals"] = 0,
    ["mat_dxlevel"] = 70,
    ["mat_disable_d3d9ex"] = 1,
    ["mat_softwarelighting"] = 0,
    ["mat_queue_mode"] = 0,
    ["r_novis"] = 1,
    ["r_frustumcullworld"] = 0,
    ["r_occlusion"] = 0,
    ["r_lod"] = 0,
    ["r_staticprop_lod"] = 0,
    ["r_worldlights"] = 16,
    ["r_unloadlightmaps"] = 1,
    ["r_shadows"] = 0,
    ["r_glint_alwaysdraw"] = -1,
    ["r_3dsky"] = 0,
    ["cl_first_person_uses_world_model"] = 0,
    ["r_WaterDrawReflection"] = 0,
    ["r_WaterDrawRefraction"] = 0,
    ["r_radiosity"] = 0,
    ["r_PhysPropStaticLighting"] = 0,
    ["r_colorstaticprops"] = 0,
    ["r_lightinterp"] = 0,
}

If someone is interested in "breaking cvars"

keen rivet
#

lol

valid elbow
#

Doing it like that

local convars = {
    ["r_drawsprites"] = 0,
    ["r_drawdecals"] = 0,
    ["mat_dxlevel"] = 70,
    ["mat_disable_d3d9ex"] = 1,
    ["mat_softwarelighting"] = 0,
    ["mat_queue_mode"] = 0,
    ["r_novis"] = 1,
    ["r_frustumcullworld"] = 0,
    ["r_occlusion"] = 0,
    ["r_lod"] = 0,
    ["r_staticprop_lod"] = 0,
    ["r_worldlights"] = 16,
    ["r_unloadlightmaps"] = 1,
    ["r_shadows"] = 0,
    ["r_glint_alwaysdraw"] = -1,
    ["r_3dsky"] = 0,
    ["cl_first_person_uses_world_model"] = 0,
    ["r_WaterDrawReflection"] = 0,
    ["r_WaterDrawRefraction"] = 0,
    ["r_radiosity"] = 0,
    ["r_PhysPropStaticLighting"] = 0,
    ["r_colorstaticprops"] = 0,
    ["r_lightinterp"] = 0,
}

local convars_runconsolecommand = {
    ["mat_disable_d3d9ex"] = 1,
    ["mat_softwarelighting"] = 0,
    ["gmod_mcore_test"] = 1,
    ["mat_queue_mode"] = 2,
    ["r_frustumcullworld"] = 0,
    ["r_occlusion"] = 0,
    ["r_lod"] = 0,
    ["r_staticprop_lod"] = 0,
    ["r_worldlights"] = 16,
    ["r_shadows"] = 0,
    ["r_glint_alwaysdraw"] = -1,
    ["r_3dsky"] = 0,
    ["cl_first_person_uses_world_model"] = 0,
    ["r_WaterDrawReflection"] = 0,
    ["r_WaterDrawRefraction"] = 0,
    ["r_radiosity"] = 0,
    ["r_PhysPropStaticLighting"] = 0,
}

local function ApplyConvars()
    if util.IsBinaryModuleInstalled("cvar3") then
        for k, v in pairs(convars) do
            GetConVar(k):SetValue(v)
        end
    else
        for k, v in pairs(convars_runconsolecommand) do
            RunConsoleCommand(k, v)
        end
    end
end
valid elbow
#

So person with cvar3 module shouldn't get any errors

valid elbow
keen rivet
#

shoutouts to people like
BlueAmulet (All the patches I'm not smart enugh to do)
ALEX (OctoTex)

#

everyone else in this discord

valid elbow
#

I can't ever imagine how BlueAmulet did it

#

He did a nice job

#

And I can't imagine how you did such things with mats ( it's awesome, dude )

keen rivet
valid elbow
#

But later

subtle bison
loud mural
# loud mural

If anyone had the same issue I figured out what was causing it, I accidently ignored his 1x1 fixup texture

keen rivet
#

oh lmao

loud mural
#

Well I know why I ignored it now

#

It paints itself over some props randomly

keen rivet
#

can you tell me what texture that is meant to be ontop of that prop?

#

mat_crosshair?

#

and give me the map too

loud mural
#

Sure

#

hit material "maps/zm_rig_v4e1/metal/metalfloor001a_920_331_1684"

#

It's hitting the brush texture

#

Even though I'm staring directly at the prop

#

It's a prop_static from the looks of it

#

It's only the tank props on this map for some reason

#

I'm on zm_rig_v4e1

#

I haven't tested the other ones yet but I imagine they are the same

keen rivet
#

looking into it

#

i dont see it

loud mural
#

Fun

#

How does this always happen

keen rivet
#

like the part where it spams with "Found and fixing material"

loud mural
#

Sure

keen rivet
#

does it happen with my rtx.conf too?

loud mural
#

I tested a blank rtx.conf but I'll try yours

#

I left in some other stuff just in case the context was important to you

#

Okay so trying with your rtx.confg it looks okay but the rest of the map is partly rasterized

loud mural
#

What are your launch args rn? I want to see if mine are different in a significant way

loud mural
#

So with your launch args and your rtx.conf I still get a half rasterized game like I showed above

keen rivet
#

what games do you have mounted?

loud mural
#

HL:S, HL:DMS, CS:S, HL2, HL2:DM, HL2:LC, HL2:EP1, HL2: EP2, DOD:S, Portal, Portal 2, TF2, CS:GO, L4D, L4D2, and G-String Retail

keen rivet
#

try unmounting them and see if it helps

#

something is adding a texture to something and i dont know what

onyx ridge
#

if it helps i have hl2, ep1, ep2 and tf2 mounted and it works fine

loud mural
#

I disabled everything, same issue

keen rivet
#

hmm

#

i wish i knew what material ingame is being overlayed there

loud mural
#

Okay I think I may know what's happening

#

I dug out the files that were packed inside the map and this prop is missing a texture

#

In the first slot which may be why it's being replaced with the 1x1

keen rivet
#

oh

loud mural
#

There is another larger tank with a different texture but the same issue;

#

models/dimidrol/equipment/5c9e9d62.vtf

scenic jungle
#

for some reason models are low poly???

valid elbow
#

@keen rivet I need your paypal. My friend told me your work is awesome, so I should donate you 🙂

keen rivet
#

Oh that would be lovely I really appreciate that

valid elbow
#

And we are going to launch it on rp server

subtle bison
#

wouldnt that be sort've an issue as we dont have a fully actualized installation guide for end users outside this discord?

#

or rather a easy to use installer

ebon lichen
#

@keen rivet @fringe ingot thank you for all your hard work!!

subtle bison
#

my bad, I was under the impression it was out of date

keen rivet
#

it still works

#

the only part thats different is you dont need to do the lua menu

keen rivet
empty leaf
#

so my garry mod rtx no longer woks i go into a map anmd then it crashes with a wight box comes up with err box so fast i cant even see wat it says

#

nor am abile to dounload the lastist brige remix

#

fixed it myself it was addon cxonflicting

keen rivet
#

this isn't an issue when you use the vanilla gmod stdshader dlls

loud mural
#

My game crashes though if I use the vanilla dlls

keen rivet
#

yeah same on most maps lol

compact blaze
#

u have to like disable smth

#

try check the old hl2 thread in #general-remix

onyx ridge
#

though i think as long as a texture generally fits the tone of what it's replacing it's fine

solar wadi
#

how does remix work with x64?

onyx ridge
#

it apparently does 'work' but tends to crash often

solar wadi
#

tf2 got a 64 bit upgrade

#

can't wait for a source code leak

half viper
#

We don't talk about leaks here

compact blaze
#

@glossy mauve u there? i wanna ask smth

glossy mauve
#

what's up

compact blaze
glossy mauve
#

sure, if you want to

#

tell me how it goes since I've never had a chance to try

compact blaze
glossy mauve
#

uhh

#

gosh that is a old version

#

i think try the construction plates

#

those tile things that look like plastic

compact blaze
#

ok thx

glossy mauve
#

tell me how it went if you manage it! I'll have to go now but I'll be back soon

compact blaze
#

cause for some reason today

#

gmod rtx started stuttering like hell

#

for no reason

#

and freezing

glossy mauve
#

huh

#

weird

compact blaze
#

its not caused by the mod

#

@glossy mauve what do u think could cause the game to suddenly stutter and freeze?

#

like i did nothing with the game at all

#

lemme try smth rq

glossy mauve
#

idunno

compact blaze
#

ok for some reason

#

it seems like mounting portal

glossy mauve
#

i just make silly textures i have no idea how it works

compact blaze
#

fucks with the game

onyx ridge
#

it seems like it starts and stops randomly

compact blaze
onyx ridge
#

well i mean like

#

it starts happening randomly

compact blaze
#

i have the same issue too

#

iirc its ur stuff overheating and slowing down so it doesn't get hotter

onyx ridge
#

some days it'll run smooth as butter (as smooth as 20 frame genned to 40 is), some days it's stuttering every few seconds and crashes when i spawn stuff

compact blaze
#

hm

#

maybe its the addons?

#

@glossy mauve ok ima try our ur mod

compact blaze
#

@glossy mauve hiya

#

ok im noticing an issue

#

if i have too many addons mounted

#

(by too many i mean like 30)

#

the game dies

#

im guessing poor gmod couldn't handle it when portal was mounted cause it was too much content ugh c_e_lubriicry

#

@onyx ridge is this normal?

onyx ridge
#

maybe ??

#

speaking of i should probably unmount tf2 considering i don't use its content

#

i've noticed it does in fact load all of tf2's ui elements into memory

#

oh i don't have my gold replacement material anymore

#

i should probably just make an addon that adds a bunch of materials

keen rivet
#

Good morning chat :D

#

Any issues needing fixing today?

glossy mauve
#

thankies

keen rivet
earnest yew
#

multiplayer is fun

#

especially when nothing is broken

onyx ridge
#

multiplayer limits my capabilities.........

#

and also i don't have anyone to play with

jade trellis
keen rivet
earnest yew
solar wadi
#

@keen rivet when new video about rtx

hushed trail
#

Is this still a command?

#

Oh it's just not experimental anymore

keen rivet
keen rivet
#

You can also find a settings menu in the spawnmenu too now

forest path
#

So after getting an rtx gpu for my desktop I'm trying to get gmod to work with remix on my desktop. I have copied all my files from my laptop which work fine but when I launch gmod my game crashes when it gets to the main menu

solar wadi
#

did you install lua menu?

wanton scarab
#

anyone by any chance have legacy csgo content mounted and wanna try a scenebuild i made a while ago with Remix?

#

here's the file if anyone's interested, i can't remember if it required any other addons (it probably requires some material ones but i can't for the life of me remember them)

#

ok discord thanks for trying to embed a .gms

#

here's the thumbnail for it, i can't find any big pics of it

#

might also require effect resizer iirc

#

alternatively i also have this one which is just vanilla cs go s1 assets

#

I would try them myself, but I'm on an AMD card and I don't know if I should bother

#

both are on flatgrass

#

whoops uploaded an older one, this is the correct one

#

i've got a prettier pic for the first one from the old thumbnails, this is what it looked like with some lamps

wanton scarab
#

would love to see some screenshots if you can be bothered

humble mango
#

does that include some addons?

wanton scarab
#

they're pretty old so i can't remember what (if any) addons are required, but i might have some other decent looking ones in my list, im chock full of scenebuilds

#

the 2nd one should be just cs go assets

#

the ground grass material might be wrong because i think i used to do some code stuff to generate a proper material for that back then

humble mango
#

ok

wanton scarab
#

here's a bigger pic of it

#

i can get you exact coordinates for a comparison, sec

#
lua_run Entity(1):SetPos(Vector(-12301.311523, -2441.275635, -7161.724609))

lua_run Entity(1):SetEyeAngles(Angle(19.466, 53.820, 0))

you can paste these 2 in the console to get the same position and angle

#

oh and it requires CSS for the trees

#

but i think those are included with the cs go content as well if im not wrong

keen rivet
#

I have the fixes for dx9 models so it should work

meager oar
#

CSGO stuff is invisible for me idk if that is fixed

keen rivet
#

That's fixed with the dx9 stuff

wanton scarab
#

i could supply even more scenebuilds if you want

keen rivet
#

I'll try out any you want to see

wanton scarab
#

i could even make a new specific one if you have something in mind that would look good with remix

keen rivet
#

Though not right now because it's 1 am for me and I need to goto bed hehe

wanton scarab
#

that's fine

keen rivet
#

So in about 7 or 8 hours ping me hehe

wanton scarab
#

that'd be around 5 or 6 am for me so i don't think i'll remember lol

subtle bison
#

did we ever get a fix for maps that just stop rendering brush details?

#

map is gm_denizen

subtle bison
#

added some emission to the mmod physgun

#

i selectively removed the glowing parts from the albedo and then adjusted them in photoshop

#

so its not painted this time

glossy mauve
#

glowy pressure gauge

subtle bison
#

yeah i thought it would make sense for it to be illuminated

#

old gauges like this usually have some kind of bulb behind them

#

i think it needs some more adjusting to be authentic but it looks good enough for now

onyx ridge
#

iirc the vanilla gravity gun texture has something similar

subtle bison
#

@onyx ridge how did you extract the specular maps from the mmod weapon textures? all i see is the normal vtf's with some vmt's that specify a material type such as brass and chrome

#

im not too experienced with vtfedit other than exporting '

onyx ridge
#

the specular maps are the alpha texture of the normal maps

loud mural
earnest yew
#

i keep thinking people are pinging me

#

ik its not yellow but its faking me out ngl

loud mural
#

For now you can use mat_forcedynamic 1

#

Depending on the map it can kill your framerate though

#

So if your on a map where it isn't required and/or when the patch comes out be sure to set it back to 0

subtle bison
#

thanks

keen rivet
loud mural
#

welp, thanks for trying

earnest yew
#

#strokingit

loud mural
keen rivet
keen rivet
wanton scarab
# keen rivet

Just about how I imagined it looking in my head when I was making it

#

Weird that the ground grass was invis

#

Also the blocks around the tree are supposed to be wireframe as they're just for collision (the tree is an effect prop)

#

Thanks for testing it

woeful phoenix
#

Can I steal those for the dark messiah flames 😮

forest path
keen rivet
half viper
#

do you have bloom enabled?

keen rivet
#

yeah

#

bloom looks fine for me

half viper
#

I just think the particles are not bright enough like in the raster renderer

lost ridge
#

Sorry if the question was already answered or if its obvious, I just got here, searched a little but couldn't find anything 😔

solar wadi
#

mainly we need the patches

#

i have heard that blueamulet is working on it

humble mango
half viper
meager oar
brisk prism
#

I'm working on a mod to give every texture PBR materials in garrys mod. Well, more specifically all vanilla, css, dod, l4d2, portal, and tf2 assets. Is there already something like this i.e would this be a waste of my time?

AI generated PBR so this wouldn't necessarily be the best quality you could get, but just a good place to be in for having entire levels PBR'd.

I've already PBR'd all of the CSS levels

#

I also fixed all (or most )the decals through all of those games in my conf since that was making issues, not sure if anyone would be interested in me sharing that.

One thing I can't figure out though is how to get glass to look like glass

glossy mauve
#

my weapon worldmodels are rendering in firstperson 😭

brisk prism
glossy mauve
#

weird cuz they worked fine before

#

naw im not gon mark em

#

need em

brisk prism
#

Yeah I regret marking mine invis, I wish I just made the worldmodel not visible at all

#

If anyone does know how to make the worldmodel not visible in first person (in gmod, not remix) I'm all ears