Created new ParallaxMap effect for Construct 3. Check it out, includes an example: construct.net/en/make-games/addons/223/parallaxmap
Based on learnopengl.com/Advanced-Lighting/Parallax-Mapping and alanzucconi.com
If you do something with, please share a pic.
R0J0hound Ashley Gigatron
Question for effect experts, I needed to include a depth map with the sprite texture. I did not want to do what I have done in the past and have two separate sprites (one 'base' sprite and one 'effect' sprite and layer them on top of each other, which you need to manage separately and make sure Z order is consistent. Like what was done with normalmap effects.) In this case, I added the depthmap into the sprite base animation, appended to the right and then used offsets and range checks to get the depthmap and to not 'render' the depth map. This works and feels about as performant as two sprites on top of each other, but more manageable (once the base+depth image is created.) Are there other 'better' ways to do this? Is there any way to access another texture beyond the current active animation frame (e.g. front sampler?) Other ideas?