Migrated PerVertexDirectionalLighting to unified API

- Cast nfloat to float
- Cast nint to int
- Removed nfloat cast from negative number