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

HLSL "World To Loc" not work on 4.22 #10

Open
MrMybal opened this issue Mar 12, 2019 · 6 comments
Open

HLSL "World To Loc" not work on 4.22 #10

MrMybal opened this issue Mar 12, 2019 · 6 comments

Comments

@MrMybal
Copy link

MrMybal commented Mar 12, 2019

Hello, ryan
I would like to tell you that your work is extraordinary, a big thank you to you for everything you do.
I am currently working on a BP editor to automate HLOD settings and also to create imposters, I tested your "ImpostorBaker" code, under version 4.22 it is impossible to use the final Material because the HLSL code contained in "World To Loc" does not work with the new version.
With the 4.22 I create blueprint tools using "Widget Editor", I started making my own Bake imposter system based on your work "render to texture" and "Octahedral Impostors".
Thank you...

@ictusbrucks
Copy link
Owner

ictusbrucks commented Mar 12, 2019 via email

@JohnAlcatraz
Copy link

Hi, The workaround is to use a World to Tangent transform instead (and a Tangent to World in other places). The tangent transform is slightly less accurate, but not noticeably so. It also has the benefit of working on instanced foliage and particles (with a few other changes to the locations in ImpostorInfo plugin).

I would love to be able to use this with 4.22 and instanced foliage, but unfortunately I do not understand it well enough to be able to know what exactly to change based on the description above.

@LucianoJacomeli
Copy link

new update for 4.22.3: https://github.com/LucianoJacomeli/ImpostorBaker

uses: default mesh size, and the old "World to Loc" node with some fixes for 4.22

works fine with instanced foliage, but have problems with shader complexity maybe i do something wrong in creation of octahedral

@Dementei
Copy link

works fine with instanced foliage, but have problems with shader complexity maybe i do something wrong in creation of octahedral

@LucianoJacomeli - Were you able to solve for the shader complexity? Normally one would be able to modify the mesh by carving out the planes, but it seems that isn't possible here.

@LucianoJacomeli
Copy link

i don't know if the shader complexity was caused because the system, or because example of Ryan is using a more clean mesh, like a simple mesh cartoon, i have this problem of complexity too, unfortunatly i have only the Unreal 4.22 installed, so i can't check the plugin on original 4.18 or 4.19 i don't remember.

One thing you could try is use the Z-Pass to reduce the Alpha but in 4.22 i heard is broken!

@Ally994
Copy link

Ally994 commented Apr 23, 2020

Hello, ryan
I would like to tell you that your work is extraordinary, a big thank you to you for everything you do.
I am currently working on a BP editor to automate HLOD settings and also to create imposters, I tested your "ImpostorBaker" code, under version 4.22 it is impossible to use the final Material because the HLSL code contained in "World To Loc" does not work with the new version.
With the 4.22 I create blueprint tools using "Widget Editor", I started making my own Bake imposter system based on your work "render to texture" and "Octahedral Impostors".
Thank you...

Hello! Is there any chance to get your BP editor to automate HLOD and create Imposters? Thank you very much

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

6 participants