Nexerade Posted February 19, 2018 Share Posted February 19, 2018 Or it's just OpenGL? Cause I didn't find anything in main.lua, don't wanna use VS so hoping I could make everything using .lua. So, is there any shaders running by default that I can disable in main.lua? Quote I am not silly. My english is just not really great. T_T But I'm learning! Link to comment Share on other sites More sharing options...
Josh Posted February 19, 2018 Share Posted February 19, 2018 Shaders are always in use whenever anything is drawn. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Nexerade Posted February 20, 2018 Author Share Posted February 20, 2018 But can I disable or replace them with lighter shaders or can I use fixed pipeline? Quote I am not silly. My english is just not really great. T_T But I'm learning! Link to comment Share on other sites More sharing options...
Josh Posted February 20, 2018 Share Posted February 20, 2018 There hasn’t been a fixed pipeline since about ten years ago. Leadwerks runs pretty well even on integrated graphics with low settings so I don’t know if editing the shaders will do much good. What is the reason you are interested in this? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Nexerade Posted February 20, 2018 Author Share Posted February 20, 2018 Well, firstly I wanna learn to write shaders, cause I write mostly on C, and GLSL is very similar; secondly, when I change resolution up, my FPS drastically falls down. Here you can see FPS on the up-left corner, I have ~10 static light sources with "medium" distance, 1920x1080, all low settings exept for antialiasing which is 2x and texture quality, which is very high. I've tried to remove all light sources and it doesn't really get FPS boost. So I think there is something with shaders, because in our engine with fixed pipeline (OpenGL 1.2) (I have no light sources or shadows), with same amount of polygons, FPS is much higher, even when using 8x multisampling 1920x1080. Here is our engine for FPS comprasion. In my map in leadwerks I have ~110k polygons, in our game ~85-105k polygons around the player, but there is a very huge difference in FPS even when leadwerks has no lights, 1920x1080 without any antialiasing. 1 Quote I am not silly. My english is just not really great. T_T But I'm learning! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.