Amazing! Thank you so much man. Seriously this is the only way I've found that gives me a 1 to 1 perfect result. Before I was rendering out the Z depth in blender as a normalised image but that resulted in a non-linear height gradient. It was like the low areas were exponentially lower once imported into Unity compared with how the mesh looked in Blender. But your method works flawlessly! I can finally sculpt and deform a mesh in Blender and export that perfectly to Unity! No more smoothing terrains in unity after importing!
@LarsMezaka5 жыл бұрын
Yup. well knowing about linear fog is pretty great and I was quite surprised how simple it was to write that python script for the higher bitdepth. Normally I hate writing python code, but this one was fun. Make sure to leave some link of whatever you're making once it's finished :)
@c3r3s464 жыл бұрын
How can i make it use dynamic topography
@سرمدكريم-و6ش3 жыл бұрын
Hi can you please just fix file path for Linux I Know it's in line 8 but I don't know how to wright it or you can wright respond to this coment to tell me how to do it.
@LarsMezaka3 жыл бұрын
Hi, did you try using the absolute path? just write a "#" in front of lien 8, remove it from line 9 and set any filepath there. I am not sure of Linux uses "/" or "\" for filepaths... try using both and it should work. + you will likely get an error if you havent saved the file yet.
@سرمدكريم-و6ش3 жыл бұрын
@@LarsMezaka It Worked It finally worked man you have no Idea how long I have been looking for something like this I spend almost three hours looking for something like this and 3 more trying to figre why I was getting errors I couldn't figure it out without you responding thank you so much I hope god gives you evrything you want in life.
@LarsMezaka3 жыл бұрын
@@سرمدكريم-و6ش :D you are welcome! I hope this is what you need for your Project.
@kinnikunky5 жыл бұрын
This is fantastic! I'll share it with the mapping community for the game I'm working with. Quick question, to change the area that gets mapped, would I only need to adjust the resolution of the renderer? Or do I need to adjust the camera settings somewhere to in order to keep the correct 1m scale?
@LarsMezaka5 жыл бұрын
Yup that should work. Just change the resolution. If you run into any trouble let me know. Its been a while since i touched this project, so im not 100% sure itll work with newer unity versions.
@jethdaflip77415 жыл бұрын
Why'd you use 1025 by 1025 size? I thought that it had to be 1024 or 512
@LarsMezaka5 жыл бұрын
not sure anymore, its been a while, but i think unity uses a power of 2+1 vertices to get a power of two faces in between. just check what works for you
@kulak85484 жыл бұрын
@@LarsMezaka This is right, Unity uses power of 2+1 for terrains.
@hadieini6 жыл бұрын
Awesome, When will you make more low poly scenes? can't wait :D
@twitchtwitch90064 жыл бұрын
sadly it did not work, when i import the raw, nothing pops up in unity , terrain is all flat and blank, the default plane
@LarsMezaka4 жыл бұрын
HHm... i guess you are using a newer version of unity? Maybe they changed it? Might also be that it doesnt work in newer blender versions
@kulak85484 жыл бұрын
@@LarsMezaka Are you thinking about doing an update? Would love to have this tool.
@LarsMezaka4 жыл бұрын
@@kulak8548 Probably not... fixing this would likely be a lot of work
@KennethMyers13 жыл бұрын
I'm also having this problem did you ever figure it out?
@LarsMezaka3 жыл бұрын
@@KennethMyers1 hm.... can you send me the RAW file? That way i could at least check wether its a blender or unity thing... or try to open it yourself in the text editor. If its random gibberish thats good. If its all the same symbols thats bad
@keanelombard655 жыл бұрын
sadly the python script did not work, maybe because there are newer versions of blender and python? if anyone knows the solution please let me know, thanks:)