Dress comfortably. However you define that.
Don’t let the fashion shamus dictate to you how you should dress.
If you are comfortable in a tux, go for it.
If you are comfortable in shorts, go for it.
And no, whatever you choose, you will not be turned away. Although the fashion shamus will attempt to frighted you into believing otherwise.