Closed joshuaskelly closed 1 year ago
Thanks for this - I'm not going to merge directly - Ill branch this feature implement some changes, and merge when its ready. Im considering exposing this option as a new PSX Terrain Volume Component, and globally swapping which keyword is in use based on the volume setting.
Enables texture filtering for terrain grass details. Refactors
PSXWavingGrassPasses.hlsl
to use the texture filtering method fromMaterialFunctions.hlsl
. Based off my inital attempt posted on the HPSX Discord.Currently this enables the point filtering to verify my changes. I don't believe there is a good way for users to set keywords for these materials, so the only way forward I can see is to duplicate the shaders with the keyword defined. Then users can plug whichever shader they want into the RP resources asset.