Python Forum
Creating shadow in OpenGL with normal?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating shadow in OpenGL with normal?
#1
The basic shadowmap algorithm consists in two passes. First, the scene is rendered from the point of view of the light. Only the depth of each fragment is computed. Next, the scene is rendered as usual, but with an extra test to see it the current fragment is in the shadow.
But what I want to do is using the object normal to create shadow ,instead of the above shadow mapping algorithm,how do I do it?
my code here
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame with OpenGL on RPI Zero without X: invalid operation aserranoh 0 1,439 Mar-20-2022, 09:49 PM
Last Post: aserranoh
  Scipy kolmogorov smirnov test for evaluating the fitting of a non-normal distribution mcva 0 1,992 May-26-2020, 12:01 PM
Last Post: mcva
  How to create shadow between two colours and control a line after we trace it? CrazyPythonNerd 0 2,115 Mar-06-2019, 01:31 PM
Last Post: CrazyPythonNerd
  Is this a normal/benign make test error when building python3.6 sofuego 2 3,529 Feb-12-2018, 12:32 AM
Last Post: sofuego
  integrating ironpython application with normal C# wpf braveYug 2 7,350 Nov-09-2017, 06:38 AM
Last Post: braveYug
  how to destroy or remove object rendered with opengl from the screen? hsunteik 1 7,057 Apr-09-2017, 01:30 PM
Last Post: hsunteik
  NullFunctionError in opengl hsunteik 2 4,090 Apr-04-2017, 07:29 AM
Last Post: hsunteik
  Traditional OpenGL vs GLSL? hsunteik 2 4,078 Mar-27-2017, 03:54 PM
Last Post: nilamo
  How to set the window icon with OpenGL GLUT hsunteik 3 6,270 Mar-19-2017, 11:53 AM
Last Post: Larz60+
  NullFunctionError opengl glutInit hsunteik 3 12,417 Mar-18-2017, 10:25 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020