VReaperV
VReaperV
> What do you mean? For example if there's: ``` void main() { #insert material_fp // Compute view direction in world space. vec3 viewDir = normalize(u_ViewOrigin - var_Position); ``` in...
> Actually if you have an insert on line 60, maybe the best thing would be to put `#line 59` before every single line so the user will know any...
> Just an idea that crosses my mind, but I wonder if that's doable, even if ugly, to assume we will never have GLSL files of 10k lines, and then...
> I was thinking mainly to have the line directive after the insertion, to maintain correct line numbers for the main file. So #line 61 in your example. Ah, I...
Squashed the small fix, no actual changes.
This works well for me, there's no longer a significant performance difference between `/cg_marks on` and `/cg_marks off` (still depends on the amount of alien buildings in view of course,...
I get no significant difference between `/cg_draw2D off` and `cg_draw2D on` on my end with this branch too (it's within 1ms of difference).
> This may be a low poly model, but I doubt we have the resource to produce some. We can probably generate them from the original models.
There's probably also a lot of lane divergence and texture cache thrashing with the current implementation. If I understood it correctly, it's looping over the heightmap 16 times in the...