I have a customProcedural texture to feed a PBR.
My first attempt was to browse the source code to find how you manage the bumpTexture but it was not clear to me since I could find a fragment with an “#IF blabla” and a search with “_bumpTexture” only gave me ts code.
Injecting a bumpTexture from an image does what I want. So I would like to copy the logic of what is happening in that branch, but in my shader.
Where to look at to find how you handle bumpTexture?
Don’t get me wrong, I may have totally missed the file.