I`m just newbe in Urho3d. So please help me.
For example I have stone.xml
material
technique name=“Techniques/DiffNormal.xml” quality=“1” /
technique name=“Techniques/Diff.xml” quality=“0” /
texture unit=“diffuse” name=“Textures/StoneDiffuse.dds” /
texture unit=“normal” name=“Textures/StoneNormal.dds” /
shader psdefines=“PACKEDNORMAL” /
parameter name=“MatSpecColor” value=“0.3 0.3 0.3 16” /
/material
"
Where can I put “filter mode=“nearest” /” string?
question2: Can I simple add strings from difenvcube.xml to difnormspec.xml to get difnormspecenvcube.xml?
Archive 17/01/2023.
Texture filtration
Blackfox
jmiller
Hello, and welcome to the forums!
A texture definition XML file will be used if placed in the same location as the texture:
Urho3D - Documentation - Materials
Question 2
Generally, Urho code and shaders have good consistency and can be copied/extended with minor changes as many of us have done.
Urho3D - Documentation - Shaders
I’m half awake yet… “couldn’t hurt to try?”
Blackfox
Great thanks…