Jump to content

  • Log In with Google      Sign In   
  • Create Account

Medo3337

Member Since 24 Apr 2012
Offline Last Active Dec 18 2014 03:03 PM

Topics I've Started

HDR Rendering

20 November 2014 - 07:17 AM

I'm trying to implement HDR, according to my understanding:

 

- Render the scene to D3DFMT_A16B16G16R16F texture

- Apply bloom effect

- Apply tone mapping

- Render the final scene (Fullscreen Quad)

 

The bloom effect is working perfectly.

 

How do I apply tone mapping?


Soft Particles and Alpha Blending

20 November 2014 - 06:50 AM

Hi guys,

 

The soft particles is only working correctly with non-transparent meshes.

 

How do I make the soft particles work with alpha blending (transparent meshes)?


Rotating Weapon Gradually To Look at Target Point

02 July 2014 - 06:35 PM

I have a weapon mesh, how do I make it rotate GRADUALLY to look at the player (target)?

 

I want to update pitch, yaw, roll gradually and find out when the rotation is done.


Muzzle Flash Billboard

01 July 2014 - 11:56 PM

When the enemy shoot, the player should see the muzzle flash, which is usually a billboard

 

However, the player could see his friend firing and he look at the muzzle flash from the side

 

I want the muzzle flash to look like this if the player is looking at it from the front:

Attached File  front.jpg   69.95KB   2 downloads

 

and like this if the player is looking from the sides:

Attached File  side.jpg   10.79KB   2 downloads

 

I think it can be done using Pixel Shader, but I'm not sure how.


Getting Plane Vertices

14 June 2014 - 04:59 AM

I'm trying to draw a plane, I have the plane normal vector and the distance as the following:

struct Plane
{
         D3DXVECTOR3 Normal;
         float Distance;
};

How do I get the plane vertices position?


PARTNERS