Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Terrain Vertex color shader... #4

Closed
Gusher opened this issue Mar 29, 2021 · 5 comments
Closed

Question: Terrain Vertex color shader... #4

Gusher opened this issue Mar 29, 2021 · 5 comments

Comments

@Gusher
Copy link

Gusher commented Mar 29, 2021

Is it possible to save the splatmap after finishing up blending?

@puchik
Copy link
Owner

puchik commented Mar 30, 2021

You mean using the blending sliders to make a custom splat map? Maybe for use somewhere else?

If so.... hmmm that's not an available feature, but you could do your blending, leave everything as it is, replace your textures with flat colours (rgb), turn off shading so it's all equally lit and even, then take a screenshot from orthogonal camera view and use that as a splat map... don't know how well it would work with curved surfaces though.

@Gusher
Copy link
Author

Gusher commented Mar 30, 2021

For example, Zylann's terrain plugin creates a copy of the splatmap in the project folder and was wondering if your addon does that too, that can further work with it with external tools like photoshop... am still trying figure out how to setup.... do you have a youtube video showing how to setup? Thanks...

@puchik
Copy link
Owner

puchik commented Mar 31, 2021

Ahh but it's not a plugin, just a shader. If you're referring to how I did the painting in the video, that's VPainter which paints to the vertices in the model (which you can't save as a splat map). Otherwise, the shader can't create any mapping, it can only use existing splat maps or vertex colour.

It will work with photoshop in the sense that you can use images made in photoshop as a splat map.

Set up just involves assigning a ShaderMaterial to some mesh and filling in the parameters. I might make a video eventually but it should be relatively straight forward and there are some instructions in the README.

@Gusher
Copy link
Author

Gusher commented Mar 31, 2021

Thanks for explaining, am just a beginner of GODOT, exploring addons, would be great to make a short video guide for the newcomers to GODOT... thanks!

@puchik
Copy link
Owner

puchik commented Apr 2, 2021

No problem! I'll consider it, but it should not be too complicated to use the instructions once you read the Godot guides here:
https://docs.godotengine.org/en/stable/tutorials/shading/shader_materials.html
https://docs.godotengine.org/en/stable/tutorials/shading/shader_materials.html
Good luck!

@puchik puchik closed this as completed Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants