#Barnyard

1 messages ยท Page 5 of 1

ashen merlin
#

yep, there we go. all UI elements without the issue

rugged forum
#

what was the sand or dirt done in?

ashen merlin
#

Quixel Mixer using a modified material from ambientcg

#

i'm using InstaMAT now with different materials, but those are still great

rugged forum
#

so those aren't original which makes sense because you could never get that detail from high res original textures

ashen merlin
#

i redid the coop too, not sure if you saw it

ashen merlin
#

one last image

#

looks so nice at native 1440p

rugged forum
ashen merlin
#

there is actually, it just doesn't really show up for whatever reason

#

i put a lot on toward the bottom ๐Ÿ˜ฆ

#

having some extra bushes or grass at the base of it would go a long way, but that's not possible

#

it originally had pickets with a bit of grass baked into the texture, but i couldn't recreate that without it looking terrible

rugged forum
edgy shard
#

@ashen merlin were the world/terrain models still culling after modifying the two CullSphereToFrustum methods? I can't remember

ashen merlin
#

the odd thing is i had tried it before without any luck

ashen merlin
edgy shard
#

hm okay I guess found how to disable culling for them then

#

it turned out that there's a different system for culling world terrain which is called AWorldVis

ashen merlin
#

oh, cool

edgy shard
#

there seems to be no any limit for the number of rendered meshes

#

simply replace instructions at 006D4DD0 to 'mov EAX, 0' and 'ret 4' to patch the method

#

from this

#

to this

ashen merlin
#

that's amazing. going to try it ๐Ÿ™‚

edgy shard
#

hope it will work!

ashen merlin
#

well, it's definitely improved!

#

i think it is showing everything but the LOD replacement models

#

which is definitely enough to prevent the main issues!

edgy shard
#

not sure if that's actually everything tho

#

it should show more

ashen merlin
#

LODs though, yeah? is it possible AWorldVis only covers culling for the highest quality models, and the LOD models that are loaded in aren't culled in the same way?

#

that's what it seems like when i move the camera around

#

trying to get it in higher quality so i can record

edgy shard
#

try to also set these instructions at 006cead0

edgy shard
ashen merlin
ashen merlin
edgy shard
#

unfortunately it will probably make the objects flick again but at least we will know if it is anyhow related to the world models

ashen merlin
edgy shard
#

I guess now it renders everything in the section

ashen merlin
#

objects now only vanish when you get very close to them

#

ah never mind

ashen merlin
edgy shard
#

I have reverse engineered the world shader lately so I'll move to the skin shader (which is used by static instances) soon and will try to fix that flickering issue

ashen merlin
ashen merlin
edgy shard
#

but I think it won't be possible to apply the fix with a debugger but with a mod since it will be much more complicated than 2 instructions

ashen merlin
#

yeah, that makes sense

#

as a performance benchmark:

without culling patch:

#

with the 006D4DD0 patch only:

#

with both patches:

#

as we were discussing for Fallout NV, unfortunately the best course (that i could think of) would be to reimplement a customized form of culling that only culls a certain distance behind the player. it'd be enough to prevent visual issues while also prioritizing performance:

#

forgive my abysmal drawing

#

i don't really see that happening for this game, and that's okay

rugged forum
#

Are you using dlss?

ashen merlin
#

yes

#

i updated the config a bit more. i disabled rtx.enableSeparateUnorderedApproximations as for some reason (despite what the tooltip says should happen) turning it off improves performance

rugged forum
ashen merlin
#

it's a custom preset, mix between medium and ultra

#

it's in the config

#

and no frame gen

rugged forum
#

I'm surprised a 4090 only gets 70fps in barnyard with dlss

ashen merlin
#

that was DLAA at 1080p actually

#

at 1440p i use DLSS Quality

#

wasn't sure what images you were asking about

#

these were 1440p DLAA, was getting about 40 fps i think

rugged forum
#

@ashen merlin Need to use alt#588546848105693184 message

#

I know it isn't exactly what you want but it does look really good

#

here is one from infc0re

chrome mulch
#

Didnt I have redone it already ๐Ÿ˜‚

rugged forum
#

Before and After

chrome mulch
#

Looks good

#

Now some proper normal, roughness and heightmaps and its ready to go

rugged forum
chrome mulch
#

Krea is really good

#

I use Gigapixel back then, maybe I should try it

rugged forum
ashen merlin
#

SUPIR is effectively a successor to these, and it's even better.i did test it on some textures from this game and it looks great @chrome mulch @rugged forum @edgy shard

#

however, i personally don't want to use AI for these

rugged forum
rugged forum
ashen merlin
#

4090, 32 GB RAM. it uses far less than their claims

#

i used this

#

it's probably doable on 12 GB VRAM?

#

and 30 GB RAM still

rugged forum
#

Well the most I have is 8gb vram on my desktop but that only has 16gb of ram while I have 6gb vram on my laptop but 32gb of ram

ashen merlin
#

using the other ai you mentioned is ideal then, yeah. i meant to bring up SUPIR as more of a local alternative if you have the hardware, since it's totally free

#

didn't mean to say that the websites are not worth using. it's still really cool

rugged forum
#

Does it prefer nvidia GPU's over amd in performance?

#

looking in the description of it You can get a 512x512 image to 1024x1024 with a 10gb 3080

#

I'll give it a go

ashen merlin
#

@rugged forum it doesn't work with AMD on Windows. you'd need Linux + Pytorch ROCm

rugged forum
#

Well what Nvidia gpu would you recommend that has it's value for these things

ashen merlin
#

12 GB card or more really, 30 series or newer

#

3090 would be good

rugged forum
#

so at minimum a 3060

ashen merlin
#

maybe. i don't know anyone personally that's tried it below a 4090 unfortunately

#

i can't say for sure ๐Ÿ˜ฆ

#

if it works on your 3080, that'd be great

#

my notes on it:

restoration_scale is important to increase. i usually set it at 2, but it goes up to 6. this affects how much detail it tries to recover or add

and to actually adjust the scale of the image, change the resize_scale in the top half of the node

#

unfortunately because it's diffusion based and there's no good "ethical" models, by using this you are still using stolen content to upscale ๐Ÿ˜ฆ

#

but it's also by far the best we have right now

#

i did release my set of ethical upscalers btw: #1216200397497045002

rugged forum
ashen merlin
#

afaik the 3090 is a tiny bit slower than a 4070 ti, but the VRAM goes a long way for AI

however if you barely use AI stuff, i wouldn't get the 3090

#

the improvements to PT performance on the 40 series are too hard to ignore for Remix, along with frame gen

edgy shard
ashen merlin
#

probably not due to the requirements. i'd be surprised if it could

#

you may be able to do it with a rented GPU from vast.ai

#

if you want a lower requirement equivalent, just upscale with stable diffusion. it's not the greatest, but it's much easier to run in terms of RAM

SUPIR does allocate about 28 GB RAM when i use it

rugged forum
#

Is there anywhere we can move this?

#

I can't seem to get the SUPIR node to appear in ComfyUI

ashen merlin
#

i'm fine with it here

#

what did you do to install it?

rugged forum
#

Well I've fixed that problem now I'm trying to get moondream to work

ashen merlin
#

i'm not familiar with moondream

ashen merlin
rugged forum
rugged forum
#

Using SUPIR

ashen merlin
#

can you capture the bottom of the error?

#

i'm not quite sure what's going on there. are you using an SDXL model?

ashen merlin
#

you followed the instructions to install the python dependencies?

if you're using a portable install of ComfyUI (the zip) you have to do this instead:
python_embeded\python.exe -m pip install -U xformers --no-dependencies

#

also when you ran comfyui, you ran the nvidia gpu version?

rugged forum
#

๐Ÿค”

ashen merlin
#

hm

#

try running

python_embeded\python.exe -m pip uninstall torch torchvision torchaudio

then

python_embeded\python.exe -m pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu118

#

this should install the correct version

#

that's if you're using portable. if not portable, just remove python_embeded\python.exe -m

rugged forum
#

Yeah I'm using portable

ashen merlin
#

sorry, i copied the wrong one

#

python_embeded\python.exe -m pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121

#

this is torch 2.2.0 with cuda 12.1, which is what it wants

rugged forum
#

Now it doesn't launch at all ๐Ÿ˜ฆ

ashen merlin
#

๐Ÿ˜  that makes no sense

#

i'm sorry, i have no idea what's going on

#

that should have fixed it

#

i'm guessing another dependency is incompatible now and it's just all screwed

you'd probably have to start over. the only thing i can think happened to cause this is that xformers got an update since the readme for ComfyUI-SUPIR was updated, and it's now incompatible

rugged forum
#

Must not have installed

#

Now it launches

ashen merlin
#

weird

#

that doesn't seem to have worked right

#

it's not saying they're not installed at all

rugged forum
#

That was before i ran the install

Now it works here

#

This might take a while but if i get a result it is a win

ashen merlin
#

cool ๐Ÿ™‚

rugged forum
#

But I did not expect to use 20gb of storage just in models

ashen merlin
#

you didn't seem to have followed my notes though. you need to increase the scale_by setting, and also increase the restoration_scale

i normally scale by 2, and keep restoration at 3

#

it won't look too good with restoration_scale at 0. not even sure what -1 is?

#

i'm glad it's working though, and i hope you get good results with it

rugged forum
#

So how does VRAM help with this?

#

does it just make it faster?

ashen merlin
#

it might. i'm not sure for SUPIR specifically

#

but generally the main thing is that you can upscale larger images without issue

rugged forum
#

Ok on the left is SUPIR on the right is the original there isn't going to be much difference

#

Oh and there wasn't a very detailed prompt since I couldn't get moondream to work

ashen merlin
#

the prompts haven't been to useful really. just use the default it provides and it should be fine

#

you can just provide a few key words like "sky" and it'd help it enough

ashen merlin
#

unfortunately i have to sleep now. i'm glad you got it working!

rugged forum
#

Thanks for the help ๐Ÿ™‚

#

and goodnight

ashen merlin
#

๐Ÿ’š

rugged forum
#

Well here it is lol

rugged forum
#

I'm able to do a 2x upscale on 512x images though

weary inlet
#

what's SUPIR? I thought NVIDIA's tools had a built-in texture upscaler, is it not that good yet?

ashen merlin
#

right now it's not too good unfortunately

ashen merlin
weary inlet
#

how big is just SUPIR?

ashen merlin
#

it requires ~25 GB of storage, and needs at least 10 GB VRAM to do much of anything

#

also 30 GB RAM minimum

weary inlet
#

mine's a normal 2060S so I'll have to wait on that lul

ashen merlin
#

the models i released are worth a shot though ๐Ÿ™‚

rugged forum
rugged forum
#

@ashen merlin While running SUPIR

ashen merlin
#

i have no idea what'd be doing that

ashen merlin
#

so

#

gonna try 3.5 really quick

chrome mulch
#

XD

ashen merlin
#

weeeeeellllllllllllll

#

good news and bad news

#

the ghost cows are gone

#

BUT interior lighting is 100% broken

#

RR off

#

oh, now it's fixed of course

#

there's definitely some weirdness with the emissives

#

RR off

#

AGAIN

#

as soon as i complain it fixes itself

#

alt-tabbing appears to fix whatever lighting bug there is

#

i finally captured it. when walking around with RR on, things become an almost sepia tone, with a lot of ghosting and blur

#

@simple grotto if you're interested

#

RR off in the same shot

#

and now, RR back on again after alt-tabbing

simple grotto
#

I don't think it's placebo, but even when looking without a slider comparison and on a phone screen, RR looks noticeably better

#

There's more fine shading

ashen merlin
#

it does improve the overall image a lot

#

but the lighting bugs are throwing me for a loop

ashen merlin
#

did Mark or anyone else say if we should report issues for it on GitHub?

simple grotto
#

Mark did say he fought against the idea of forcibly locking it off in other games though which was cool lol

ashen merlin
#

back after the OSS version of Remix launched, we were still allowed to report issue from Portal's binaries ๐Ÿ˜ฆ

#

so that's a shame

ashen merlin
#

i figured out the issue

#

setting this to Default fixes it

#

so it's an issue with their new denoising model

simple grotto
#

Interesting. Remix uses restir by default doesn't it

ashen merlin
#

it does, yeah. so they finetuned the model to work best with it (which is great), but it seems that it's leading to unintentional issues

#

which is probably why they have that warning

#

i made a post in #1055002308649427004 in case anyone else runs into this

#

even with the Default model, it's a huge improvement

#

look at all the gained detail in the dirt

#

i can't recommend using it in Barnyard though. apparently the geometry corruption bug from months ago is still in this build, making it unplayable outdoors

weary inlet
#

that lighting is so striking

rugged forum
ashen merlin
#

RR fixes that

weary inlet
#

yeah RR has way less ghosting in the cases I've seen

rugged forum
weary inlet
#

Not bad woag

rugged forum
#

New Update to SUPIR uses much less vram supposedly

weary inlet
#

2060S has 8 gigs so it'd need at least a 2 cut

rugged forum
#

That should be enough I can do a fair bit now on 6gb

ashen merlin
#

i personally won't be using AI for my version. if you guys do your own (upscale with SUPIR, process with PBRify) i am curious to see where it goes. i'm glad it's more accessible now

#

i don't have time to work on Barnyard right now sadly, that's why there's been no progress updates

rugged forum
#

Well I just bought a 4070 super for my desktop, So I will probably do a lot more on this since I much prefer using my desktop

ashen merlin
#

nice

ashen merlin
#

@rugged forum are you getting vertex explosions in Barnyard?

rugged forum
#

No I haven't had that

#

But I'm not using the portal rtx version

#

Also do you get issues with frame gen?

ashen merlin
#

no, it's fine for me

ashen merlin
rugged forum
#

Weird, the game was running perfectly fine for me on 0.4.1 debug optimised

rugged forum
compact niche
#

could your draw distance be to high?

ashen merlin
ashen merlin
#

mkv ๐Ÿ˜ฆ

#

i'm not sure why or how i'm getting this corruption again

#

the only thing that changed on my system is the GPU driver, so i might rollback

rugged forum
#

Dlss debug?

ashen merlin
#

that's not why. happens no matter what i do

rugged forum
#

When did this start happening?

ashen merlin
#

this month. i went back to older dxvk and bridge builds and it's happening even there

#

so i have no idea what the cause is

#

i even downgraded my drivers just in case. no improvement

ashen merlin
#

@rugged forum dxvk build 408 fixes it

#

the same issue was occurring in Fallout NV and Skyrim with newer builds

rugged forum
#

I assume explosions

ashen merlin
#

explosions

#

frame gen has always been an issue in the way you showed

rugged forum
rugged forum
#

The chicken coop textures upscaled with SUPIR and enhanced by photo ai with PBR maps generated with PBRify

compact niche
#

Lookin good!

rugged forum
ashen merlin
#

yeah, i didn't have time

ashen merlin
#

did discord somehow screw up the video file

#

ah no

compact niche
#

how tf does that even happen???
i'm assuming the moon is a serpetate object then the sky because it does move in game.
but surely the games transformations aren't just corrupted for it with remix

simple grotto
ashen merlin
#

downloading blendar

simple grotto
#

I recommend the bforartists fork, the defaults for everything and the layout are much nicer to find what you need @ashen merlin

ashen merlin
#

ah right

#

the meshes are so insanely small that i've imported them but they're invisible

simple grotto
#

It's a version of blender where lots of things are touched up for use ability

simple grotto
#

Try 100x

ashen merlin
#

it's still invisible ๐Ÿ˜ข

#

the other issue is that all of the meshes are off center and tilted on an axis

#

ugh

#

i can't get anything to show up

simple grotto
ashen merlin
#

yeah same upload

ashen merlin
#

no setting fixes it

simple grotto
ashen merlin
#

i had to import the mesh twice for some reason for it to show up in Blender

simple grotto
#

Well I guess I'll just have to rotate it

ashen merlin
#

looks smoothed already? as if it already has vertex normals

simple grotto
ashen merlin
#

ah right i'd need to import it manually in Remix

#

since i disabled it

#

done. see the slight tilt though?

#

that's the axis problem i was referring to

#

it's insanely annoying to edit these meshes

simple grotto
#

Well I guess it's a blessing in disguise that everything's unstable?

ashen merlin
#

most of the meshes in the game are actually fine as vanilla anyway, other than the baked textures being a pain in the ass. there are some that need updating though

simple grotto
#

As long as I have a complete version of a character model (I don't mind trying to stitch it up together if multiple pieces) I should be able to do what I'm looking for

simple grotto
ashen merlin
#

yes

ashen merlin
#

it was just a cow

#

how is that possible

simple grotto
#

Well shit, that might cause issues for the baking process I mentioned. I'd need the sharp edge'd version you have in-game. When you right click the character and hit shade flat what does it look like

ashen merlin
#

he's gone now and i can't get him back

simple grotto
#

Ctrl+Z time lol

ashen merlin
#

the captured vertex normals weren't working properly anyway, so i don't even know how that could be of help

simple grotto
#

Because I need the bake to assume the shitty sharp model is the real model to bake onto

ashen merlin
#

shade flat

#

shade smooth

simple grotto
#

Hmm smooth looks about right. And the character models?

ashen merlin
#

they're arguing with Blender and won't show up

simple grotto
#

Can you not undo

ashen merlin
#

no ๐Ÿ˜ข

simple grotto
#

Uh oh

ashen merlin
#

i found a different character model that works

simple grotto
#

Okay cool, whatcha got

ashen merlin
#

shade flat

#

and smooth

simple grotto
#

Shade flat looks about how it looks for you in-game right

ashen merlin
#

yes

#

pretty much exactly

simple grotto
#

Then it genuinely might be as simple as baking the smooth shaded version onto the flat shaded. Smooth looks pretty good already

ashen merlin
#

how would i import that into the game?

simple grotto
#

You'd add the normal map generated via remix

#

Like a common texture swap

ashen merlin
#

just a normal normal map?

simple grotto
#

Mhm

ashen merlin
#

no weird funky normal map?

#

weird

#

hmhmhmhm

simple grotto
#

Correct

ashen merlin
#

soooo how do i do that

simple grotto
#

In blender? I have no idea. I just bake using instaMAT

ashen merlin
simple grotto
#

But if the models are fucky then some stuff needs to be done to clean them up before throwing them in instaMAT for baking

#

Which is why I offered doing it, saving you the headache

#

Won't be able to work on it for a good 7-8 hours though for reference lol

ashen merlin
#

i've got no problem waiting ๐Ÿ˜›

#

thanks

simple grotto
#

Hope it works because it could be a game changer I bet

ashen merlin
#

if that works, most meshes should be good and i'll try to use POM to enhance the rest

simple grotto
#

Btw I highly recommend this version of blender for more casual use

#

One example of many

ashen merlin
#

looks good

ashen merlin
simple grotto
#

oops! yeah I'll try and get it before I hop off

#

lost track of time

ashen merlin
#

thanks ๐Ÿ™‚

simple grotto
#

the hole here might be an issue lol

#

hold on

ashen merlin
#

yeah he's uh... dismembered

#

can't find the other half of him

#

might be able to use the toolkit to find it

simple grotto
#

don't worry I helped him a bit

#

lookin spiffy (not what I'm gonna use to bake to be safe)

ashen merlin
#

this might be easier

ashen merlin
simple grotto
ashen merlin
#

lsat time i tried that it created some weird openings

simple grotto
#

because I made it manifold first

#

did a bit of cleanup pre-subd

#

holy lord

ashen merlin
#

lol ya

simple grotto
sick wedge
simple grotto
#

I'll uhhh

#

I'll check dw

#

at least in the case of RC there was no overlapping, it was a normal cube project

#

not seeing any overlapping pepelook

ashen merlin
#

i think that's the cleanest mesh i've seen for this game

simple grotto
#

seeing some overlapping pepelook

sick wedge
ashen merlin
#

yeah ๐Ÿ˜ฆ

#

many of the other meshes have a lot more than this

simple grotto
#

damn

simple grotto
#

assuming the overlapping bits are.... small and unnoticeable

sick wedge
simple grotto
#

ah and then overlapping them again after

#

seems like the most important parts aren't overlapping though so fingers crossed it'll be useable

#

before and after a subd if you're curious @ashen merlin

ashen merlin
#

yeah that's going to be amazing

simple grotto
#

cleans up surprisingly well for zero work involved

ashen merlin
#

the ears especially

#

look at that

#

amazing ๐Ÿ˜›

simple grotto
#

fuck it i'll try baking the subd

#

side by side goes hard

#

especially vs original with flat shading lol

ashen merlin
#

the eyelids may be a problem on the new one

#

but hopefully not

simple grotto
#

wow what a massive pain in the ass to split these islands

#

I think I'm just gonna say fuck it and hope the islands aren't significant enough to cause big issues

#

like the overlapping is on the teeth for instance

ashen merlin
#

pretty much anything should be better than how it is now

simple grotto
#

models are exported, gonna try baking

#

upside down in instamat too

#

ok time to bake

#

okay i found out why

ashen merlin
#

why?

simple grotto
#

the islands are off center, so instaMAT thinks there isn't a UV at all

ashen merlin
#

ah

simple grotto
#

I'm gonna drag them all into the center. This adds a concerning variable though because it's hard to know if it'll be perfectly lined up with the original UV

#

nvm I might've gotten it perfect

#

not upside down EZ

ashen merlin
#

seems like automating this would be a huge pain

simple grotto
#

it would, I can feel it

#

@ashen merlin

#

you good to test

#

because I got something

ashen merlin
#

ya

simple grotto
#

okay there's a 99% chance this won't work but screw it

#

and by 99% I mean 100%. I will buy a lottery ticket if this works because it won't work

#

but we should try anyways

ashen merlin
#

just assign it as a normal map?

simple grotto
#

yeah

#

injest first ofc

#

I don't think it's gonna work since the result of the bake didn't seem to alter the mesh in the preview like I've seen with my clone bake

ashen merlin
#

yeah no luck

simple grotto
#

figures. How annoying

#

I wonder what the difference maker was between this vs the clone

#

it was actually a shocking improvement

#

with tech there's nothing that's a coincidence. Just don't even know where to begin

ashen merlin
#

well it did do something

#

it added these weird seams, lol

simple grotto
#

I feel like the top right of the head is slightly rounded I guess

ashen merlin
#

closer up

#

without it

simple grotto
#

Interesting. Genuinely better to get some results than none I suppose. I'm gonna try baking the clone again tomorrow and I'll see what's up. Maybe there's a setting I missed because yeah, the normal was blank which is unexpected

#

I really hope it's doable though, it'd be a big deal

ashen merlin
#

sure would

#

thank you for taking a look

#

this is what "capture normals from shader" looks like

#

has major issues in most places, but it does smooth some parts of it

#

RT off entirely

dense wasp
#

hey, sorry so to fix the lack of smooth shading your baking a smooth shaded mesh onto a your unsmoothed mesh and baking as normal map right? Do you mind if i try? could you share your smooth and unsmooth mesh @simple grotto ?

simple grotto
dense wasp
#

cheers buddy

simple grotto
#

the first selected model is the one I tried baking

#

I tried both with shade flat and shade smooth, I'm fairly inexperienced with baking

#

the one on the right has a subD

dense wasp
#

ah right, lets give this cow a seeing to

#

here we go ๐Ÿ™‚ everywhere the uv's overlap or are messy it doesnt work. but works for 90% of mr cow

#

oh wait, mrs cow

simple grotto
#

@ashen merlin well there you go! Not perfect but still miles better than before

#

curious to see it in-game. Well done tadpole ๐Ÿ‘

rugged forum
ashen merlin
#

great, i'll give it a shot. thank you

#

๐Ÿ˜ข

#

maybe ingesting it screws it up?

simple grotto
#

you won't be able to package it but it'll work for yourself

ashen merlin
#

that's what happens if i manually convert to BC5 but don't convert to octahedral

dense wasp
#

oh hang on you need to flip the green channel

#

keep forgetting to tag in replies, @ashen merlin

ashen merlin
#

how would i go about doing that?

dense wasp
#

one sec i got chu

ashen merlin
#

was hoping XNConvert would have an easy way to invert the channel ๐Ÿ˜ฆ

dense wasp
#

i baked with the wrong tangent direction in Y

#

"wrong" meaning what remix doesnt use

ashen merlin
#

๐Ÿ˜ฆ

#

i don't know why this isn't working

#

again manual conversion is even worse somehow

dense wasp
#

in remix can you change tangent?

ashen merlin
#

not than i can see

dense wasp
#

hang on i've done something stupid here

#

i'm going to add your cow to cod ๐Ÿ˜›

ashen merlin
#

lmao

#

with manual conversion to BC5 unsigned (with no mipmaps) + octahedral, it looks somewhat okay under specific lighting

#

but in any form of direct lighting it's very bad

dense wasp
#

lol

simple grotto
#

they've seen some shit

ashen merlin
#

lol yeah

dense wasp
#

its a skin condition

#

right sorted it

simple grotto
# dense wasp

the perfect fit for cod. Now give em the fancy photoscanned bottles

ashen merlin
#

it's a lot better, but it still has major issues ๐Ÿ˜ข

#

turning off RR shows it best

chrome mulch
#

why not remodel?
or atleast fix in blender
cleanup, subsurf (1x or 2x), adding some details manually

ashen merlin
#

mesh replacements don't work in this game

hallow root
#

It's a skeletal mesh

chrome mulch
#

ah shit

hallow root
#

Have we found a single game yet that can actually do skeletal meshes?

ashen merlin
#

i'm not sure, but even disregarding that this game doesn't do any mesh replacements

#

i think there was one game that did work

#

@simple grotto might know

dense wasp
#

might be mip maps at a distance?

#

do the lines fade away as you get closer?

ashen merlin
#

they get worse as you get closer

#

this isn't a good sign for Fallout NV or 3 either. they had similar issues with vertex normals from the base game. i'd be surprised if replacements work there

chrome mulch
#

i have an idea, why not try a flat normal map?

hallow root
ashen merlin
#

plus we mistakenly already tried that

hallow root
#

It would just produce the vertex normals again

ashen merlin
#

didn't do anything as Traggey said ๐Ÿ˜›

chrome mulch
#

hm okay

hallow root
#

A normal map doesn't override, it's basically additive right

#

Information that exists bends based on the mesh normals

#

Flat information would just give you exactly what was there already

ashen merlin
#

@dense wasp the new normal map seems to be inaccurate in some way when rendered in this game specifically?

i increased the normal map strength just to see, and it does exasperate the weird wrinkle effect

#

spoiler because it's kinda gross

hallow root
#

It looks to me like the baked version was baked using different normals on the low poly

#

Have you made sure the export is accurate to the in-game one?

ashen merlin
#

i'm not really sure how to ensure that it's the same. visually it looks the same, and any time i capture it's the same mesh

#

just did a new capture with the camera very close to ensure there's no LOD weirdness going on, same mesh

simple grotto
#

I think they're animated

#

maybe skinned implies deform

dense wasp
#

could i get a usd capture with mrs cow please? @ashen merlin

#

the target normals must be different to the cow i have here

#

this is the best it'll look though

#

terminator cow

ashen merlin
#

so i have no idea what's going on

dense wasp
#

i had to reset normal though mate

ashen merlin
dense wasp
#

yes please, raw usd capture

ashen merlin
dense wasp
#

thats a bit little, doesnt include anything much but a camera

ashen merlin
#

yeah...

simple grotto
#

that's all that captures?

ashen merlin
#

no

simple grotto
#

I think he means one with a bunch of stuff

ashen merlin
#

i know. i just don't like sending all of that so i was hoping to avoid it

dense wasp
#

got it, delete it ๐Ÿ™‚

#

i'll delete when done

ashen merlin
#

thanks

dense wasp
#

ah ok different normals, exciting

ashen merlin
#

how is that possible? i'm so lost

#

it's using the same meshes that i sent

dense wasp
#

normals are inverted in the original. one i got from auto wasnt

ashen merlin
#

that's very odd

dense wasp
#

be 5 mins, exciting

ashen merlin
#

looks like an odd statue, lol

#

very good!

dense wasp
ashen merlin
#

๐Ÿ™‚ gonna test

dense wasp
#

oooooooooh i get it

#

that probably wont work

ashen merlin
#

๐Ÿ˜ข

#

does the deformation of the mesh somehow cause the issue?

dense wasp
#

nope, normals are backwards. so flip ALL channels ๐Ÿ™‚

#

easy peasy

#

one sec

ashen merlin
#

it's still problematic but it's far better than all of the previous attempts

#

only up close are there any real issues

dense wasp
#

oh sick, what about with direct lighting?

ashen merlin
#

still shows the issues

#

inverting it should fix it from what i'm seeing. that'd be great

#

i mean it's going to have issues no matter what due to the low poly count + deformation, right? ๐Ÿ˜ฆ

#

but it still looks 100x better even now

dense wasp
#

yea it's gonna still have issues

ashen merlin
#

like those

#

but ya

dense wasp
#

i think the one i sent before is going to be it at it's best mind you

ashen merlin
#

yeah you're right. this causes more issues

dense wasp
#

yea first one then mate

ashen merlin
#

alright, thank ya very much

#

what was your process for this? there's a ton of meshes that i need to do this for

dense wasp
#

one last attempt?

ashen merlin
#

of course ๐Ÿ˜›

dense wasp
#

i'll record a tutorial ๐Ÿ™‚

ashen merlin
#

sadly it's very not good

dense wasp
#

ah first one then mate for sure

#

just trying things

ashen merlin
#

appreciated ๐Ÿ™‚

dense wasp
#

ah videos a pain. I just export the cow as the target mesh and open it in marmoset. no edits. then i flip the normals, add smoothing and export as source mesh. then bake normals ๐Ÿ™‚

#

and cow's gone for ever. deleted ๐Ÿ™‚

ashen merlin
#

great, thank you!

dense wasp
#

kinda miss her now she's gone

#

all i got now

ashen merlin
#

aw

#

@dense wasp btw setting the normals to half strength fixed a lot of the issues, but i can't find a way to do this only for one normal map (right now i'm setting it for all replacements)

dense wasp
#

in photoshop make a new layer and fill it with a blue colour of red-128 green-128 and blue-255 and fade it out ๐Ÿ™‚ then ingest again

ashen merlin
#

worked perfectly!

#

huuge difference

simple grotto
#

big breakthrough??!?!?

ashen merlin
#

ya ๐Ÿ™‚

#

there's definitely no saving some of these guys (that poor horse will always be oddly pointy) but it'll still look a ton better overall

#

is anyone here capable of and willing to help recreate this texture? just the chalkboard portion

#

what i can read from it:

2. VEGBURGER WITH SIDE ORDER OF CHIPS.
3. CHICKENFEED, ? WITH SALAD
4. GLASS OF COWS MILK SERVED WITH A SHOT + ?
5. SOUP OF THE DAY```
simple grotto
#

if instamat had text with multiple fonts I could probably do it fairly easily

#

but I don't think it does

dense wasp
#

Just crack out a plain piece of paper and write it down in the same style. Photograph it and tweak it to look like a chalk board

ashen merlin
#

i would if i didn't have some of the worst handwriting known to mankind

#

i was already trying it ๐Ÿ˜ข

chrome mulch
#

yeah, its soup

rugged forum
ashen merlin
#

upscaling it doesn't really help much, it's usually quite bad with text

ashen merlin
rugged forum
rugged forum
dense wasp
#

It says "soup of the day"

compact niche
#

iirc

rugged forum
#

dolphin

compact niche
#

ok

rugged forum
#

The real trouble is actally somehow playing the game to the point where i can get to it and capture it

compact niche
#

wdym?

#

one sec imma quickly check one of my usbs

#

pretty sure i have a barnyard game ripped from a Wii disk on their

#

ok lotta ripped wii games here

#

umm

#

give me a couple of mins

compact niche
#

@rugged forum has filled her C:drive with the dumps lmao

rugged forum
#

her?

compact niche
#

his*

#

sorry haha

rugged forum
#

well maybe @edgy shard do you have a wii version of this texture?
#1106420949257044061 message

edgy shard
#

iirc I didn't dump any night barn textures so probably no

#

and I guess it might have the same resolution even on wii

vivid falcon
ashen merlin
dense wasp
#

Yea Ive got no clue

ashen merlin
#

๐Ÿ˜ข

#

@rugged forum #1106420949257044061 message

#

this one

rugged forum
ashen merlin
#

you set it as the normal map for the character mesh?

rugged forum
#

Yeah

rugged forum
#

Ok fixed it captures normal from shader wasn't on

ashen merlin
#

that's not the right setting

#

that breaks everything

#

this is my adjusted vertex normal, it's half strength. it looks a lot more natural than the one you'd been using

#

make sure you grab both files. don't ingest them, they're already ingested

rugged forum
ashen merlin
#

it's already visible in your picture

#

it causes irregular shadows and.. a lot of issues

rugged forum
#

Also what build doesn't have corruption?

rugged forum
rugged forum
#

Works perfectly now but why is your cow texture here so low res compared to mine, I haven't replaced the albedo on it #1106420949257044061 message

#

And how did youadd light to the nightbarn @ashen merlin ?

ashen merlin
rugged forum
#

probably

ashen merlin
#

it has the custom replacement assets, lights, etc.

rugged forum
#

didn't you add a light to a mesh

ashen merlin
#

emissives are all we can use

rugged forum
#

and set it far away

ashen merlin
#

i added a mesh to another mesh. it prevents the light from bleeding in with culling

#

i don't remember if that's in this mod pack or not

#

to be honest i don't really feel like packing up my entire setup

#

just get a giant sphere mesh and add it to various meshes in the night barn. make sure you ONLY do this on interiors. doing it on exteriors will block the light from the skybox

rugged forum
rugged forum
dense wasp
#

i took the unsmoothed cow and smoothed it's normals with an angle of 35 degrees, flipped it's normals as well cause they're backwards. then imported both into marmoset toolbag with the orignal rough one in the low polygon slot and the smothed normal one in the high polygon slot and baked normals with a very tight cage

dense wasp
rugged forum
dense wasp
#

Edge smoothing Maya calls it. Not sure what it is in blender

#

Apparently you define hard edges in blender

rugged forum
dense wasp
#

Edge smoothing

rugged forum
#

I mean in the outliner

dense wasp
#

Anything you like I guess, your just after a texture ain't ya

rugged forum
#

Yeah It seems like it matters for Marmoset though because I'm only getting an empty normal map after baking

dense wasp
#

Names don't matter. check your uvs are there in 0-1 space

#

They might be offset if I remember correctly

rugged forum
#

Alright that has fixed the issue. But the mesh I'm working with has an overlapping UV which seems to ruin the results

rugged forum
#

Annoyingly it appears that the UV wrapping for a lot of the barnyard characters overlap

dense wasp
#

yea it wont work where it overlaps i'm afraid, it's a half messure aint it

ashen merlin
#

on the latest dev builds, Barnyard crashes as soon as it gets into the main menu

#

build 408 is still necessary

#

buut the artifacts for it just expired on github

#

recompressing it so i can upload it for you guys

ashen merlin
#

Barnyard does NOT upscale well at all

#

otherwise i'd have just out out a simple upscale pack for people to mess with

#

every single texture looks pretty bad when upscaled

rugged forum
#

How bad does it look?

dense wasp
#

Crack out ya paintbrush and get to work. Upscaling ๐Ÿ™„

ashen merlin
#

already was, but i don't have the time

dense wasp
#

No time for art ๐Ÿ˜”

ashen merlin
#

barely any time for life

#

but Barnyard is just especially bad with upscaling results. and there really is the potential for good results when upscaling btw

namely what Nightraven is doing with PBRFusion. some of the results are pretty damn close to the full CC0 PBR assets i'd been using

ashen merlin
#

new table material, thanks to Quixel

#

new stage too

#

GTA barnyard

#

new bench also (same as the table)

#

and this game being what it is, the same material for the bench is used for some other tables, and the entire wood trim in the interior here

#

and the bar lol

#

and chairs

#

and the pool table

#

and the stairs

rugged forum
#

Woah, there is time for art?

ashen merlin
#

this was just a quick toss in from the Quixel assets i grabbed

#

not much time for extra work here unfortunately

dense wasp
#

@ashen merlin do you have a stable model in your scene you could attach a mesh replacement to?

#

Attach a giant sphere to it and add an HDR dds texture on the material. Then when your set up go back to game and mark the models original texture as sky with remix in game menu and your new giant sphere will also be treated as a sky.

#

That original model you anchored your sky to is done for at this point but you got a HDR sky for your troubles ๐Ÿ™‚

rugged forum
#

I think this was already done previously

#

in some way

ashen merlin
#

i appreciate the info though. i might still mess around with it and see how it works, even if it does just follow the player everywhere lol

dense wasp
#

Ah poop. Wolfenstein all over again

ashen merlin
#

this should fix it. give it a like please ๐Ÿ˜›

vivid falcon
ashen merlin
#

it only "worked" because it did what i intended it to do

i needed a sphere to follow the player around to prevent light bleed from culled areas

#

the issue here is that if i attach a texture to it, the texture will move in line with the player, rather than staying still. so you'd only see one spot of the HDRI, and nothing else

ashen merlin
#

@dense wasp how do i assign the hdri? emissive?

#

it's in .hdr format, not sure how to go about converting to dds

#

i found your open issue about ingesting as BC6S. i did that through Nvidia's texture tools, but the mesh is still solid gray with no texture assigned

dense wasp
#

and it looks grey in toolkit cause its not marked as sky yet. that gets fixed in game ๐Ÿ™‚

ashen merlin
#

it doesn't work in-game either

dense wasp
#

even after you mark the original prop as sky?

ashen merlin
#

yup

dense wasp
#

poop

#

its how i do mine as well as decals

rugged forum
ashen merlin
#

that's great! how does this work?

rugged forum
#

#588546848105693184 message

subtle pendant
#

Guys, uh, how is this project going? Asking for the greater good of the Empire

ashen merlin
#

sorry

#

it's pretty much halted

#

we're unable to replace meshes or place lights in-game, which limits the project way too much

#

imo it's not really worth continuing until that's fixed

subtle pendant
#

thumbs_up_sad I hope it will continue, its one of my fav childhood games

rugged forum
#

Yeah I hope it eventually gets the support, but we've been here for over a year so

rugged forum
#

But if it ever does get fixed I see myself putting a lot of time into it

upper badger
#

hi ๐Ÿ˜„

#

which of this game do i need download for rtx remix?

#

i haven't ever played this game, but i wanna take screen shots for my friend who knows this game and surprise him with super realtistic graphics.

ashen merlin
#

shadow cows

rugged forum
#

What happened?

ashen merlin
#

wow water textures work now

#

and they're animated

#

also NRC massively helps Barnyard: #showcase message

#

i think i also forgot to showcase my work on the bridge texture here

#

with Mark's help i fixed the heightmap, so it looks correct now

ashen merlin
#

throwback

#

this is how far we've come

#

DLSS Quality looks basically identical to this

#

you needed DLAA before

#

DLSS Balanced even looks amazing

#

640p looks better than native 1080p did

#

insane

#

gets insanely orange as the sun sets though lol

ashen merlin
ashen merlin
rugged forum
#

What did I miss?

ashen merlin
#

#remix-updates

rugged forum
ashen merlin
#

just didn't mark it

#

i have UI off most of the time

dense wasp
#

hey i just added a massive inverted sphere into my scene, like MASSIVE. and it allowed me to have a fallback light as a sun AND the sky dome. not sure if thats an issue or not for barnyard but thought i should let you know

ashen merlin
#

i appreciate it, but barnyard has issues with replacements at all. a mesh like that would just be stuck to the player, and the esky would appear to be in the same position all the time ๐Ÿ˜ฆ

rugged forum
ashen merlin
#

exploiting the issue intentionally, yes

#

but it wouldn't work for simulating the sky, because the texture would follow the player around and look really trippy

ashen merlin
#

disabling the grass gets me nearly double the FPS lol

#

wish so badly mesh replacements worked

rugged forum
rugged forum
#

But yeah mesh replacements and lights are the reason I haven't done anything for a while

trim pond
#

@ashen merlin do you mind summarizing the sky / moon bugs you've been having? trying to understand, but the information is kinda hard to track down

ashen merlin
# trim pond <@410198342300205066> do you mind summarizing the sky / moon bugs you've been ha...

sure. there's not much to the sky itself actually, most of the bugs lie in other parts of the game

basically: the skybox in this game is animated. it rotates, it has clouds that move, and the sun and moon slowly shift throughout the day or night. this, along with everything else in the game, is rendered through vertex shaders

since about 200 dxvk-remix builds ago, the sun/moon will now shake rapidly instead of... being normal. this happens only when DLSS or TAA-U are on. Nukem theorized that the jitter for those AA methods is being incorrectly applied to the sun/moon, considering it doesn't happen when temporal AA is disabled

and the other issue: the skybox as a whole smears with the new DLSS RR Transformer model. it doesn't happen with diamond_wallaby, but is a major issue with truthful_shrimp

ashen merlin
#

this conf fixes a LOT compared to the last good one

ashen merlin
rugged forum
#

How'd you get the star and ring to work?

#

Wasn't it tied with the sun or something

ashen merlin
#

that was about a year ago now

#

i found out Remix was marking it as UI because of an auto detect thing. i turned that off and marked it all manually now

ashen merlin
# ashen merlin

so this has all of the loading screens set (that i could find at least, no minigame ones) along with some other things fixed

ashen merlin
#

if anyone wants to, marking the loading screens (and keeping all other settings the same) would be appreciated

tame flume
rugged forum
#

Well Infinitec0re does majority the barnyard modding

ashen merlin
edgy shard
# ashen merlin that would be great, but really what we need is just to rewrite the renderer to ...

The shaders are decompiled so you can use this as a reference to rewrite it. There's an SDK in this repository with some examples of how mods can be created including an OpenGL renderer

https://github.com/InfiniteC0re/OpenBarnyard/blob/main/OpenBarnyard%2FSource%2FPlatform%2FDX8%2FAWorldShader%2FAWorldShader_DX8.cpp#L235

https://github.com/InfiniteC0re/OpenBarnyard/blob/main/OpenBarnyard%2FSource%2FPlatform%2FDX8%2FASkinShader%2FASkinShader_DX8.cpp#L254

#

The sky doesn't use a custom vertex shader. The shader is ASysShader

ashen merlin
#

yeah the sky is the only thing that shows up when vertex shader handling is disabled in Remix

#

that makes sense

#

ty for the info

edgy shard
#

There's a low end mode for the skin shader which is not decompiled but it probably works in the original game. You just need to set a flag somewhere in the structure

#

I don't think there is one for the world shader though

tame flume
#

You know... that probably explains what I saw back in the day. I remember I had an ultra-low-end PC at the time, and this game had no world geometry but grass, character models, and buildings rendered. If I recall it was a flat color sky too, but it's been a long time.

#

I wonder if instead of an ulrta-low-end mode, it was attempting to load the shaders and failing?

edgy shard
vague drum
ashen merlin
#

hah

#

imagine if this game won the competition

rugged forum
#

Got excited for a second

#

But that'd be pretty funny

#

Only if lights and meshes worked

#

And some other things

ashen merlin
#

yeah

#

lots of other things

#

but it would be neat

ashen merlin
#

someone wanna test barnyard with the latest commit?

#

can't use my PC rn (mobo died)

#

this can fix a lot of issues

lilac patrol
#

@ashen merlin

ashen merlin
#

that's really interesting

#

never seen it like that

#

fuck really wish i had my PC

lilac patrol
#

idk what i can show more

#

from the start game doesnt want to raytrace

#

i had to do some changes

#

this one had to be unchecked

ashen merlin
#

yeah

#

if you use the pinned rtx.conf it should look a lot better

lilac patrol
#

capturing froze game

#

with the config

#

capturing the game froze it

#

again

ashen merlin
#

idk why capturing is causing issues though

lilac patrol
#

i see small flickers

#

but it is propably mipmaps changing on the fly

#

im just guessing

ashen merlin
#

no

#

sadly that's an issue that's been around since this game first worked with remix

#

was really hoping this would fix it

lilac patrol
#

maybe im doing something wrong

rugged forum
ashen merlin
#

not sure yet ๐Ÿ™

ashen merlin
#

does it look better than it used to?

#

the bad news is it now crashes as soon as you alt tab

#

ah okay nvm. dxwrapper's windowed mode was causing it

#

unfortunately the game hasn't improved pretty much at all in the last 7 months since i last tested it

#

sad, but not unexpected

rugged forum
#

Yeah I feel the only hope is a compatibility mod

weary inlet
#

I love the way the colors look

ashen merlin
#

i swear it looks better than it used to, without changing any settings

ashen merlin
#

๐Ÿ˜† forgot i did this

dense wasp
#

I gotta find someone as devoted to Me as Kim is to barnyard

graceful pollen
#

Kim to barnyard is me to rtcw

ashen merlin
#

tbh i don't have much interest anymore. i just check in once in a while to see if there's any compatibility improvement

#

if mesh replacements become possible i MIGHT pursue it, but probably not tbh

graceful pollen
#

Is everything still unstable?

ashen merlin
#

afaik there haven't been any improvements regarding replacements with vertex shader rendered graphics, so yeah

#

replacements still float and follow the camera instead of staying anchored in place ๐Ÿ™

#

i'd have to make a tool to replace meshes in the original engine if i wanted to get around this, and i just don't have the skills for that (or time to learn them)

graceful pollen
ashen merlin
#

another one joins the parade

#

that's likee 20 games now that have this issue afaik

#

a lot more are going to be showing up with CR's camera injection thing

graceful pollen
#

Actually Kim have you seen mcsm (offtopic question im sorry) outside of the functioning parts

ashen merlin
#

i've seen a lot of your posts about it

#

buut that's all

graceful pollen
#

Ah

#

Yeah gotta love the 2 sides of a coin aspect

#

Oh wow vs oh wow

#

Sorry ill stop yapping

ashen merlin
#

lol it's fine dw. idc if there's off topic stuff in this thread

ashen merlin
graceful pollen
#

Yeahhh same

#

I never end up choosing anything that just works

ashen merlin
#

๐Ÿ˜† if only

rugged forum
#

I'll become devoted to this when mesh replacements and lights work (mainly the lights)

ashen merlin
#

if one works, the other will too

ashen merlin
ashen merlin
#

so, barnyard rtx is a bit more viable now thanks to some stuff that's happened in the modding scene

#

won't fix the major compatibility issues, but it can help some with visual quality

#

we can now replace models and textures for the main character and NPCs in-engine. so we could have a high(er) poly model and then add the texture in remix

rugged forum
#

Finally, good to hear there is progress being made on Barnyard. Would the new remix logic have any use in Barnyard?

ashen merlin
#

maybe could be used to fix the weather effects though

ashen merlin
#

we can restore all of the bink videos now

#

some of them are pretty badly compressed

#

this frame is from the attract.bik file

input | output

#

color shift is intentional. the bink encoding process causes a lot of raised black levels and such

rugged forum
#

What is this?

#

I wonder how this would look futher upscaled

ashen merlin
#

it'll be released for public use soon

#

i will make a tutorial for it

rugged forum
#

nice is it 480p?

ashen merlin
#

this model only runs at 1x, so it's not upscaling. whatever the original video res was, it stays as

#

it just removes the compression and adds more detail where it was missing

rugged forum
#

I don't remember the videos being that compressed

ashen merlin
ashen merlin
compact niche
#

holy pog

ashen merlin
#

haven't seen u in a while, hai

compact niche
#

lol hello to you as well

rugged forum
# ashen merlin

I can really see the improvement here, amazing. Was this model intended to be used for games?

ashen merlin
ashen merlin
compact niche
#

do you end up converting the bik files at all?

ashen merlin
#

you mean the ones being restored?

compact niche
#

nvm

#

@rugged forum has informned me it takes the mkv now lol

rugged forum
#

Is this the highest resolution you've tried so far?

ashen merlin
#

to put the videos back in the game, they'd have to be reconverted to bink. but they can be encoded at a higher bitrate so it looks better than it originally did

ashen merlin
#

so it can definitely do more than what it's doing here

rugged forum
#

I wonder how well it'd do for other things like music videos

#

mainly older ones

ashen merlin
#

works great on those too. someone else trained a model for that

#

removes rainbowing, dot crawl, compression, and more

#

the arch can handle a lot

compact niche
ashen merlin
#

also a private model rn ๐Ÿ™

ashen merlin
#

it's because it's trained on licensed stuff

#

legit reason sadly

compact niche
#

dang

ashen merlin
#

there will be more models for it soon

compact niche
#

pog

ashen merlin
#

the one i'm training rn included

ashen merlin
#

it'll be easy to use the model

#

i have a gui and everything

compact niche
#

damn

rugged forum
#

interesting

ashen merlin
#

pretty happy with it overall

#

works even better on other games

ashen merlin