armory3d / armory

3D Engine with Blender Integration
https://armory3d.org
zlib License
3.04k stars 316 forks source link

Parralax rendering in Armory #658

Open montedre opened 6 years ago

montedre commented 6 years ago

Would it be possible to get the parralax rendering as used by Decal Machine work in Armory? I would be happy to provide the node set up and what ever else I can.

Thanks Monte

p.s. not sure how to set this as a feature request

(drag & drop zipped .blend file here)

zauberparacelsus commented 6 years ago

I think those labels are assigned by Lubos

adriansnetlis commented 6 years ago

While parallax mapping node isn't a thing, you can make one yourself. Just use parallax maths and make a node group that handles that ;)

montedre commented 6 years ago

I am pretty sure that is what the creator of Decal machine has done, however right now Armory can not deal with it and throws an error.

8BitsGotBite commented 5 years ago

Would also love to see this feature in a future release.

Did some testing and my guess is that armory is not (yet) using the tangent-, geometry- and/or camera data-nodes that are needed for parallax to work.

Here is the example in cycles. Armory looks like the top which is albedo- and normalmap only. cycles_parallax

parallaxDisplacement.zip

adriansnetlis commented 5 years ago

Yes, those nodes should be working if we want some more control over shading in Armory.

However, a native parallax node would be good (could be optimized better than manually created node groups).

luboslenco commented 5 years ago

Tangent node should be fixed. 🔨