Hinageshi
Hinageshi
## Modole https://github.com/CatDogEngine/TestAssets/blob/main/PBR/zbrush_for_concept_-_mech_design_d.ver.zip ## Sketchfab   ## CatDog   ### Without Normal Map  ## Blender 
VS2022 started marking `stdext::checked_array_iterator` as "deprecated" sometime between 17.7.6 and 17.8.2 witch makes our compilation fail. ``` warning C4996: 'stdext::checked_array_iterator::_Seek_to': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard...
Heres a temporary solution: #265
Shaderc has an option: `--depends` https://bkaradzic.github.io/bgfx/tools.html#options Resource Level: #442
see *Moving Frostbite to Physically Based Rendering 3.0. A Physically Based Camera*
Also store shader dependencies and update them appropriately.
Atmospheric scattering is complete in #36 and i gathered informations from #2 and #39 to render the rest part of sky.
F:\Works\CatDogEngine\Engine\Source\ThirdParty\bgfx\src\renderer_gl.cpp (6879): BGFX FATAL 0x00000001: Failed to compile shader. 0: 0(69) : error C1503: undefined variable "asfloat"
F:\Works\CatDogEngine\Engine\Source\ThirdParty\bgfx\src\renderer_gl.cpp (6879): BGFX FATAL 0x00000001: Failed to compile shader. 0: 0(981) : error C7011: implicit cast from "vec4" to "vec3"