DIffuse/Paralel Lighting Example for the C++ API
Hello! I'm trying to adapt the RoomTiny example to use it for visualization of 3D Models in the Rift. I'm using the DX11 sample, on the latest OVR SDK. I've managed to load several triangle-based files (STL, VTP). The problem is that they don't have any lighting based shading, they look doll. So I googled around and found a decently explicative DirectX11 set of examples, but as I'm un(experienced, I can't figure out how to adapt this(https://www.braynzarsoft.net/viewtutorial/q16390-simple-lighting) tutorial for the RoomTiny example.
Does anyone have a working example of Diffuse Lighting or an adaptation of RoomTiny that includes it(even better)/tutorial on how to implement lighting to the C++ API? I'd greatly appreciate it.
Edit: This example is also very detailed: http://www.rastertek.com/dx11tut06.html
Does anyone have a working example of Diffuse Lighting or an adaptation of RoomTiny that includes it(even better)/tutorial on how to implement lighting to the C++ API? I'd greatly appreciate it.
Edit: This example is also very detailed: http://www.rastertek.com/dx11tut06.html
