Thank you!
Yes, screen resolution is too low, changed it to 640x480. Also, there are some other stuff needs to be added to get proper ps1 look, f.e.:
- vertex inaccuracy;
- screen-space dithering;
With all of them working together this could look really awesome! I think acknex is only suitable for oldschool styled games, compared to up-to-date game engines.
Take a look at this video showing PSXEffects in Unity engine:
PSXEffects - Retro PlayStation 1 Graphics in UnityAs for static lightmap, yes I know it's stored in the entSkin2 but I don't know how to use it properly... I wish there were original mtl_shaded and mtl_model .fx files, so I could modify them directly, instead of trying to write everything on my own (since I'm not good at shaders at all). I just couldn't find them.. They are defined as ENGINE_MATERIAL mtl_shaded in avars.h and that's all...
So far I got working:
-affine texture mapping
-vertex lightning + static lightmap (too dark, I'm probably using it incorrectly.. but at least I see lightmap)
Not working:
Any ideas on how to calculate vertex spotlight or how to fix fog are welcome!
The fog one is really strange, since I don't change inPos at all..
Best regards!