Показаны сообщения с ярлыком pixel shader. Показать все сообщения
Показаны сообщения с ярлыком pixel shader. Показать все сообщения

воскресенье, 28 сентября 2014 г.

вторник, 11 июня 2013 г.

Small optimization trick for heavy shaders

As you may know depth buffers allows to draw 3d objects in any order and they will appear correctly - closer one will obscure farther one. But draw order is important anyway. For example, consider a scene where you're drawing from back to front. You draw an object, it passes the depth test for particular pixel and that means that pixel shader will be executed for this pixel. Next you draw another object. But since our order from back to front, this object will pass depth test and pixel shader will be executed again. Ans so on...

вторник, 1 января 2013 г.

пятница, 11 мая 2012 г.

Stage3D DisplacementMapFilter

Hi. Today I want to show how to achieve famous 'displacement map filter effect' using AGAL. This effect can be done as postprocess so there can be infinetely many sources of space distortions. Be careful - there's a huge number of word 'DISPLACEMENT' in the text.