Latest directx11 Activity
@JoeJ exactly, now I found correct solution
TVertexPT vertices[] = {
{{-1.0f, -1.0f, 1.0f}, {0.0f, 1.0f}},
{{ 1.0f, -1.0f, 1.0f}, {1.0f, 1.0f}},
{{ 1.0f, 1.0f, 1.0f}, {1.0f, 0.0f}},
{{-1.0f, 1.0f, 1.0f}, {0.0f, 0.0f}…
I solved the problem, my normals was incorrect
Please excuse in the case of misunderstanding your ask.
I've always liked https://www.rastertek.com/tutdx11win10.html
On computers today, all of main memory is equal. An array is an array is an array. The functions need a pointer to some data organized in a specific way. They don't care what you did to organize the data in the right way, all that matters is that it is formatted as expected.
In runtime no, in editor yes. Well… yes for standard textures (virtual textures no - you wouldn't be able to fit them in memory).
This could run into problems when assets are too big - my point is, that it is managed and dynamic (which I guess is what you want). Easy to switch between those 2 approa…