Lasse Öörni
|
03043038a0
Visualize camera as a frustum. Do not draw debug geometry in the editor's camera preview.
|
vor 12 Jahren |
Lasse Öörni
|
4bd2eb0356
Refactoring of Drawable::IsInView() functions and drawable view tracking.
|
vor 12 Jahren |
Lasse Öörni
|
bfd968f9d7
Removed the base batch / non-base batch separation from BatchGroup. This is only needed for light queues, so rather have LightBatchQueue have separate queues for base & non-base.
|
vor 12 Jahren |
Lasse Öörni
|
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
|
vor 12 Jahren |
Lasse Öörni
|
e44e3f7652
Only signal work items that have specified or higher priority in WorkQueue::Complete(), to prevent lower priority work item events triggering when they shouldn't (in the middle of render update.) Set explicit max priority in Octree & View items, but leave default priority to the lowest for user items. Removed a static variable from WorkQueue::PurgePool().
|
vor 12 Jahren |
Alex Parlett
|
e8abdfc366
Added Pool for WorkItem SharedPtrs to save allocation every frame. Its an optional construct to allow the user to create their own pools or not use the pool if they so desire.
|
vor 12 Jahren |
Alex Parlett
|
51a1e84248
Changed WorkQueue to use a List<SharedPtr<WorkItem> > and ensure that it doesn't contain duplicates.
|
vor 12 Jahren |
Lasse Öörni
|
0c4466d3f3
Optimized away going through renderpath commands just to find the litbase-flag.
|
vor 12 Jahren |
Lasse Öörni
|
809efdb4c6
Added the concept of persistent target in renderpath, which are not mixed in the rendertarget pool with other textures of same size & format. Used for the AutoExposure previous frame luminance.
|
vor 12 Jahren |
Lasse Öörni
|
f0501cbeae
Fixed Blur postprocess effect XML. Fixed View spamming the log with attempts to get an empty quad shader after failing to get the proper shaders once.
|
vor 12 Jahren |
Lasse Öörni
|
45003707c0
Fixed substituteRenderTarget_ possibly being uninitialized.
|
vor 12 Jahren |
Lasse Öörni
|
dc5f4a1834
Merge branch 'master' into shader-refactor
|
vor 12 Jahren |
Lasse Öörni
|
0610520768
Quads that don't read the viewport should not begin the pingpong chain. Fixes #167.
|
vor 12 Jahren |
Lasse Öörni
|
c3c177525d
Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166.
|
vor 12 Jahren |
Lasse Öörni
|
3e14caf89e
Load/save cached binary HLSL shaders. Report SM3 supported on OpenGL to simplify code.
|
vor 12 Jahren |
Lasse Öörni
|
782c3ac54e
Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166.
|
vor 12 Jahren |
Lasse Öörni
|
db713bdba2
Avoid string allocations during View::Define() and Renderer::GetShader().
|
vor 12 Jahren |
Lasse Öörni
|
07f06563bc
Optimized Renderer::GetShader() so that caching shader variation pointers becomes unnecessary for the most part.
|
vor 12 Jahren |
Lasse Öörni
|
ea334e4393
Merge branch 'master' into shader-refactor
|
vor 12 Jahren |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
vor 12 Jahren |
Lasse Öörni
|
e0f391b0fc
Started shader refactoring.
|
vor 12 Jahren |
Lasse Öörni
|
c6b906a822
Distinguish between cube/3D textures in renderpath commands by the texture unit.
|
vor 12 Jahren |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
vor 12 Jahren |
Lasse Öörni
|
d723bef62b
On OpenGL ES 2.0, create depth renderbuffers in explicit GL_DEPTH_COMPONENT16 format, as GL_DEPTH_COMPONENT is unsupported on some devices. Possibly a fix for #140.
|
vor 12 Jahren |
Lasse Öörni
|
030f890ed5
Further fixes and optimizations to View render target pingpong handling. Update Material memory use when modified programmatically.
|
vor 12 Jahren |
Lasse Öörni
|
3718b3dc29
Set currentRenderTarget for safety in case the renderpath has no commands.
|
vor 12 Jahren |
Lasse Öörni
|
4aeeefdd38
Safety check to skip renderpath commands with no output names, could cause out-of-bounds indexing.
|
vor 12 Jahren |
Lasse Öörni
|
30455bfba2
Rewrote viewport resolve / pingpong logic in View. Optimizes away unnecessary framebuffer copies and fixes #138.
|
vor 12 Jahren |
Lasse Öörni
|
cadb503976
Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material.
|
vor 12 Jahren |
Lasse Öörni
|
f9a6235f47
Added "refract" pass to default renderpaths. This has the rendered scene so far (opaque + sky) available in the environment texture unit.
|
vor 12 Jahren |