Quantcast
Channel: Recent Commits to mojoshader:main
Viewing all articles
Browse latest Browse all 350

- Add ability to build MojoShader as a shared library

$
0
0
- Add ability to build MojoShader as a shared library
- Off by default, turn on BUILD_SHARED in CMake
- Add ability to disable shader profiles from CMake
- Add MOJOSHADER_glSetVertexAttribDivisor
- Behaves like glSetVertexAttribute, but for glVertexAttribDivisor
- Add MOJOSHADER_glGetVertexAttribLocation
- Allows user to directly call glVertexAttribPointer in their program
- Full Effect framework support
- API is in a separate header, see mojoshader_effects.h for details
- Off by default, turn on EFFECT_SUPPORT in CMake
- #define MOJOSHADER_EFFECT_SUPPORT before including mojoshader.h
- Add MOJOSHADER_PROFILE_GLSLES shader profile
- Basically just GLSL120 without using builtins
- Add ability to flip gl_Position via MOJOSHADER_glProgramViewportFlip
- You probably shouldn't use this unless you're a project like FNA.
- Off by default, turn on FLIP_VIEWPORT in CMake
- #define MOJOSHADER_FLIP_RENDERTARGET before including mojoshader.h
- Add ability to adjust Z coordinates for [0, 1]-like depth clipping
- You probably shouldn't use this unless you're a project like FNA.
- Off by default, turn on DEPTH_CLIPPING in CMake
- Add ability to build MojoShader with XNA4 vertex texturing behavior
- You probably shouldn't use this unless you're reimplementing XNA.
- Off by default, turn on XNA4_VERTEXTEXTURE in CMake
- Add DECLSPEC/MOJOSHADERCALL to functions/function pointers
- This allows for easier interop with other languages, i.e. C# P/Invoke
- Fix printing float values for locales where radix is not '.'
- Various minor bugfixes, optimizations, Win32 buildfixes, etc.

Viewing all articles
Browse latest Browse all 350

Trending Articles