rdb
dad8f79e96
Support using setShaderInput with a light to bind to GLSL struct
2015-02-08 01:42:11 +01:00
rdb
13fb8079ec
Better shader caching, GLSL "#pragma include" support, better error reporting
2015-02-01 17:52:52 +01:00
rdb
7ba0469148
Shader generation should be done in cull, not in draw
2015-01-23 15:03:50 +01:00
rdb
0ad0d4ec33
Further optimizations to the cull pipeline.
...
The only transform still stored in CullableObject is internal transform.
NB: I haven't tested my PipeOcclusionCullTraverser changes. Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +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
tobspr
0358abfc0e
Added clear_dispatches() to ComputeNode
...
Signed-off-by: rdb <git@rdb.name>
2014-12-06 14:35:20 +01: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
bce1f2dd5a
Commit patch by Technologicat (closes LP #1214782 )
2014-09-26 15:17:14 +00:00
rdb
89b824597c
fix LP bug 1219422: fix ShaderGenerator errors when LightRampAttrib is in use but no diffuse is present
2014-09-16 13:25:18 +00:00
rdb
67a289fe4a
Shader generator should use float3 for normals, not float4
2014-07-18 14:34:24 +00:00
rdb
756cc27589
Fix date
2014-06-25 08:36:41 +00:00
rdb
ef9f985406
Add ComputeNode to Sources.pp
2014-06-19 23:30:58 +00:00
rdb
633bbbafce
Fix for MSVC compile issue
2014-06-19 21:56:59 +00:00
rdb
39a321d0ba
Compute shader support under OpenGL :-)
2014-06-19 21:29:35 +00:00
rdb
33f4aa520d
Normal maps should affect aux normal even without lighting
2014-03-04 08:29:32 +00:00
rdb
2ae458c2df
Fix a bug with tangents and binormals
2014-02-20 12:37:08 +00:00
rdb
4da840805f
Add support for k_time / osg_FrameTime inputs, and change the Shader Generator not to require a separate texcoord set for every texture in an effort to cut down on register overuse.
2014-02-10 11:32:06 +00:00
rdb
849dc05a60
Fix blunder
2014-01-13 22:06:47 +00:00
rdb
56577ec08a
Don't rely on color fregs, they have unintended side-effects. Also, don't use up unnecessary registers when texgen is enabled.
2014-01-13 21:31:42 +00:00
rdb
b781547956
a tiny optimisation to use less registers
2014-01-11 15:06:22 +00:00
rdb
1b129d905d
lod config vars should be defined in pgraphnodes, not pgraph
2013-08-27 21:37:10 +00:00
rdb
a585faa807
Add UvScrollNode::_w_speed
2013-08-24 19:29:13 +00:00
rdb
d489f68115
Add support for 2D texture arrays to ShaderGenerator and BufferViewer (actual render-to-texture-array functionality to come)
2013-08-12 09:18:24 +00:00
rdb
9901dee2c2
support ADD_SIGNED combine mode in shader generator
2013-07-29 09:12:03 +00:00
rdb
67fda9f0c1
Add LightLensNode::get_shadow_buffer
2013-03-07 13:29:15 +00:00
rdb
6fde10f9d1
write render state info to generated shader as comment. also fix a switch with missing breaks
2013-02-12 15:28:17 +00:00
rdb
f9b4dad6f9
Eye normals weren't being normalised when lighting was disabled
2013-02-12 14:30:38 +00:00
rdb
19cb1e5230
Commit Camera::set_lod_scale patch by Josh Enes
2012-10-19 15:25:48 +00:00
David Rose
e9053ff910
support GLSL tessellation shaders
2012-04-27 20:29:47 +00:00
David Rose
9a93914d58
properly support a different coordinate system per camera (or lens)
2012-03-14 20:51:58 +00:00
rdb
252b7bc656
fix type-oh
2012-03-12 18:57:46 +00:00
rdb
5e7fb20065
fix issue introduced by CMU students (bless them)
2012-03-12 09:12:31 +00:00
rdb
949395a4cc
Add normal_gloss texture mode (requested by wezu)
2012-02-13 08:35:52 +00:00
rdb
44db7716df
use fregs on shadow coordinates, maybe this'll fix some of the shadow-related issues
2012-01-15 21:27:03 +00:00
David Rose
1a4f42706b
remove a few epvectors
2011-12-19 18:16:30 +00:00
David Rose
c5c21a566a
UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32
2011-12-18 16:30:31 +00:00
David Rose
dfe16c64f6
rename all Panda-built libraries to begin with libp3 or libpanda
2011-12-06 02:39:21 +00:00
David Rose
501470169f
stdfloat_double
2011-10-10 05:25:10 +00:00
rdb
58124af9f5
add fog support to shader generator
2011-10-08 13:27:40 +00:00
David Rose
cd79af53fe
dx9 shader support from zhao
2011-09-28 18:42:58 +00:00
David Rose
4603b5f652
disallow negative indices for SwitchNode
2011-08-16 13:39:13 +00:00
David Rose
0cf03bc158
untabify
2011-06-29 22:09:10 +00:00
David Rose
87ebb4f32c
fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings
2011-06-17 18:57:04 +00:00
David Rose
e58cd23fd8
spam output
2011-06-13 16:13:50 +00:00
David Rose
44375f019d
explicit occlusion culling support from community member teedee, with additional enhancements by drwr
2011-03-18 01:56:09 +00:00
Mike Christel
671276fa6d
Fixed bug with textures in synthesize_shader (case TextureStage::M_modulate): separate textures formatted as alpha were wiping the color info off the resulting rgb
2010-04-16 18:50:32 +00:00
Mike Christel
c308b57137
Overload added to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off
2010-04-16 14:06:26 +00:00
David Rose
f7b9b5144d
whoops, forgot too
2010-04-07 22:26:54 +00:00
David Rose
31fd59476a
migrate UvScrollNode -> pgraphnodes
2010-04-07 22:02:31 +00:00
Zachary Pavlov
ad4056cf6c
oops, missed one
2010-02-19 22:02:07 +00:00