It may not be my place to speak, my knowledge of Material Shaders and Editor is primitive to say the least, so take what I say with a grain of salt, or give the salt back to me in the form of knowledge
Would it be possible to allow us to use Texture Samples instead of Texture2d? I only ask because I make heavy use of instanced materials and would love to be able to change the textures being used instead of manually going into a function and changing them. There may be a justified reason for only allowing Texture2d inputs, idk.
I’m also going to assume that this function still needs to be worked on by Epic, I haven’t come across a pre built function that still includes parameters (left over from debugging(?)), would it be possible to get rid of them? It adds unnecessary clutter to instanced materials.
I’ll be making my own version of the function so it’s really no biggie to me, but I’m curious as to why you only allow Texture2d before I go ahead.
p.s, so far I love this function, has proven very very useful in the short amount of time I’ve used it
Now, granted, I got tired of dealing with this and eventually just disabled the bombing, so this is not the best solution in the whole wide world, but it could be a start. And it cut down on the instruction count of the material substantially.
Awesome bud, I’ll take a gander and see what I can take away from it.
Also, “But I’ll warn you, this is what it did to my terrain shader”, curious to know what it did to your Terrain Shader as that’s what I am using this functionality for, ty
Oh, unless you’re referring to the tangled mess? It’s fine, gotten used to working in such cramped environments (I get homesick coming from Blueprint scripting sometimes), heres hoping I can smoothly transition my distance blend into the mix, cheers
It ended up just not being worth the performance cost, really. The landscape shader was already pretty hefty, and the texture bombing took it over my budget. It worked (minus some seams that I never ended up hunting down), though.
Haha my apologies, needed quick texture that I could tell if it’s being ‘bombed’ or not.
Ok, as I was preparing a new image to post I found something strange, it only seems to work on the landscape when using specific numbers, it may be because it tiles back up on itself which duh, pretty obvious come to think of it :L
Soz, and and for taking the time to reply so early haha