#oh, i'll dowload it then

1 messages · Page 1 of 1 (latest)

vocal solstice
#

Curved shader

#

oh thought that would name it

#

made a thread so we dont flood help with this 🙂

dull crater
#

and appart from this... Do you remember you talked me yesterday about profiler? I found the problem thanks to that... it was the postprocessing...

vocal solstice
#

nice!

#

yeah post processing is very heavy

#

its a balance between good looks and perfomance

#

you might need the URP for this to work

#

I think they updated the github

dull crater
#

Yeah? but what's exactly urp?

vocal solstice
#

its the new render pipeline

#

its supposed to be optmized for all platforms

dull crater
vocal solstice
dull crater
#

and is there any way to implement it on an already created proyect?

vocal solstice
#

if you have other custom shaders built for old pipeline they might not work just FYI

dull crater
#

is it postprocessing a shader?

vocal solstice
#

no URP has its own post processing

#

you can remove that package but you have to make the same Profile settings

dull crater
#

oh, so if i use the postprocessing included on URP once i install URP it could work better than without urp?

vocal solstice
dull crater
#

Sure

#

you always save me

vocal solstice
#

UnityChanThumbsUp np

dull crater
#

and this is the same project as this one, right?

#

so i can download the folder without downloading the entire package

vocal solstice
#

apparently so

#

even tho the description said otherwise lol

#

trying to make a test project rn curious to see if it works

vocal solstice
#

yes so far adding the script to cam does nothing

#

there has to be something more enabled prob

#

they havent mentioned anything in github

dull crater
#

ooff, it's going to be more difficult than i expected hehe

vocal solstice
#

there is probably an asset or out the box solution somewhere

#

but this the only one that came to mind and its free, just needs slight reverse engineering

#

but a shader / render effect will do this basically

#

and looks simple enough

dull crater
vocal solstice
#

check back in a bit I might have an aswer

#

I have the time later

dull crater
#

perfect thanks!

vocal solstice
#

Oh i see whats going on

#

They're just materials

#

thought they added it as a renderer feature

#

sometimes the simplest answer it the right one..

dull crater
vocal solstice
vocal solstice
#

the only annoyance is the material is "Unlit"

#

so it doesnt react to lights

#

I guess this is for perfomance reason since this project was made for Mobile

#

maybe you can find another curved shader maybe thats supports Lit material

#

IM not sure if its actually Lit or Unlit

dull crater
#

interesting... i'll take a fast look at it

vocal solstice
#

yeah lmk how it works out

dull crater
#

but... imagine that's the shader

vocal solstice
#

huh

dull crater
#

how could i apply it to the game view?

vocal solstice
#

you need the whole shader folder

#
  • WorldCurver.cs
dull crater
#

sure, but imagine that there's just that shader...

vocal solstice
#

put WorldCurver.cs on the camera

dull crater
#

it's done by chat gpt

vocal solstice
#

wat

dull crater
vocal solstice
#

no

#

dont use that crap

#

anyway these are the files from that project

#

disregard Unlit_CurvedUnlit

dull crater
#

so i download that folder and i put it into unity

vocal solstice
#

yes

dull crater
#

how could i download just the folder?

#

the shaders one...

vocal solstice
#

its less than 50mb

dull crater
#

Srry XD i don't usually download certain folders from github 🙂

#

and once tha's done?

vocal solstice
#

the Script i told you earlier

#

put in on cam

#

right click on each one of the shaders and Create Material

#

then put yoru textures in eachmaterial and apply

dull crater
#

wich textures?

vocal solstice
# dull crater

you have to replace all your world meshes with that material from shader

#

the texture goes in the material

dull crater
#

that's the space...

#

i think

#

so i need to replace all meshes with that material and that's it?

#

but wich of them i use for all meshes?

#

srry for ask you a lot... 😦

vocal solstice
#

you can see how many you have copy

#

or try switching the shader maybe directly on their material to Curved

dull crater
#

oh

#

and how could i apply it to a terrain?...

#

is it possible?

vocal solstice
#

dont think it works on terrain, not sure

dull crater
#

you're right

#

i'll found a way for that... i don't wanna waste more your time... but just one thing... do you know why lights don't work correctly?

vocal solstice
dull crater
#

oh hehe, sorry

vocal solstice
#

btw u dont have to put it on the playeritself, only the bacgkround objects

#

also the road should just be meshes as well

#

maybe do it in blender

dull crater
#

yeah, the road it's not a problem, but without lights it looks a bit bad... so now i moreless know how shaders work i think i could find more... i hope so and for the plane i could create a plane and create a texture with the shade of the terrain...

vocal solstice
#

yeah maybe lookup how to turn Unlit shader into Lit

#

goodluck UnityChanThumbsUp

dull crater
#

@vocal solstice

#

i've found the perfect asset

#

And with a proppertly manual

vocal solstice
dull crater
#

On a random page

vocal solstice
#

pretty cool stuff

dull crater
#

but i still having the problem that i can't apply the shader to the terrain...

#

do you know how to do it? or just copy it textures and move them into a plane?

vocal solstice
#

wat reason it needs to be a terrain

#

yea use a quad

#

/ plane

dull crater
#

is it that possible on a plane?

#

or can i export terrain textures? i honestly don't know if that's possible

vocal solstice
#

im not sure