unity-spaceship-generator icon indicating copy to clipboard operation
unity-spaceship-generator copied to clipboard

Material Section

Open twobob opened this issue 6 years ago • 3 comments

Was trying to get these meshes UV ready and didn't see a simple way to make them more useful.

What's your take. Just finish up porting the original or go for something internal?

twobob avatar Aug 16 '18 23:08 twobob

I guess I am saying this bit https://github.com/a1studmuffin/SpaceshipGenerator/blob/master/spaceship_generator.py#L714 via https://github.com/a1studmuffin/SpaceshipGenerator/blob/master/spaceship_generator.py#L443

twobob avatar Aug 18 '18 18:08 twobob

Hi,

the original sadly doesn't deal with UVs. It uses cube projection on the material. That could be achieved by creating a shader, I guess, but that's not really what I want.

I've been on a lookout for some unwrapping techniques that I could use but it doesn't seem that simple.

If you'll have any ideas, they would be appreciated :)

mkmarek avatar Sep 18 '18 20:09 mkmarek

Hi,

To avoid UVs all together I tried using Keijiro's triplanar shader https://github.com/keijiro/StandardTriplanar with maps from JSplacement https://windmillart.net/?p=jsplacement

I'd like to modify the Shader to accept an emission map and heightmap someday.

This guy here is getting some neat displacement with JSplacement https://youtu.be/hGc7MPllNas?t=274

Cheers

triplanarshaderspaceship

dza6549 avatar Nov 06 '18 04:11 dza6549