Leadwerks Software
Leadwerks Software
How do you integrate this into your own program and run that? I am using C++ with MS Visual Studio.
Here is some code that adds linear sampling and texture wrapping: ``` TGAColor TGAImage::sample(const float x, const float y) const { float u = fmodf(x,1.0f); float v = 1.0f- fmodf(y,1.0f);...
I have a Lua snippet defined like this: ``` "Entity:SetPosition": { "prefix": "Entity:SetPosition", "description": "Sets the position of an entity in 3-dimensional space, using local or global coordinates.", "body": [...
The output messages in OpenALsoft are really excessive. How can I disable this?
We like BC5 compression for normal maps, but our glTF exporter requires uncompressed RGBA images for the PNG/JPEG textures. There is an extension by Microsoft that adds DDS file support,...
Using this command line and the Khronos sample HDR: ``` cli.exe -inputPath footprint_court.hdr -distribution Lambertian -outCubeMap diffuse.ktx2 -outLUT lut_lambertian.png ``` The outputted lookup table is pure black:  Is this...
I have a launch.json file like this: ``` "version": "0.2.0", "configurations": [ { "name": "launch-lua", "type": "lua", "request": "launch", "workingDirectory": "${workspaceRoot}", "sourceBasePath": "${workspaceRoot}", "executable": "${workspaceRoot}/Engine_d.exe", "arguments": "-script \\\"${file}\\\"", "listenPublicly": false,...
Is it possible to manually change the position of an agent without navigation? This would be useful for handling characters that are not using navigation, or are being controlled on...
Thanks for everything, Mark!
I am having trouble getting tables to recognize that different STL shared pointers to the same object are the same object: ```lua -- This will not remove the key self.manager.zombies[self]...