Unanswered Questions
8
votes
0answers
130 views
How can I implement lights & shadows in a multi-layer 2d tilemap?
I am in the process of writing an isometric game from scratch, and I'd like to know how/if I can add lights and shadows.
The code I have so far can be found here, but it should be enough to know that ...
7
votes
0answers
243 views
Ogre PSSM Grass Receiving Shadows
So I made the switch to Ogre3D (v1.7) and using PagedGeometry. What I'm trying to do is make a simple scene with a terrain, some trees and grasses. In a nutshell, I would like to achieve this kind of ...
7
votes
1answer
1k views
How to occlude lights in Unity3D?
First off, I own Unity Pro.
I've been looking in to occluding lights when they aren't being viewed for a while now to improve performance. The main methods I ran in to were using BecameVisible() and ...
6
votes
0answers
313 views
Strange SSAO effect (wrong position/normal textures in view space?)
I try to create an SSAO effect in my game engine (DirectX 11, C++), based mainly on gamedev.net tutorial by José María Méndez. Unfortunately, it doesn't cover texture-creating problem (normals, ...
6
votes
2answers
4k views
Unity: how to apply programmatical changes to the Terrain SplatPrototype?
I have a script to which I add a Terrain object (I drag and drop the terrain in the public Terrain field).
The Terrain is already setup in Unity to have 2 PaintTextures: 1 is a Square (set up with a ...
6
votes
1answer
272 views
Why does accessing a uniform float make my shader more than twice as slow?
My fragment shader was significantly slowed down by a recent change, and I've been trying to understand why.
I isolated the main slow-down to accessing a single particular uniform float. If I include ...
5
votes
0answers
86 views
Orbits: Combine the Pros of RK4, Symplectic Euler, and Verlet Velocity Integrator
Recently, I've implemented and compared a number of basic integrators for my physics engine. The 3 that gave me the best results are RK4, Symplectic Euler, and Verlet Velocity, but I think I need ...
5
votes
1answer
174 views
Creating a Melee Weapon in Box2D (libGDX)
I am struggling with how to implement a melee weapon that can swing when a key is pressed.
I am imagining two different attacks (stab and swing)
I have tried creating two fixtures (character + ...
5
votes
0answers
328 views
Variance shadow maps don't want to render properly
I've implemented VSM (and also ESM) in my engine but results are for me not as I expected and saw in many examples published on network.
I set filtering of shadow maps to GL_LINEAR but when I compare ...
5
votes
2answers
674 views
Unity3d. Overlay of clothes on a human model
I have:
Clothes model (jackets, shirts, sweater etc. with various
sizes,colors)
Human model with dynamic height, width, position
Need overlay the clothes' model onto a human model.
Variant with ...
5
votes
1answer
251 views
How can I convert OBJ data into CSS3D transformations?
I want to convert the data in a 3D .obj file (vertices, normals, faces) to CSS3D (width, height, rotateX,Y,Z and/or similar transforms). I found a bunch of formulae and what-not, but 3D isn't my ...
4
votes
1answer
75 views
What is adaptive super-sampling?
I'm trying to implement anti-aliasing into a raytracer with super-sampling.
What exactly is adaptive super sampling? I'm picturing it as just sampling all of the pixels which are on the edge of each ...
4
votes
1answer
409 views
Skeletal animation in OpenGL
I'm using Assimp to do skeletal animation in my OpenGL application.
I used Blender to export this one-boned model to a COLLADA file:
The model has only one bone, called arm bone, that controls the ...
4
votes
1answer
979 views
Unity3D [C#]: How do I use a custom inspector to expose an array of polymorphic objects to edit?
[EDIT: based on some feedback, I pruned the example down to the base functionality of the bug we are trying to solve. The description below remains accurate, but the repro has been shortened to:
...
4
votes
1answer
549 views
Change the shape of body dynamically
I have a problem where i have a ballon which i need to continuously inflate and defalte in update method, I have tried to used setScaleCenter but it is not giving desired result.
Below is a code i am ...