Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Digistruct

Involuntary Transparency on HDA's

Hi guys, 

I'm trying to learn how to make HDA's for games and specifically UE4 right now. 
I've made some simple assets with a varied level of success, but they've all had the same issue in common. 

All the assets I bring in have either a lower transparency on the surface closest to the camera/player (objects with thickness) or is being clipped in half from the point of view as if the near clipping plane is super high ( open objects without thickness f.e. a tube).

Any help on getting to the bottom of this issue would be greatly appreciated! 

Thanks,
Jack

Edited by Digistruct

Share this post


Link to post
Share on other sites

Hi Mike, 

Sorry for the super late answer, completely missed I got an answer. 

Here's the HDA and an image of the issue (and it's happening on all HDA's, not just this one specifically).

Thanks!

invisibleWall_HDA.zip

Share this post


Link to post
Share on other sites

Hey Jack,

Because you're using a negative value in the polyextrude the resulting geometry has the normals facing inwards.  In unreal the default material only displays geo with normals facing the camera.

There's a couple things you could do.  In Houdini open up your display options by hovering your cursor over the viewport and hitting "D".  Under the optimize tab turn on "Remove Backfaces" to get an idea of the result you will see in UE4.

You could add a reverse node after the polyextrude in your hda but that would still cause problems if the polyextrude value was positive.

Maybe add a toggle to flip the normals.

Mike

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   You have pasted content with formatting.   Remove formatting

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor