#(WIP) UnityRTX

6501 messages ยท Page 7 of 7 (latest)

lament ice
#

for the fuck of it i asked ai to do per pixel roughness and whatnot, did ok

onyx apex
#

guh i thought this game had no mats other than albedo

lament ice
#

i asked it to make a tool that converts albedo to roughness, making sure grey items that have metal in the name are more reflective, where concrete is more rough, and to give the viewmodels with light ish grey textures slight reflective/metal maps

quaint grail
lament ice
#

this isnt meant to replace hand made mods btw

#

js playin around w the idea

lament ice
#

been waiting to capture this for a long time

#

this is why i say its just a test

#

[posting ths to read]

quaint grail
#

they should rename 4-2 to GOD DAMN THE FILTERING

lament ice
#

welp thats enough modding for now

light bronze
#

why are the textures here in white knuckle much darker?

#

increasing the albedo bias kinda works but it makes it washed out

onyx apex
#

i assume you got this working on linux?

light bronze
#

yea

onyx apex
#

what did it take

light bronze
#

it doesn't run through protontricks-launch i discovered

#

which ig makes sense

#

i was trying to use it because i didn't want to make a new non-steam game for every test i did

onyx apex
light bronze
#

oh ๐Ÿ”ฅ

lament ice
#

lemme boot the game w the change

onyx apex
#

weird, remix crashes when launching this on linux for me

#

@light bronze what proton ver are you using

#

ok well proton experimental just completely crashes my gpu driver lmao

lament ice
#

why did windsurf delete itself ๐Ÿ’” what

#

oh it updated and broke itself lmao

onyx apex
lament ice
onyx apex
#

nvm im still getting driver crashes

onyx apex
lament ice
#

i hate tryna locate debug meshes

onyx apex
#

gotta turn some stuff off

lament ice
#

they dont even show up in the f3 menu

onyx apex
#

try to find a 1x1 white texture in the texture list

lament ice
#

its this texture for whatever reason

onyx apex
#

guh

lament ice
onyx apex
#

something aint right

#

did you try messing with the renderers list

lament ice
#

yea

#

not much avail

onyx apex
#

wonder how much the retail game differs from the demo

#

the latter is visually perfect for me

lament ice
#

shrug

#

maybe its a regression with my mod?

onyx apex
lament ice
#

i fixed it

onyx apex
#

how?

lament ice
# onyx apex how?

I added BC1/DXT1 alpha detection for White Knuckle-style atlas textures.

#
Detects DXT1/BC1 blocks where color0 <= color1, which indicates punch-through alpha mode.
Added BC1 cutout detection
If enough BC1 blocks use punch-through, the material can be upgraded to cutout alpha.```
onyx apex
#

do you mind making a fork of my repo and pushing your changes so you can make a pull request?

lament ice
#

i can try

#

mind you its probably a mess still

#

cuz i asked for weird game specifics

#

we did disable the ultrakill pixel stuff cuz its not really nessisary

onyx apex
#

pixel stuff?

#

oh the autopbr

lament ice
#

yeah

light bronze
lament ice
#

per pixel pbr

#

it was also

#

unsuprisingly

#

laggy

#

@onyx apexi made a fork and added the changes

#

how to i pr

onyx apex
#

click the pull request tab on github, it should show a green new pull request button

lament ice
#

nvm

#

i got it

#

pull request sent, sorry if its a mess again

sudden seal
lament ice
onyx apex
lament ice
#

right

#

i figured

#

sob

onyx apex
#

not the code itself, but the PR

#

how did you upload your changes, file upload?

lament ice
#

yeah

onyx apex
#

uhh dont do that

lament ice
#

oh

onyx apex
#

you can point your visual studio fork to push to a different origin

#

one sec

lament ice
#

๐Ÿฅน

#

ive never done a "github"

sudden seal
#

๐Ÿฅบ

lament ice
#

never had to

#

we think our favourite part of the day was the unorm, smallest yet most substantial change

onyx apex
lament ice
#

all ive been usin is windsurf

onyx apex
#

all the same

#

same exact steps work there

lament ice
#

oh

#

its not

#

ctrl+shift+p

onyx apex
#

guh it is? i just tried it in windsurf

lament ice
#

maybe im in the wrong tab?

onyx apex
#

? its a global hotkey

#

make sure you're in editor mode

lament ice
#

i had to manually click it, maybe my keyboard is broken

#

aaaaaaa

onyx apex
#

๐Ÿฅ€

#

do you have unityrtx open in your workspace?

lament ice
#

yeah

onyx apex
#

like the root of the folder or only a part of it?

lament ice
onyx apex
#

should look like this in explorer and source control

onyx apex
# lament ice

oh you probably downloaded the source file instead of cloning it with git

lament ice
#

oh

#

i did

#

jnfsdjkkjfdjj

onyx apex
#

in this case, just clone your fork so you dont have to do the steps in the vid, the origin will already be your fork

#

git clone https://github.com/Mochabeanproto/UnityRTX.git

#

then once its done, add the folder to the vs workspace

lament ice
#

do i need to open a new window or js add to workspace

onyx apex
#

add to workspace

#

might want to remove the old one after you migrate any code changes as having 2 instances of unityrtx will definitely confuse the llm

#

btw i made the unorm change

#

havent tested it yet but i assume it should work fine

lament ice
#

ok now i js do remote?

onyx apex
#

nah not anymore since you cloned your fork instead

lament ice
#

oh

#

then i js make a pr now?

onyx apex
#

nah you'll need to discard the file upload changes and push them through git instead

#

in your case, do this, but make sure you have a backup of your changes

#

git reset --hard 6a138a778a81cbf39e1f1b6180985ee942dbdbfe

#

this will reset your fork to the change before the file upload

lament ice
#

and i do this in windsurf? or where in github

onyx apex
#

a terminal open in your respository folder, so in windsurf or a windows cmd

lament ice
onyx apex
#

ye it worked

lament ice
#

ok

onyx apex
#

if you still have your changes from the other unityrtx folder, i would probably ask the LLM to remake the changes to this fork and ask it to commit each change individually

lament ice
#

i dont think it has the changes

onyx apex
#

hm? i thought all of your code changes were made here

lament ice
#

yeah right, sorry ig i thought the command undid that ig

onyx apex
#

naw, just your new fork

lament ice
#

i did remove that folder from the workspace

onyx apex
#

ah if its still on your pc, just re-add it

lament ice
#

ok its readded

onyx apex
#

its important that each seperate change is its own commit

lament ice
#

like that

onyx apex
#

sounds good to me

onyx apex
#

lmao

#

everything looks correct texture wise now

lament ice
#

@onyx apex

light bronze
onyx apex
lament ice
#

Status: README build instructions followed successfully; current committed UnityRTX build was deployed

onyx apex
#

credited u btw

lament ice
#

oops one sec it commited it all into one commit

onyx apex
#

you can have it undo the commit and make it seperate them

lament ice
#

i am

onyx apex
#

git my beloved

#

saves you in a lot of situations

lament ice
#

itll be split into 2 commits cuz the pbr and unorm where nearly at the same time

#

i guess bro

onyx apex
#

so you're PR'ing the pbr stuff as well?

lament ice
#

yeah

#

its very general i think, it worked in a different game

#

^

onyx apex
#

how is performance? does it slow down the plugin?

lament ice
#

at the start it slows it a little

#

but i asked it to where once a pbr was converted, to have remix not try and convert that again and to just load the pbr instead

#

saved alot of vram

#

can be dissabled if need be

#

ok it finished comitting

#

do i make a pr now

#

or whatnot

onyx apex
#

i would test it first to make sure everything still works

lament ice
#

everything seems to function

onyx apex
#

sweet, just commit and push

#

the PR should update on its own

lament ice
#

my awesome tutorial speedrun

lament ice
onyx apex
#

uhh naw its pretty simpile thru the gui

lament ice
#

a

onyx apex
lament ice
#

i only have this, am i safe to do that

onyx apex
#

ye sync works, same thing, but you can find that same menu here

lament ice
#

oh alright

onyx apex
#

ah its trying to merge the uploaded files

lament ice
#

a-

onyx apex
#

take another screenshot of your graph but also the git log

lament ice
#

this all?

onyx apex
#

yeah uhh right click this commit, copy the hash, and do that git reset --hard command but paste the hash you copied

#

and then do git push --force

lament ice
#

is the id the branch?

#

or the hash i mean

onyx apex
lament ice
onyx apex
#

wrong dir

lament ice
#

right thats the old

#

ok it pushed

#

sorry cr that this had to be difficult lol

onyx apex
#

naw its fine, its a learning experience

#

i would try to rely on git more if you're going to work on projects like these

lament ice
#

ive made branches, thats abt it

#

this again

onyx apex
#

ye, im editing ur title

lament ice
#

aight

#

my ass amyve lied abt performance i guess? but only in the bendy area sobbb i didnt check that

#

wait no

#

i unlied

#

idkk how to optimize thissss

atomic thorn
#

Uh

lament ice
#

uh?

#

oh yeah

#

@atomic thorn og bendy

atomic thorn
#

Ooh

#

Where the deculs at?

lament ice
#

shrug

#

my focus is tdr

#

ok im js gonna have to go ahead and dissable the pbr unloading for now ๐Ÿ’”

atomic thorn
#

The teaser game they keep updating

lament ice
#

what

atomic thorn
lament ice
#

explain

atomic thorn
#

Amh

#

Smh

#

I thought you were a real fan

lament ice
#

oh

#

homie

#

๐Ÿ’”

atomic thorn
#

Uh oh

lament ice
#

ive been workin i havent kept up 2 date

atomic thorn
#

Hm

lament ice
#

ok bro ig the caf is js too intensive, too many props cuz this bitch still laggin

#

well thats enough for tonight im js gonna mess around with playing bendy rtx

#

bleh

split loom
#

Is the UNORM thing going to be a universal Unity thing then

young wolf
# lament ice Yes

i wanna ask whats the difference between unorm and srgb? and what benefits does using unorm bring?

lament ice
#

Looking at its documents

#

Unorm is integer to linear floats and srgb is gamma decoding to linear

young wolf
lament ice
#

Its direct benefits tho I can tell ya is that it fixes unity textures to properly convert textures, fixing the long since dark and murky textures in all unity games

#

Definitely noticeable in certain areas where less vibrant colors meant murky browns and greys

#

This is white knuckles walls without unorm

#

Here's the same game with unorm

split loom
#

I switched Katamari to UNORM and it didn't seem to have an impact

#

But there wasn't anything visually wrong with it in the first place

lament ice
#

If the game uses srgb nothing really will happen I think

split loom
#

Baboo!

lament ice
#

Baboo

lament ice
#

@onyx apex any idea on what i could do for game optimization? Alot of bendy areas are intensive on remix

split loom
lament ice
#

Low fps

onyx apex
#

enable culling?

lament ice
#

Distance culling is on at 108

#

Ig I didn't really try blackface culling

onyx apex
#

then you're probably gpu bound with the original game running?

lament ice
#

Bleck

#

thats annoyng

#

im assuming this is the same issue as being cpu bound where theres not many solutions to it?

onyx apex
#

other than turning down your vanilla game settings and setting dlss ultra perf, no

lament ice
#

damn

lament ice
#

or at least in idea

onyx apex
#

without breaking anything?

lament ice
#

yeah

#

i asked it to visualy cull all geometry in the game window while still having it caputred and sent into the remix window

#

its not fully fps gain yet but its better for sure

onyx apex
#

im interested in the results

lament ice
# onyx apex im interested in the results

theroetically, couldnt we load the remix window as a small window then load the data as a texture in the og window? in a sense? wouldnt that bypass the need for a swapchain

#

and it could be below the ui layer

#

or is this wishful thinking

onyx apex
#

you'd still need a swapchain, even without, that's a lot of copies from the GPU to the cpu and back

#

even if it worked, would be painfully slow

lament ice
#

ah

#

damn

onyx apex
#

best way currently is reducing rendering on the vanilla side, render the game ui on remix, make the remix window borderless and always ontop, and place the window on top of the game's

#

BetaRT does this

#

but unityrtx is not ready for single-window

#

the visuals are super inconsistent between games so having the original game window is important for validation

#

but please leave this feature to me

lament ice
#

alright, sorry

onyx apex
#

no worries

lament ice
#

ignore the flashing i keep walking through its head

onyx apex
#

what's the flickering?

#

oh

lament ice
#

i just forgot to hide that texture instance

onyx apex
#

if you can make this optional and configurable in the plugin ui, you can make a PR, but that PR must only include those changes, so preferably these changes need to be on a separate branch. I would like to have this be added as this will go towards that single-window mode

lament ice
#

aye aye i will continue to work on it

#

a poc for now

#

i think

#

wait no i dont think

#

but it made a ui section

#

testing if it works

#

conna try it on other games and build it to a branch

#

branch pull request created

#

sorry if im doing things wrong in terms of github

split loom
#

Github is scary

lament ice
#

it is

#

and idk if im pushing to much per pull request, i already see i gotta rebase the pbr thing to not have unorm

#

im out of weekly usage now ACK

#

i will finally admit cgpt is better than claude for now

split loom
#

Have you ran out of weekly usage with GPT?

lament ice
#

yes

lament ice
# lament ice that wasnt that bad actually

this is unity but maybe it can help with lag in your game, asking it to cull everything in the game window while still capturing and rendering it into the remix window

#

@sudden seal forgor to ping

#

dunno how helpful itd be

sudden seal
#

๐Ÿฅบ hello

lament ice
#

hai

sudden seal
#

yeah we did something similar to that. it's a very neat technique

#

thank u ๐Ÿซ‚

lament ice
lament ice
#

@onyx apex you can close the first pr if its only gonna be pbr thats being pulled, as im reworking the way it works

#

once my week resets that is

lament ice
worn swan
#

are we still using mono bleeding edge?

lament ice
#

yes

worn swan
#

cool

light bronze
#

was the patch released?

lament ice
#

@onyx apex what do i do to rebase against a commit

#

maw js a new pr for the commit?

onyx apex
#

no

#

it means pull the latest changes from my repository and re-do your changes on top of that

lament ice
#

Ohh

#

Ok

#

Sorry

onyx apex
#

no worries

lament ice
#

I will on the 10th when I can

onyx apex
lament ice
#

Aight

#

It'll reset on the 10th so ye

split loom
#

Is not being able to mark stuff as sky intended?

split loom
trim vector
#

Hmm, wondering if this would hook to Easy Red 2 eventually

lament ice
#

what happened why is it covered in oil all of the sudden

#

relaunching it just fixes it i guess

worn swan
#

I thought bendy had oil anyway

#

Or art

young wolf
# lament ice nvm

alright so both Dark revival and superliminal naked and completely covered in oil whos winning

worn swan
#

Maybe textures are bleeding

lament ice
worn swan
#

Hmm

#

Could be normals

lament ice
#

yeah

#

i just said that

worn swan
#

Lol

#

I'm dumb today ;_;

#

Did anyone test hello neighbor

#

Or 2

lament ice
#

id test it if i owned 1

#

but i dont own 1

topaz knoll
sudden seal
worn swan
lament ice
lament ice
#

utrakill spoilers
now the per pixel pbr looks a little better but im still not happy w it in most places

#

such as this

young wolf
lament ice
#

ultrakill only has albedo

young wolf
#

how is it able to automatically tell what the material is

lament ice
#

it doesnt

#

ive been telling it to do color based

#

looks wack in some places with mostly grey textures

sudden seal
#

the textures might be being decoded incorrectly

#

if you can open the remix menu, go to Game Setup -> Parameter Tuning and then mess with the material options there

#

see which one is responsible for the incorrect look

lament ice
sudden seal
#

hmmm

#

texture atlases should work by default

lament ice
#

they do

#

but the per pixel pbr converter (mind you its not using any textures for pbr) cant corrispond names to shinyness like we wanted

young wolf
#

i dont think remix likes babbdi

modern robin
topaz knoll
worn swan
quaint grail
#

Excited for clouds steamhappy

onyx apex
#

im legit surprised the cityscape renders

#

like at all

quaint grail
onyx apex
#

iirc hakita mentioned it was all a special shader

quaint grail
#

Yeah theyre some wizard bs or something

quaint grail
#

Ive not actually tried fraud yet in UnityRTX I just assumed its mega broken
Time to see how broken meowl

#

Yeah portals just dont work visually and its super laggy, exactly what I expected

#

Got some nice glass going on here though steamhappy Fraud is perfect

quaint grail
#

translucent materials with diffuse glow and I dont know how to make it stop sad_cat

onyx apex
#

something I'll need to fix

quaint grail
#

some replaced materials diffuse textures just don't work fore some reason, even after manually assigning a new diffuse texture

trim vector
#

This won't work for BepinEx IL2CPP x64 ? Is there any way to get it working with this version? Thanks in advance

lament ice
trim vector
#

Thanks. I was trying it on Easy Red 2, but it might not work with the shader model also

lament ice
#

shader model/api doesnt matter with this

trim vector
#

Sweet

lament ice
#

its api agnostic

trim vector
#

Ah!

lament ice
#

youll just have to manually get it to work really is all

quaint grail
quaint grail
onyx apex
#

it might be worth updating unityrtx with the newer remix plus base to see if it fixes that

#

hopefully i can do that today or this weekend

quaint grail
#

Ill try that steamhappy

onyx apex
#

if you do, make sure to recompile unity rtx against the newer remix base, the API headers will have changed significantly

split loom
#

Back to the baboo mines

lament ice
#

Baboo

quaint grail
#

My great grandfather died in the baboo mines during a cave in incident

split loom
#

Still getting constant 100ms hitches in Katamari, even when just standing still

onyx apex
#

since you have a modified version of unityrtx, you're gonna have to do some profiling to fix it

split loom
onyx apex
#

does the hitching happen in the normal game window?

split loom
#

It all seems like there should be a way to get rid of it

onyx apex
#

sounds like a drawcall bottleneck?

#

the wrapper is more than likely getting exhausted

#

for whatever functions you added to the wrapper for il2cpp, try to move them off the main render thread

split loom
#

It's already hitching in the main menu with just a bunch of objects shown though and doesn't really get worse with more objects present.

split loom
lament ice
#

@onyx apex is the unorm upload in unity rtx as a release? or has it not been comitted to that yet

onyx apex
#

committed but not released

#

was planning to update remix first

quaint grail
#

fraud is theoretically possible because remix can do portals catt catt catt catt catt catt catt catt

winged solar
#

@onyx apex

#

wat do if game screen is black

quaint grail
winged solar
#

shes a bit fucked

split loom
winged solar
#

Yes

#

wow this is fucked

#

remix does NOT like this terrain

sullen rune
#

Unreal 4 RTX when

earnest meteor
#

I didn't expect that Unity will have Remix, BUT THIS IS PEAK

earnest meteor
#

Can You make a 32 bit version?

onyx apex
#

i dont know of any monobleedingedge games that are natively 32-bit

#

pretty sure that was a unity 5 and lower thing

worn swan
#

cr looks like you have some pull request

earnest meteor
onyx apex
earnest meteor
onyx apex
#

its nowhere that easy

#

for the reasons i stated already

#

i could make it single window without doing any of that but then you couldnt interact with the game at all

earnest meteor
#

I'll be Patient

frosty siren
onyx apex
lament ice
frosty siren
#

also it is not efficient and just temporal workaround - quick hack idea..

onyx apex
#

still have to filter the game UI from the rest of the rendering, its easier to use the existing UI method my fork has

frosty siren
#

ok.. btw what is difference between yours and sparkles fork.. I feel like there is a lot of gold nuggets on this discord but somehow fragmented and hard to get whole picture of what is current state of community vs oriignal remix..

onyx apex
#

sparkle's fork is based off my unityrtx branch, with a few additions and features from other remix devs