sixthsurge / photon

A gameplay-focused shader pack for Minecraft
MIT License
893 stars 190 forks source link

[REATURE REQUEST] Please add a strength multiplayer for normal maps #169

Open MikiP98 opened 1 month ago

MikiP98 commented 1 month ago

Description

I know it is possible, if I remember correctly you can multiply the normal map by a color vector of which first 2 channels would be the value of the strength multiplier and the blue channel would stay at 1.0 thought I'm not a shaders guy (yet).

I don't know how hard would it be to implement and what performance impact would it have, but I find most normal maps in resource packs to harsh, and would love the option to tune it.

MikiP98 commented 1 month ago

I've found some normal vector inside space_conversion.glsl, material.glsl and couple others. IDK what to do with it though. Where does the shader load the normal map?

MikiP98 commented 1 month ago

I tried playing with some values, and didn't noticed any change, do I need to compile something, or restart the game after every change?