PBRCustomMaterial and MirrorTexture

I create a water pbrCustomMaterial (port from unity)

It look nice, but when I add a mirror to it, the reflection looks too clean, it is not influenced by normal.
I use this code to set normal I calculated into pbr(not use pbr bump texture):

this._pbr.CustomParts.Fragment_Custom_Alpha = `
            normalW = data.worldNormal;

What’s wrong?
It seems that mirror reflection texture uses plane’s normal directly?

1 Like

You should put a repro in the playground to help @nasimiasl understand what could be wrong ?


i think do it before :slight_smile: that is not simple let me find the code

@Moriy you make play Ground for that i search from my old commit for find it

1 Like