Commit Graph

903 Commits

Author SHA1 Message Date
rdb 8998fef903 Merge branch 'master' of github.com:panda3d/panda3d 2015-02-09 16:53:45 +01:00
rdb e9a64736a3 Fix 32-bit Windows compilation issues with Eigen 2015-02-09 16:51:59 +01:00
rdb bcf0229978 Expose p3d_ClipPlane array to GLSL 2015-02-09 15:57:47 +01:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb dad8f79e96 Support using setShaderInput with a light to bind to GLSL struct 2015-02-08 01:42:11 +01:00
rdb 028c09add5 Implicit cast string to InternalName in c++, also optimize for string literals 2015-02-07 16:43:25 +01:00
rdb 3bf2a0f814 Proper unbinding of GLSL matrix attribute arrays 2015-02-05 13:27:35 +01:00
rdb 6b10409890 Fix add_consecutive_vertices / show_bounds crash 2015-02-03 17:18:58 +01:00
rdb 987ba2083b Use notify-level-shader instead of gobj for shader logging 2015-02-02 19:03:14 +01:00
rdb 3b1bd9ef39 This fixes most issues with Cg's GLSL profiles on non-NVIDIA cards 2015-02-02 16:31:23 +01:00
rdb 13fb8079ec Better shader caching, GLSL "#pragma include" support, better error reporting 2015-02-01 17:52:52 +01:00
rdb 9b2e322f29 Display better error when encountering invalid prim index 2015-02-01 17:41:55 +01:00
rdb a56f722c09 GeomPrimitive optimizations & tweaks 2015-01-23 13:54:29 +01:00
rdb 77c9e6cf6c Add support for instance arrays via vertex attrib divisors 2015-01-22 17:04:25 +01:00
rdb 142bd6a021 Remove old MLightVector TexGen mode and FFP-based normal mapping 2015-01-22 12:26:22 +01:00
rdb a7f7d54f10 Support vertex attributes with matrix type 2015-01-19 00:16:59 +01:00
rdb b9899ba747 Cull improvements: tighter sphere generation 2015-01-08 23:17:06 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb 9c3553b3fc Add r8i, rg8i, rgb8i, rgba8i to switches it's missing from 2014-12-30 11:39:40 +01:00
tzaeru 9c137426e3 Integer texture formats for 8-bit R, RG, RGB and RGBA channels 2014-12-22 21:18:34 +01:00
rdb cd8c6ee37f fix compile error on gcc/clang 2014-12-21 14:26:06 +01:00
rdb 01b669ccd8 Implement texture clear, fix immutable tex support 2014-12-21 14:13:49 +01:00
rdb 89031b4e48 Fix mipmapping with sampler state 2014-12-12 20:27:08 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 3fbdc43fbb Fix compile errors with clang 2014-12-06 22:38:40 +01:00
rdb 1082e75d87 Fix more compiler warnings 2014-11-20 00:22:06 +00:00
rdb d7b21c9aeb Replace assert with more helpful error 2014-10-27 15:18:49 +00:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb ab8ebe6e30 Fix issues with point rendering, both software and hardware. 2014-10-11 01:28:32 +00:00
rdb 902bedc314 Fix Python 3 crash on Windows, and fix some Python 3-related compile errors 2014-10-10 13:45:05 +00:00
rdb e7c08ec2fe Fix some errors with shader object labels 2014-10-03 12:21:59 +00:00
rdb 24386cdc1e Use a table to make InternalName::make more efficient for Python interned strings 2014-10-02 18:28:06 +00:00
rdb a25a9e655e Support strip cut indices and (using those) support direct rendering of linestrips in OpenGL 2014-09-25 00:16:44 +00:00
rdb db0fd516a0 Add GPU profiling capabilities to PStats using OpenGL timer queries 2014-09-24 23:53:37 +00:00
rdb 87910799b6 Split off epvector.h into its own file in an attempt to cut down compilation time 2014-09-14 22:04:36 +00:00
rdb 340169c80c Add load_sub_image 2014-09-13 19:49:17 +00:00
rdb bb7a6a3ec4 Fix broken convergence distance calculation, adding a configuration variable to restore the old behavior if needed. 2014-08-20 20:24:13 +00:00
rdb 29cfc2b778 Correct CPU mipmap generation for sRGB textures 2014-07-19 16:47:57 +00:00
rdb b60fce49b5 Support generating mipmaps for 32-bit float textures 2014-07-18 18:23:29 +00:00
rdb 0ef51b8723 Support for integer vertex attributes in GLSL 2014-07-18 15:39:49 +00:00
rdb 4856804938 Add shininess shader input 2014-07-18 14:21:45 +00:00
rdb de54dda8c1 Add convenience methods to turn geometry into patches 2014-07-13 17:09:14 +00:00
rdb ce88a95ddc dump-generated-shaders should truncate file when writing 2014-07-13 15:00:22 +00:00
rdb dda0d9c15f check in 32-bit float texture formats 2014-07-07 19:49:25 +00:00
rdb 6e64ff951c Add support for passing int arrays and vectors to GLSL shaders. 2014-07-03 21:54:45 +00:00
rdb 0e1f261ca5 Add F_r32i texture format (useful for atomic image writes from shaders) 2014-07-03 17:39:53 +00:00
rdb ce6f243019 Clean up glShaderContext, separate GLSL shader context from Cg shader context 2014-06-29 08:28:16 +00:00
rdb c9e00acd4b Check in cg-glsl-version variable. 2014-06-19 21:39:08 +00:00
rdb 39a321d0ba Compute shader support under OpenGL :-) 2014-06-19 21:29:35 +00:00
rdb 601922e49e sRGB texture support, add floating-point flags to FrameBufferProperties 2014-06-19 19:32:03 +00:00